Totally Zenned
- Join Date:
- May 2006
- Location:
- Gardiner, Maine
- Posts:
- 2,383
- Plugin Contributions:
- 7
how to ez pages id for use in php code
I need to be able to assign a specific css class on each ez page. So I need to pull the id number to use in my if statement. I see that the $current_page_base is page so is there something already usable in zen to pull the id number off the string?
The code will go something like this:
if ($current_page_base=='page') {
what is the id number?
}
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo