Hello,
Not sure if I'm wording this right, so I apologize.
I've got categories assigned to pages. When I click on a category name like this: http://beta.menashalibrary.org/taxonomy/term/1
The very top item has the taxonomy title displayed, but none of the items under that have their title displayed. Is this something that's set in the template?
I looked in node.tpl.php, and added in <?php print $title ?> and that did fix it, but then every other page displays the title twice.
Any ideas?
Jody
You want to print it conditionally based on the page variable
Something like this
<?php if ($page == 0) { ?><h2 class="title"><?php print $title?></h2><?php }; ?>
Or as link, like this
<?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
Hello,
You want to print it conditionally based on the page variable
Something like this
<?php if ($page == 0) { ?><h2 class="title"><?php print
$title?></h2><?php }; ?>
Or as link, like this
<?php if ($page == 0) { ?><h2 class="title"><a href="<?php print
$node_url?>"><?php print $title?></a></h2><?php }; ?>
Thank you!!!
That worked fantastically.
- jody