Loads the component with HTML before and after the component. This function is the equivalent of:
Loads the modules in the selected position. You can set the module style and HTML to get loaded before and after the position. The function determines whether or not the position has modules before loading preHtml and postHtml.
Creates an array that defines a module position. This function does not actually render a module position. It creates the following array:
This function loads a module position. The $position must first be defined by the position() function.
This function loads an array of module positions defined by the position() function using pre-defined position chrome.
Returns the number of modules in $positions. This is a shortcut for $this->countModules($position)
Returns a 1 if the position has modules or a 0 if the position does not have modules.
Setting $style in the modules() function is optional and defaults to "raw". You can override the default with this function.
If there is a message in the buffer, it loads the message with $preHtml before and $postHtml after the message is rendered. The function determines whether or not there is a message in the buffer before rendering $preHtml and $postHtml.
Includes '$filename' from the primary theme directory. If '$filename' does not exist in the primary theme directory, this function attempts to load the file from the core theme directory. If the file does not exist in the core theme directory, nothing is loaded. This function is the same as calling get_file($filename). Note that you must include the file extension with the filename.
This function is the same as getFile(). The purpose of this function is to provide an equivalent to the 'get_file()' function in Wordpress themes.
Includes 'sidebar.php' from the primary theme directory. If 'sidebar.php' does not exist in the primary theme directory, this function attempts to load the file from the core theme directory. If the file does not exist in the core theme directory, nothing is loaded. This function is the same as calling getFile('sidebar.php')
This function is the same as getSidebar(). The purpose of this function is to provide an equivalent to the 'get_sidebar()' function in Wordpress themes.
Returns the location of an image. Do not include the extension in $imagename. The function will look for all possible extensions (.png, .gif, and .jpg) unless you specify $extension. It first searches in the primary theme's "/images" directoroy for the existence of the image. If it is not there, it searches the core theme's "/images" directory. If it's not there, it returns a null value.
Returns the location of an image with the name 'logo'. This is the same as calling getImage('logo'). It first searches in the primary theme's "/images" directoroy for the existence of the logo. If it is not there, it searches the core theme's "/images" directory. If it's not there, it returns a null value.
Loads the search module. This is the same as calling module('search').
Loads the search module. This is the same as calling getSearchForm().
Need help getting started?
We've got all the documentation you'll need right here.
