[TYPO3-english] Parse the description field
Anders Kongsted
typo3 at kongsted.dk
Tue Mar 17 23:04:49 CET 2009
Hi,
How can I send the text from the field "description" through the parsing
function to encode and spam-protect an email-address?
(I know how to set up spam-protection) :)
I tried the following code:
after.parseFunc =< lib.parseFunc_RTE
The complete menu-code where I need the code.
temp.showList = HMENU
temp.showList {
special = directory
special.value = 2
1 = TMENU
1.NO {
ATagParams = class="showListTitle1"
allWrap = |*| <div id="showlist1"> | </div> <div style="float:
left; width: 20px; height: 20px;"></div> || <div id="showlist1"> |
</div> |*|
beforeImg = fileadmin/Images/ShowListDefaultPic.jpg
beforeImg {
import = fileadmin/Images/
import.field = media
import.listNum = 0
}
beforeImgLink = 1
after.data = field : description // field
after.br = 1
after.wrap = <div id="showListDescription1"> | </div>
after.typolink.ATagParams = class="showListDesc1"
after.parseFunc =< lib.parseFunc_RTE
afterWrap = <br />
}
}
Regards
Anders
More information about the TYPO3-english
mailing list