Code Library: Page Vars

put in custom PHP files; (case-sensitive). E.g if($_PAGE['page']=='contact') $_PAGE['description']='Contact us on 0800 888 777';
put in HTML templates as a Smart Tag e.g. {{ if {$_PAGE[category]=='Shoes'} ... }}

Page Vars  Description Result
Current page category
Current page css (array) array ( '/css/default.css?38559' => 'all', '/template/style.css?22589' => 'all', )
Current page custom_head
Current page meta description, (you can also set keywords meta with $_PAGE[keywords]) The Vendo Code Library lists all variables that can be implemented within your HTML templates and PHP files.
Current page javascript (array) array ( 0 => '/js/global.js', 1 => '/template/javascript.js', 2 => '/template/javascript.js', 3 => '/js/global_events.js?67064', )
Current page ID code-library
Current page path
Current page section about
Current page subcategory
Current page subsection layout
Current page subsubcategory
Current page subsubsection code-library
Current page subsubsubsection
Current page title Code Library: Page Vars
Current page URI /code-library/?t=2

Customer Comments

Hi there, they loved it! I am now giving them the biscuits for their daytime feeds and only using wet food in the morning as they are still so young (7weeks today). I am thrilled with the price. I've heard about your cat line as well and am spreading the word.
Thanks for the samples, very welcome!
thanks again,

Jo, Stanmore Bay

View all customer comments...

 
×
Log in
 
 
 
×
Log in