[TYPO3-english] How to get all external links opening up inpmkshadowbox by default?

Andreas Becker ab.becker at web.de
Thu Nov 19 18:00:32 CET 2009


Hi Peter
Looks like a IE Hack :-) with those incorrect placed quotes - funny, but if
it is working it is really good . I will try it tomorrow

Thanks a lot

Andi

On Thu, Nov 19, 2009 at 11:51 PM, Peter Klein <pmk at io.dk> wrote:

> Hi Andreas.
>
> You can trick TYPO3 to add REL attributes to all your external links.
>
> Insert this in CONSTANTS: (Notice the "incorrect" placement of the opening
> and closing quote chars!)
> -- cut --
> styles.content.links.extTarget = _blank"
> rel="shadowbox;width=600;height=400
> -- cut --
>
> I had to enable extTarget for RTE links too (maybe you need to do that
> too?), by inserting this in SETUP:
> -- cut --
> lib.parseFunc_RTE.tags.link.typolink.extTarget =
> {$styles.content.links.extTarget}
> -- cut --
>
> --
> Peter Klein
>
> "Andreas Becker" <ab.becker at web.de> wrote in message
> news:mailman.6538.1258603042.595.typo3-english at lists.typo3.org...
> > Hi
> >
> > perhaps somebody could tell us how we could get all external links in a
> > TYPO3 website always opening up in pmkshadowbox by default!
> >
> > Andi
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list