|
Documentation Framework API Reference
|
Previous: Partial Date Functions
Next: Session Variables
JoomlaCompatibilitystring Template_Name The first parameter is the name of the template to use. The template files should be in a subdirectory of your app's "templates" directory, and that subdirectory should have the same name as the template. The second parameter, which defaults to blank, is assigned to $GLOBALS['template_color']. Other actions of this program are:
The universal dispatcher, index_hidden, looks for the defined constant _VALID_MOS, and if found it uses the named Joomla template instead of an Andromeda template. It also exposes the necessary global variables that were defined above. The compatibility layer provides a handful of functions to emulate the functions used by Joomla. The most important function is mosMainBody, which calls directly to ehStandardContent. The other functions tend toward being more placeholders. When you use a Joomla template, there are a handful of tasks that must be performed:
Previous: Partial Date Functions
Next: Session Variables
|
