[Wiki] changed: PopulatingYourFirstModule

Wiki Guest <[email protected]>
Newsgroups gmane.comp.horde.cvs
Message-ID <[email protected]>
guest [129.187.43.121]  Wed, 18 Feb 2009 20:26:10 -0500

Modified page: http://wiki.horde.org/PopulatingYourFirstModule
New Revision:  1.8
Change log:  layout added

@@ -93,8 +93,19 @@

  It is a good point to start a contentpage by copying the Skeleton's list.php

  All viewable pages ar located in the module's root-folder. All  
businesslogic (classes etc,) are located in separate files in  
<module>/lib.
+
+++ Layout
+
+To move your businesslogic-variabes to a html-layout, the  
Horde_Templates-Package is usefull. You can include templates with  
code tags, and Horde will replace these tags with your  
variable-content, if the tags and the variables are associated via  
template->setVariable(...); For further information read about this  
package wiki.horde.org : /Doc/Dev/TemplatePackage
+
+If a submenu on the content page ist needed (likle in turba), it can  
be generated via <div class="control nowrap"> ..menu..</div>
+
+++ Scripts
+
+If any scripts are needed for layout like striped.js für alternating  
rowcolors, add these scrippts via Horde::addScriptFile('<script.js',  
'ownerapplication_where_to_search: e.g. horde', true ). True means  
that the script should be included via relativ path.
+

  + Services

  + Misc

--
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.