Webmastersite.net
Register Log In

"Showing wrapper content for one area only "

Title "Showing wrapper content for one area only "
Description This isn't working when the same "word" appears in the tem
Message Text Hey there, As you know, I have a slightly different template for the main.tpl/home page and a different version for all other areas/pages. On my Wrapper I use conditionals to only show a certain portion of the template on the home page.
 <IF {TID} contains main>
stuff meant for only the homepage
</IF>
However, this makes helpmain.tpl load like the front page because it contains the name "main". I didn't want to change the template name in help.php because it will be overwritten on the next upgrade, but for now I'm using it because it's what I have to work with for now. I tried this, but it borked the entire site.
<IF {TID} contains main>
stuff meant for only the homepage
<ELSE IF {TID} contains helpmain>
</IF>
Thanks. this is for reellocations.com btw
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership sparkalina
Views 154 views. Averaging 0 views per day.
Similar Topics
Submission Date May 22, 2011 - 5:35 PM