[Typo3] TypoScript for Sitemap Soup Up
Peter Klein
peter at umloud.dk
Wed Sep 28 19:44:18 CEST 2005
Hi Nick, there's an HMENU property you can use, which does exactly that.
It's called "JSWindow". More info here:
http://typo3.org/documentation/document-library/doc_core_tsref/Common_properties/
You use it like this:
--- cut --
tt_content.menu.20.2.1.JSWindow = 1
tt_content.menu.20.2.1.JSWindow.newWindow = 1
tt_content.menu.20.2.1.JSWindow.params =
width=200,height=300,status=0,menubar=0
-- cut --
(Do the same for tt_content.menu.20.2.2, tt_content.menu.20.2.3 &
tt_content.menu.20.2.4)
---
Peter Klein/Umloud Untd.
"Nick Weisser" <typo3 at openstream.ch> wrote in message
news:mailman.718.1127911168.11589.typo3-english at lists.netfielders.de...
> Hi all,
>
> I'd like to set the target for my sitemap neither to _self nor to _blank,
> but I would like to open a popup with fixed size, etc.
>
> Has anyone done this before? I'm almost sure someone has :-)
>
> I know this here
>
> #sitemap targets
> tt_content.menu.20.1.1.target =
> tt_content.menu.20.2.1.target =
> tt_content.menu.20.2.2.target =
> tt_content.menu.20.2.3.target =
> tt_content.menu.20.2.4.target =
>
> but how should this look like in order to get the necessary JavaScript
> code into the href tag?
>
> Any pointers are very welcome :-)
>
> If it's not possible with TypoScript, I would have to make a new
> extension, wouldn't I?
> --
> Cheers
> Nick Weisser
>
> Openstream Internet Solutions
> http://openstream.ch
More information about the TYPO3-english
mailing list