Additions:
{{lastedit show="3"}}
Deletions:
Additions:
{{lastedit show="3"}} [[http://www.designscopia.com/products/corporate-identity/envelopes.asp envelope design]] | [[http://www.designscopia.com/products/multimedia/meshes-modelings/ meshes modelings design]] | [[http://www.designscopia.com/products/multimedia/nurbs-splines.asp nurbs splines design ]] [[http://www.designscopia.com/products/multimedia/nurbs-splines/ nurbs spline design]] | [[http://www.designscopia.com/products/multimedia/object-modelings/ object modeling design]]
Deletions:
Additions:
{{lastedit show="3"}} [[http://www.designscopia.com/products/corporate-identity/envelopes.asp envelope design]] | [[http://www.designscopia.com/products/multimedia/meshes-modelings/ meshes modelings design]] | [[nurbs splines design http://www.designscopia.com/products/multimedia/nurbs-splines.asp]] [[http://www.designscopia.com/products/multimedia/nurbs-splines/ nurbs spline design]] | [[http://www.designscopia.com/products/multimedia/object-modelings/ object modeling design]]
Deletions:
Deletions:
Additions:
[[http://www.w3monitor.com free website monitoring]]
Additions:
==Tag Callback Functions==
A new (powerful) feature of XTemplate is Tag Callbacks. They essentially allow you to call PHP functions/methods from within a tag in your templates. This (slightly) moves some intelligence into the template, but it's quite useful non-the-less. For full examples read: [[http://www.phpxtemplate.org/XTemplate/ex9.php Example file output]], then see the [[http://www.phpxtemplate.org/XTemplate/ex9.phps PHP Source]] and finally the [[http://www.phpxtemplate.org/XTemplate/ex9.xtpl.txt Template]] file.
A new (powerful) feature of XTemplate is Tag Callbacks. They essentially allow you to call PHP functions/methods from within a tag in your templates. This (slightly) moves some intelligence into the template, but it's quite useful non-the-less. For full examples read: [[http://www.phpxtemplate.org/XTemplate/ex9.php Example file output]], then see the [[http://www.phpxtemplate.org/XTemplate/ex9.phps PHP Source]] and finally the [[http://www.phpxtemplate.org/XTemplate/ex9.xtpl.txt Template]] file.
Deletions:
When using tag callbacks feature e.g. {mytag|my_callback} if you repeat the tag within the same block (with or without a different callback method), you will get the first tags callback results throughout the block. You have to parse the block to (auto)reset the tag to be able to update it's contents again.
Additions:
==Table Rows==
==Tag Callbacks==
When using tag callbacks feature e.g. {mytag|my_callback} if you repeat the tag within the same block (with or without a different callback method), you will get the first tags callback results throughout the block. You have to parse the block to (auto)reset the tag to be able to update it's contents again.
==Tag Callbacks==
When using tag callbacks feature e.g. {mytag|my_callback} if you repeat the tag within the same block (with or without a different callback method), you will get the first tags callback results throughout the block. You have to parse the block to (auto)reset the tag to be able to update it's contents again.
Additions:
One thing often asked about XTemplate is how to do accurate table rows (or similar rows and columns type output) using nested loops. Common symptoms of the wrong approach include an an extra (empty) row or an omitted final result. An example showing one solution is here: [[http://www.phpxtemplate.org/XTemplate/ex8.php Output]] [[http://www.phpxtemplate.org/XTemplate/ex8.phps PHP Source]] [[http://www.phpxtemplate.org/XTemplate/ex8.xtpl.txt Template]]
Deletions:
Revision [108]
Edited on 2006-12-27 09:18:48 by JeremyCoates [Added Table Row (Nested Loops) example]Additions:
One thing often asked about XTemplate is how to do accurate table rows (or similar rows and columns type output) using nested loops. Common symptoms of the wrong approach include an an extra (empty) row or an omitted final result. An example showing one solution is here: [[http://www.phpxtemplate.org/XTemplate/table_row_ex.php Output]] [[http://www.phpxtemplate.org/XTemplate/table_row_ex.phps PHP Source]] [[http://www.phpxtemplate.org/XTemplate/table_row_ex.xtpl.txt Template]]
Revision [102]
Edited on 2006-06-30 19:04:23 by JeremyCoates [Added Table Row (Nested Loops) example]Additions:
== XTemplate & ZendFramework==
You can find details of how to use XTemplate with the ZendFramework here: [[ZendFrameworkMVCExample Zend Framework MVC Example]]
You can find details of how to use XTemplate with the ZendFramework here: [[ZendFrameworkMVCExample Zend Framework MVC Example]]