durusmail: qp: Update release 0.1.1 of Evoque Templating
Update release 0.1.1 of Evoque Templating
2008-03-24
2008-03-31
2008-03-31
2008-03-31
Update release 0.1.1 of Evoque Templating
Tristan
2008-03-31
Mario,

Thank you for evoque, and integrating it with Gizmo(QP).

On the evoque website would it be possible to show some typical example
template files? I am keen to see how to put and call multiple
sub-templates in the same physical file (provided of course they all use
the same overlay template). I am trying to aim for one template file per
Directory class with each Directory component having its own
sub-template in a $begin{xyz} .. $end{xyz} block. But have been unable
to do it so far. As all the sub-template blocks use the same
master_template (_template.html) I am expecting it to be ok to have all
the sub-template blocks in one file, as there only needs to be one
overlay statement?

I could solve the problem by using one sub-template per file (like the
examples that ship with Gizmo(QP)) but I kind of like having all the
sub-template blocks in one html file, as opposed to multiple files or
using qpy methods to fill in the sub-template specific template content.
I am sure I am missing something and just need a solid example(s).

Tristan
reply