Member
Member
mercury66   10-10-2009, 11:36
#1

Hello,

Working with zenpage and looking at page.php - how might I get a page (a page.php) to load a different css class for the sidebar for a particular page ID?

Basically I want to 'display:none;' the sidebar on one of my zenpage pages.

Hope someone can help.

Thx,
Ewan

Administrator
Administrator
acrylian   10-10-2009, 11:40
#2

The zenpage page for pages is actually pages.php not page.php, just to avoid confusion. The functions to get the id or the page name (the title is not unique, you have to use the titelink!) are listed on the includeded pdf and on our documenation:
http://www.zenphoto.org/documentation/plugins/zenpage/_plugins---zenpage---zenpage-template-functions.php.html#functiongetPageID
http://www.zenphoto.org/documentation/plugins/zenpage/_plugins---zenpage---zenpage-template-functions.php.html#functiongetPageTitleLink

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.