I have a question v2.1
I was using this check:
{if $content_tpl == “views/index/index.tpl”}
thinking that would be the homepage view to code some specific items into the tpl files - but this is the results for the search page and probably a few others - anyone know what i need to check for - used the debug template - but dont see anything that specificially identifies the homepage over the other pages
Thanks
The one thing unique to the homepage is that is doesn’t have a query string. The second you add a query string it parses a different page. So the home page will either be just the domain or the domain + index.php.
for home pages this seems to works:
{if $smarty.request.dispatch==‘index.index’}
{if $controller == ‘index’}