Jump to content

Recommended Posts

I am using the below to target a cms page so that a bit of script is only shown on that page.  This always works great on the 'standard' theme but on the default mobile theme shipped with PS 1.5, there seems to be a problem.  The page doesn't always seem to know what page it is on and so is not loading the correct content.  I notice too that the body id i snot updated from idex to cms as it should be.

 

The code I am using is:  {if $smarty.get.id_cms == 8 || $smarty.get.id_cms == 7}

 

If I refresh the page then the content shows correctly, but if I navigate to that page from the homepage, then the body id remains index not cms and the page specific content is not shown

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...