[TYPO3] menu/sitemap opens a new window

Andrew Davis andrew at avagraphique.com
Fri Jun 1 16:37:56 CEST 2007


thanks, i see it now in constant editor...

yes actually i dont use TV, never need that functionality.... so I am 
automaketemplate kind of guy ;-)

thanks you for your help and patience...

andrew davis


Tyler Kraft wrote:
> ummm... constants, which is why I *said* add them to your constants ;-)
> 
> they are also accessible form the constants editor, which is why i first 
> suggested that ;-)
> 
> just glad it did the trick for you. Maybe you should go back and read 
> soem of the information on templating. (not the TV information, but some 
> of the older stuff,a s it might actually hold some useful info for you, 
> irregardless of TV)
> 
> hth
> 
> 
> 
> Andrew Davis wrote:
>> YES! This works. I did both constants, and the setup. not sure which 
>> kicked it correctly, but not carig right at this moment.
>>
>> THANKS!!
>>
>> Andrew Davis
>>
>>
>>
>> Tyler Kraft wrote:
>>> try just adding this to your template constants:
>>>
>>> PAGE_TARGET =
>>> content.pageFrameObj =
>>> styles.content.links.extTarget =
>>>
>>> hth
>>>
>>>
>>>
>>>
>>> Wido Widlewski wrote:
>>>> Hi Andrew,
>>>>
>>>> try something like this in the SETUP section of your TypoScript
>>>> Template:
>>>>
>>>> tt_content.menu.20 {
>>>>   default.1.target = _top
>>>>   1.1.target = _top
>>>>   2.1.target = _top
>>>>   3.1.target = _top
>>>>   4.1.target = _top
>>>>   5.1.target = _top
>>>>   6.1.target = _top
>>>>   7.1.target = _top
>>>>   7.2.target = _top
>>>> }
>>>>
>>>> There are more than one possibility for a sitemap, maybe you don't
>>>> use the tt_content.menu.20.2.1 object?
>>>>
>>>> Good Luck!
>>>>
>>>> Wido
>>>>
>>>>
>>>> AD> hmmmm... i put that line
>>>>
>>>> AD> tt_content.menu.20.2.1.target =
>>>>
>>>> AD> into the constants for the template and it does not make the 
>>>> links not
>>>> AD> open new window. I ned for the generated menu to link to _self 
>>>> or _top, etc.
>>>>
>>>> AD> I looked thru the constant editor, and closest thing I can see is
>>>> AD> Target for external links
>>>> AD> which is
>>>> AD> styles.content.links.extTarget
>>>> AD> but changing that to _top does not fix the issue.
>>>>
>>>> AD> ???!
>>>>
>>>>
>>>> AD> As always, it is one simple thing which I do not know and cant 
>>>> seem to
>>>> AD> find. oh well...
>>>>
>>>> AD> Any help much appreciated,
>>>> AD> Andrew Davis
>>>>
>>>> AD> Tyler Kraft wrote:
>>>>>> constants or use the constant editor.
>>>>>>
>>>>>> hth
>>>>>>
>>>>>>
>>>>>>
>>>>>> Andrew Davis wrote:
>>>>>>> inserting this in the setup does not seem to work
>>>>>>>
>>>>>>> tt_content.menu.20.2.1.target =
>>>>>>>
>>>>>>> any other thoughts?
>>>>>>>
>>>>>>> Andrew Davis
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Andrew Davis wrote:
>>>>>>>> where should ths be insterted, i the setp of the template? or 
>>>>>>>> possibly page tsconfig?
>>>>>>>>
>>>>>>>> also, not finding this in tsref... so please be more specific...
>>>>>>>>
>>>>>>>> thanks in advance,
>>>>>>>> andrew davis
>>>>>>>>
>>>>>>>>
>>>>>>>> Andreas Koppa wrote:
>>>>>>>>> Hi Matthew,
>>>>>>>>> Thanks.  Just found another option:
>>>>>>>>>
>>>>>>>>> content.pageFrameObj =
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Do you know what´s the difference?
>>>>>>>>> Andreas
>>>>>>>>>
>>>>>>>>>>> The links open a new "_blank" window.  Is there a "_top" or 
>>>>>>>>>>> something
>>>>>>>>>>> to
>>>>>>>>>>> render the page on top? where? how?
>>>>>>>>>>> thanks a lot.
>>>>>>>>> MM> I use:
>>>>>>>>> MM> MM> #sitemap
>>>>>>>>> MM> tt_content.menu.20.2.1.target =
>>>>>>>>> MM> Matthew
>>>>>>>>> MM>
>>>>>>>>>
>>>> AD> _______________________________________________
>>>> AD> TYPO3-english mailing list
>>>> AD> TYPO3-english at lists.netfielders.de
>>>> AD> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>>>
>>>>
>>>>


More information about the TYPO3-english mailing list