[TYPO3-english] Parse the description field

Anders Kongsted typo3 at kongsted.dk
Tue Apr 14 18:33:48 CEST 2009


Hi again,

Isn't it possible to send that field through some parsing, so that 
email-addresses will be made to hyperlink with spam-protection?

Regard
Anders

Anders Kongsted skrev:
> 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
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>   


More information about the TYPO3-english mailing list