index




plipp Ginger - getting started ..




This guide will get you started with plipp Ginger
1. Start the installer (/install/install.php).
2. When the installer is complete you need to add a 'location' to the site structure. This location can use any 'page handler' to compile a page, ex. the section manager
(which is included).
3. Edit the config so you direct the default location to the one you added (default 'main').
3. After this you are ready to go. If you need any assistance mail me at plipp@mnwa.net or ask me on msn messenger: plipp@plipp.net or icq# 30011882

Templates (ginCode, ginVars)
- The templates are located at templates/<templateName>.
- The main template is called main.htm, this one makes the shell of the page. <g:insert="main"/> inserts generated content,
<g:insert="errors"/> inserts errors.
- To fetch a ginVar to the template you do: <g:$<varType>.<varName>/>.. varType can be lang/error/global/config/post/get.
- To execute a ginCode function you do: <g:$<class>::<function>(<vars>)/>, ex <g:$std::date("H:i", "client")/>
inserts current client time.
- Have a look at the included template 'ginger' to get a better picture of how
to use ginVars and ginCode.
- You can also check ginVars and use parts of a template according to that info: <g:if="<ifStatement>"/> [...] <g:end/> OR <g:else/>

Important directories
- ./templates/ - Template files by template name. This path will be added to all images.
- ./install/ - The install script which should be deleted when it has been run.
- ./plugins/ - Installed plugins by plugin name. Plugin class and plugin name are the same.
- ./plugins/<pluginName>/xml/ - Contains xml files with info about the plugin (info.xml, strings.xml etc..).
- ./templates/source/<templateName>/<pluginName>/ - Templates that are used by plugins.

The application api documentation is available here.
This is not completly commented but relevat parts are.
This documentation also contaions available plippGinger functions.




Wyszukiwarka

Podobne podstrony:
index
index
index
index
index
index
index
index
index

więcej podobnych podstron