Monday 14 April 2003 3:50:30 pm
If you are like me... struggling to understand how ez3 works... A great way to learn is... in .../design/demo/override/templates take one of the templates e.g. pagelayout_section_3.tpl and back it up. then go to work inserting your html comments in pagelayout_section_3.tpl!! e.g.
<!-- this is just before template call to page_head.tpl -->
{include uri="design:page_head.tpl" enable_glossary=false() enable_help=false()} <!-- end of page_head.tpl include -->
Then run the demo web site (in this case the News Section).
It appears on your browser.
Then select (ie6) menu item View then select Source and a beautiful html listing appears which includes all your comments! You can now start appreciating what does what in ez3. You can obviously do the same in the 'called' templates eg.page_head.tpl etc. etc. Hope you find this as helpful as I have. Good ez3 learning
Sol Millin
byron bay australia
You can also use template comment if you wish to make other template code not execute, e.g.
{* start of non-execute of template code
blah blah blah *} although this may suffer from the limitation of non-nesting of template comments.
|