How to store a URL parameter (PHP & Smarty)
Bluesboy
Joined: 2007-11-11
Posts: 30 |
Posted: Sat, 2007-12-15 22:13 |
I've a Joomla site, within an iFrame I show Gallery. In order to remove the navigation bar and footer I have add a parameter joomla_iframe to the my URL: http://www.MySite.nl/gallery2/main.php?g2_language=nl&joomla_iframe=ON I've changed theme.tpl: {if ($smarty.get.joomla_iframe == "ON")} This works fine until I click an album or picture and a new pages is shown. The navigationbar is shown again because the new URL does not have joomla_iframe=ON. Therefore I would like to store this value for usage on 'new' pages. How can I do that? I've changed main.php: /* Write out our session data */ But I have not yet succeeded ... {if ($smarty.session.joomla_iframe== "ON")} Nor into: {if ($joomla== "ON")} |
|