Jump to content

$Page_Id - Is It Possible?


perusi

Recommended Posts

Hi,

 

Currently i`m using this line of code to display something only in the index page:

 

{if $page_name == "index"}

 

My question is: What's the code to display something only from a certain category page, like accesorries?

 

The Accessories page has ID number 4, so what line of code should i use..? something like

{if $page_id == "4"}

???

 

I tried, but it's not working...

 

I want to use it so... that i display something different in every different categ....

 

thanks

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