I guess you want to skip the " - " in case the PAGE_TITLE is empty.haggisv wrote:That works perfectly for all pages, except that the home page now has a "- " in front of the title, which does not look right.
Code: Select all
<title><!-- IF PAGE_TITLE -->{PAGE_TITLE} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{SITENAME}</title>
Perfect!!! Thank you so much HGN, I owe you one!HGN wrote:I guess you want to skip the " - " in case the PAGE_TITLE is empty.haggisv wrote:That works perfectly for all pages, except that the home page now has a "- " in front of the title, which does not look right.
Use this:Code: Select all
<title><!-- IF PAGE_TITLE -->{PAGE_TITLE} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{SITENAME}</title>