[Typo3] TS Setup - reuse of text
Martin Rud
typo3 at explizit.dk
Sun Jul 31 10:36:21 CEST 2005
Hi list
I am making som FE-editing via the websites menu for BE-users logged in:
temp.menu_1 = HMENU
temp.menu_1.1 = TMENU
[globalVar = TSFE : beUserLogin > 0]
temp.menu_1.1 {
NO.allWrap = |
NO.allWrap.dataWrap (
<div class="lvl_1">
|
<a href="/typo3/alt_doc.php?returnUrl=/index.php?id={field:uid}&edit[pages][{field:uid}]=edit" title="Edit page title."><img src="pencil.gif"></a>
</div>
)
ACT < NO
}
But the line "<a href="/typo3/alt_doc.php?returnUrl=/index.php?id={field:uid}&edit[pages][{field:uid}]=edit" title="Edit page title."><img src="pencil.gif"></a>" must be repeated for each menu level, and - to avoid code redundans .- I would like to define the line once and the reuse it in the TS for each menu level.
How is that done?
- Regards, Martin Rud (rudi1234)
-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/
More information about the TYPO3-english
mailing list