[TYPO3] Spam protect email in footer configured in TS

Peter Klein peter at umloud.dk
Fri Mar 17 16:03:19 CET 2006


Hi Erik. Try changing the "10" part to this:

10 = TEXT
10.value = Norsk Sjømatsenter
10.typolink.parameter = post at sjomat.no
10.wrap = <div id="footer-copyright">© | 2006</div>

-- 
Peter Klein/Umloud Untd

"Erik Svendsen" <erik at linnearad.no> skrev i en meddelelse 
news:mailman.1.1142584248.25073.typo3-english at lists.netfielders.de...
> Hi list!
>
> I doing a website where I have defined the footer in TS, like this
>
> lib.footer = COA
> lib.footer {
> 10 = HTML
> 10.value = © <a href="mailto:post at sjomat.no" >Norsk Sjømatsenter</a> 2006
> 10.wrap = <div id="footer-copyright">|</div>
> 20 = HTML
> 20.value = <div id="footer-address">Bontelabo 2, 5003 Bergen. Telefon 55 
> 55 48 00, telefaks: 55 55 48 88</div>
> 30 = HTML
> 30.value = <div id="footer-cms"><a href="http://www.linnearad.no"> //
>             <img src="fileadmin/templates/sjomat/images/linnearad-no.gif" 
> alt="Utviklet og implementert //
>             av Linnea Rådgivning" title="Utviklet og implementert av 
> Linnea Rådgivning" width="80" height="15" /></a>
> 40 = HTML
> 40.value = <a href="http://typo3.com"><img 
> src="fileadmin/templates/sjomat/images/typo3_button_logo_new.gif" //
>             alt="Sidene her bruker TYPO3 CMS" title="Sidene her bruker 
> TYPO3 CMS" width="80" height="15" /></a></div>
> }
>
> As this is all plain HTML elements the mailto:post at sjomat.no don't get 
> spam protected
>
> I know there are possibility to use parseFunc in some way, but can't 
> figure out how.
>
> I have found a way to solve it making "© <a href="mailto:post at sjomat.no"
>>Norsk Sjømatsenter</a> 2006" bodytext element in normal pagecontent 
>>(TEXT),
> and refer to it as RECORDS the following way. Then the mailto is 
> protected. The pagecontent are made in a sysfolder.
>
> ....
> lib.footer {
> 10 = RECORDS
> 10.tables = tt_content
> 10.source = 12
> 10.wrap = <div id="footer-copyright">|</div>
> ....
>
> With some adjustment of the css it works, but I think it should be 
> possible to do everything in TS.
> Some hints, or should i stick with my RECORDS solution
>
> WBR,
> Erik Svendsen
> www.linnearad.no
>
>
> 





More information about the TYPO3-english mailing list