My motivation is to automate page creation and semantic annotation by using html-forms.
One use case would be to automatically annotate creation relationships between pages. To
do so I implemented a tag hook which creates the forms.
My problem: I want to use this extension tag inside templates and also use template
parameters.
Contents inside an extension tag are not parsed but treated separately.
<tag>...contents...</tag>
Therefore template variables inside a tag like the following are not replaced.
<tag>...{{parameter}}...</tag>
I already figured out that extension tag hooks are treated within the function split() in
Parser.php.
But how can I get the parser to parse the contents of the tag before calling the according
extension callback function?
Function recursiveTagParse() seems to be an option but I can't get it to work.
Or is it necessary to work with an extension function hook instead of a tag hook?
Any suggestions? Or indications where I could find help?
Thanks in advance.
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen!
http://f.web.de/?mc=021192