Searchmarketing.nu Posted April 18, 2012 Share Posted April 18, 2012 Hi, Recently I tried to edit the TMHeaderlinksfile to edit my menu. I followed the instructions as described here: http://info.template...ader-links.html My code looks something like this now: <ul id="tmheaderlinks"> <li><a href="{$link->getPageLink('index.php')}"{if $page_name == 'index'} class="active"{/if}>{l s='home' mod='tmheaderlinks'}</a></li> <li><a href="{$link->getPageLink('prices-drop.php')}"{if $page_name == 'prices-drop'} class="active"{/if}>{l s='specials' mod='tmheaderlinks'}</a></li> <li><a href="{$link->getPageLink('sitemap.php')}"{if $page_name == 'sitemap'} class="active"{/if}>{l s='sitemap' mod='tmheaderlinks'}</a></li> <li><a href="{$link->getPageLink('manufacturer.php')}"{if $page_name == 'manufacturer'} class="active"{/if}>{l s='merken' mod='tmheaderlinks'}</a></li> </ul> I changed the last one (#4). I can't figure out why the menu won't change on the website. Does anybody has a solution? Thanks Link to comment Share on other sites More sharing options...
El Patron Posted April 18, 2012 Share Posted April 18, 2012 ps caches smarty .tpl file. So after you change a .tpl file you should set your force compile to yes and Cache to no http://screencast.com/t/2kdJ8eaSgTn Link to comment Share on other sites More sharing options...
Searchmarketing.nu Posted April 18, 2012 Author Share Posted April 18, 2012 Ah, it works! Thank you! Link to comment Share on other sites More sharing options...
El Patron Posted April 18, 2012 Share Posted April 18, 2012 Ah, it works! Thank you! You are very welcome, make sure to restore those settings after testing. Link to comment Share on other sites More sharing options...
Recommended Posts