Support Center

Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 10:37:54 PM
22869 Posts in 5233 Topics by 2978 Members
Latest Member: mini_me
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  jReviews 1.x  |  Tips & tricks  |  Hide page title in the category/section listings « previous next »
Pages: [1]
Author Topic: Hide page title in the category/section listings  (Read 1100 times)
xtreeq
Jr. Member
**
Offline Offline

Posts: 32


WWW
« on: November 01, 2007, 01:47:22 PM »

Well I had a problem that when I was in a category/section the title appeared under the breadcrumb, but since I had the title of the category/section in the breadcrumb I didn't like the duplication and needed to hide the title only on the category/section pages.

In contentlist.html find:
<patTemplate:tmpl name="title" type="simplecondition" requiredvars="page_title" varscope="contentlist">

And change it to:
<patTemplate:tmpl name="title" varscope="contentlist" visibility="hidden">

Then go to jreviews.php and add this condition:
if ( $task != 'listsection' && $task != 'listcategory' ) {
      $tmpl->setAttribute("title","visibility","show");
   }

What you'll have now is that the title will appear on all listing pages exept those of category/section listings.

 
« Last Edit: November 01, 2007, 01:55:38 PM by xtreeq » Logged
Pages: [1]
« previous next »
    Jump to: