[Typo3] Custom <tags/> and tags inside other tags

Adam Nojszewski adam at nojszewski.com
Fri Jun 17 11:06:52 CEST 2005


Hello

I have searched a lot, but did not found an answers for my two questions:


1. How to place one custom tag inside another?
i.e.: <link 2><arrows>text</arrows></link>

only the outer tag is rendered, the output is:
<a href="index.php?id=2" target="_self"><arrows>text</arrows></a>


2. Is it possible to use tag like <tag/>, not <tag></tag>?

I know, that in this case partial solution is:
<arrows></arrows><link 2>Załóż nowe konto</link>
but the generated image is not wrapped with link.

My setup is (I am not using any RTE):

tt_content.text.20.parseFunc >
tt_content.text.20.parseFunc {
     makelinks = 1
     makelinks.http.keep = path
     makelinks.http.extTarget = _blank
     makelinks.mailto.keep = path
	tags {
	    link = TEXT
	    link {
	        current = 1
	        typolink.extTarget = _blank
	        typolink.target= _self
	        typolink.wrap = |
	        typolink.parameter.data = parameters : allParams
		}
         arrows = TEXT
         arrows {
             current = 1
             wrap = <img src="fileadmin/template/images/arr.gif" 
width="9" height="5" border="0" align="absmiddle" style="margin-right: 
4px;"/>|
         }
	}
}



best regards
-- 
Adam Nojszewski                                    adam at nojszewski.com
----------------------------------------------------------------------
Wejdź, zobacz, pamiętaj!  --  63 dni chwały...  --  http://www.1944.pl



More information about the TYPO3-english mailing list