Quick links: Content - sections - sub sections
EN

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:tutorial:action-creation [2006/09/26 16:04] doublefaceen:tutorial:action-creation [2006/09/26 16:12] doubleface
Line 38: Line 38:
  
 There is an index() method, which retrieves the "html" type response. There is an index() method, which retrieves the "html" type response.
 +
  
  
Line 62: Line 63:
  
  
 +==== The template ====
 +
 +Create a newslist.tpl file in the templates directory of the module. And place this content inside :
 +
 +<code xml>
 +  <h2>Last news</h2>
 +  <p>Section available soon.</p>
 +</code>
  
 +As we said earlier, the content of the template will be the content of the <body> tag. That's why you don't have to give the <html>, <head>, ... tag. Only the content of the <body> tag.

en/tutorial/action-creation.txt · Last modified: 2007/09/17 22:42 by 127.0.0.1

Recent changes RSS feed Creative Commons License