Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
How do I access XTE variable from an included php file?
  • Posted: 29.11.2004, 00:33
     
    xephon
    rank:
    Freshman Freshman
    registered:
     January 2003
    Status:
    offline
    last visit:
    16.04.05
    Posts:
    26
    I trying to port my old theme to the new version of PostNuke, and now the templates have all changed.

    I need to know how to access the XTE variables (the ) from within an included PHP file.

    Just to explain i need some PHP code to run the assigned background for each of my blocks. The background used to be determined by PHP code that would read the $block['bid'] variable then set the appropriate background for each block.

    but now that it has change to Smarty code, and i cannot get the PHP tags to work for some reason, i have to include PHP files in my Smarty template files.

    but when i do that i cannot seem to access the Smarty variables i need to access for the PHP script to set the background.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula