Jump to content

Limit code in .tpl files to certain pages


bloggus

Recommended Posts

Is there a way to limit some code in .tpl (header) files for lets say only beeing shown on cms pages or when the shopping cart is shown? Basically in the same way modules can be limited?

 

 

Something like ...

 

{if "showing shopping cart"}

do something

{else}

do something else

{/if}

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...