MODx themes for MODx Revo CMS
  • Welcome to MDxThemes - MODx themes website !
  • Premium high quality Website Modx themes
  • Bootstrap enabled MODx themes
  • HTML5, CSS3, responsive & SEO enabled themes
  • Modx theme Documentation and Support
  • MODx theme tutorials on building a website with MODx CMS.
  • Fast, super easy & powerful theme management system.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: longtitle variable

longtitle variable 4 years 7 months ago #147

Hello,
Could someone please advise as to where the variable 'longtitle' is called into a page? I wish to prevent it displaying on some pages.
thanks
The administrator has disabled public write access.

longtitle variable 4 years 7 months ago #148

The title code is in chunk "mdx_template_LMR"
If you leave the long title empty it wont display the title on that page.

By default if the long title is empty it wont display anything. Below is the longtitle code.
[[*longtitle:notempty=` <h1 class="title" itemprop="name">[[*longtitle]]</h1>`]]
The administrator has disabled public write access.

longtitle variable 4 years 7 months ago #149

Thanks for the quick response Mangesh. Leaving it blank means that I don't get the SEO advantages unfortunately, so I am looking for a different solution. At least I now where it is coming from now :-)

Thanks for the info.
The administrator has disabled public write access.

longtitle variable 4 years 7 months ago #150

You can create a new chunk and load it in main top or content top position. You can also place any SEO related tags or custom tags as needed.
The administrator has disabled public write access.

longtitle variable 4 years 7 months ago #151

Where is the h1 title class called.

I am trying to change the way it is the long title is displayed, and nothing seems to work. Even tried making a new class
h1.jbm {
    font-size: 10pt;
     color: #333333;
}
 
h2.jbm {
   font-size: 16pt;
}

for both the h1 and h2 tags, but nothing seems to change the font size.
The administrator has disabled public write access.

longtitle variable 4 years 7 months ago #152

tried this as well
[[*longtitle:notempty=` <h1 style="color: #333333; font-size: 10pt;" itemprop="name" >[[*longtitle]]</h1>`]]

nothing seems to change the size of the h1.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2