[TYPO3-english] A cool Back button in TS and How to avoid typolink to display the value of href inside the <a> tag ?
Dubelaar, Bart
bart.dubelaar at logica.com
Mon Sep 17 20:43:25 CEST 2012
Hi,
You could construct your own anchor tag by using the returnLast parameter of typolink. Like so typolink.returnLast = url, this will return the raw url that you can use as href in your own tag.
But why don't you just put the typolink on an image, old school style? Or just put the div inside the anchor (which is allowed in HTML5). Having an anchor tag around nothing is a bit too fancy for good old typo3 :-)
For the condition you can either use a typoscript condition or a stdwrap 'if' to check the contents of the referrer variable.
Kind regards,
Bart
Verstuurd vanaf mijn iPhone
Op 17 sep. 2012 om 20:10 heeft "PAM" <lbonnier at web-interaction.fr> het volgende geschreven:
> Le 17/09/2012 17:53, Bart Dubelaar a écrit :
>
> > Try this:
> > temp.lien_page_parent.10.value = my text inside the a tag
> >
>
>
> Thank you for your reply ;-)
>
> The prb is that I don't want ANYTHING inside the a tag.
>
> Until now I use :
>
> temp.lien_page_parent.10.value=
>
> It work but it is not really clean. The way it display is OK but I dont like this empty div which make no sense in the html. The result is :
>
> <div id="lienPageParent"> </div>
>
> in the html and I have to use
>
> #lienPageParent {line-height: 0px;}
>
> in CSS ;-) so the DIV is 0 pixel and doesn't show
>
>
>
>
> I would like to make a condition to generate the TEXT object only if the referrer is not nul
>
> Is it possible ?
>
> Greetings
> Laurent
>
>
>
>
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the TYPO3-english
mailing list