[TYPO3-english] Show tags recursively
Sergio Catalá Gil
scatala at iti.upv.es
Tue Feb 16 13:09:28 CET 2010
Hi list,
Is there an easy way to show tags recursively in my template? I just
want to include ###MYTAG### inside ###TEMPLATE_LOGOUT### tag from
"felogin" sys extension.
###MYTAG### would show something like "Editor" just in case a certain fe
usergroup is logged in.
My TS template:
[usergroup = 8,9,10]
temp.MyTag = TEXT
temp.MyTag.value = Editor
[global]
...
subparts.MYTAG < temp.MyTag
My "template.html" inside "felogin" extension:
...
<!--###TEMPLATE_LOGOUT###-->
<form action="###ACTION_URI###" target="_top" method="post">
<fieldset>
<p>Welcome <strong>###USERNAME###</strong>:</p>
<!-- ###MYTAG### begin --> <!-- ###MYTAG### end
-->
<p><input type="submit" name="submit"
value="###LOGOUT_LABEL###" /></p>
<input type="hidden" name="logintype"
value="logout" />
<input type="hidden" name="pid"
value="###STORAGE_PID###" />
</fieldset>
</form>
<!--###TEMPLATE_LOGOUT###-->
...
Thanks in advance,
Sergio
More information about the TYPO3-english
mailing list