Discussion:
[TYPO3] Spam protect email in footer configured in TS
Erik Svendsen
2006-03-17 08:30:48 UTC
Permalink
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
Peter Klein
2006-03-17 15:03:19 UTC
Permalink
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
Post by Erik Svendsen
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
Erik Svendsen
2006-03-17 15:15:30 UTC
Permalink
Hello Peter,

Thanks a lot!!!

I supposed it was easy, but sometimes the right path is hidden in all the
opportunities. But this is also the funny part of TYPO3.

WBR,
Erik Svendsen
www.linnearad.no
Post by Peter Klein
10 = TEXT
10.value = Norsk Sj?matsenter
10.typolink.parameter = post at sjomat.no
10.wrap = <div id="footer-copyright">? | 2006</div>
"Erik Svendsen" <erik at linnearad.no> skrev i en meddelelse
Post by Erik Svendsen
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
Loading...