Trace:
Differences ¶
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
en:tutorials:minitutorial:1.1.x [2009/01/07 21:50] – bibo | en:tutorials:minitutorial:1.1.x [2009/01/07 21:56] – bibo | ||
---|---|---|---|
Line 178: | Line 178: | ||
class myHtmlResponse extends jResponseHtml { | class myHtmlResponse extends jResponseHtml { | ||
- | public $bodyTpl = 'exemple~main'; | + | public $bodyTpl = 'example~main'; |
protected function doAfterActions() { | protected function doAfterActions() { | ||
Line 186: | Line 186: | ||
</ | </ | ||
- | This " | + | This " |
<code html> | <code html> | ||
- | < | + | < |
| | ||
</ | </ | ||
Line 195: | Line 195: | ||
@@{$MAIN}@@ is an instruction which says: display the content of the template variable named @@V@MAIN@@. {@jelix~jelix.newapp.h1@} is an instruction which says: display the localized string (a string which value depends on the lang) identified by the " | @@{$MAIN}@@ is an instruction which says: display the content of the template variable named @@V@MAIN@@. {@jelix~jelix.newapp.h1@} is an instruction which says: display the localized string (a string which value depends on the lang) identified by the " | ||
- | The method | + | @@M@doAfterActions@@ |
Now you know why there is a content displaying on the start page. Now let's modify the template with this content: | Now you know why there is a content displaying on the start page. Now let's modify the template with this content: |