Active
Project:
MultiFlex theme
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2006 at 17:02 UTC
Updated:
14 Jan 2007 at 17:21 UTC
Jump to comment: Most recent
How do I remove the double title in the theme? Each node has two titles: a nice title and a linked title, but it is redundant and confusing to link back to the same page you are reading. I tried removing the linked title from the node.tpl.php, but this also removes the link from the teasers when viewing a category of articles.
Comments
Comment #1
Anonymous (not verified) commentedI compared the node.tpl.php for multiflex with the node template from another theme and found two lines of code that needed to be added to make the appearance of the second title conditional. Find:
And add this line right before:
<?php if ($page == 0): ?>And this line right after:
<?php endif; ?>Once I added these, the problem was solved.
Comment #2
PipSqueak commentedThanks Dan, that works! :)