[Typo3] Forcing links to open in same window

Jason Lefkowitz jlefkowitz at oceana.org
Tue Jun 28 16:28:04 CEST 2005


Hi Oliver,

I tried adding your setup to my TS template constants (with the value set to "_self" as suggested in the followup below), and it still didn't work :-(

HOWEVER... after some more digging through the Typoscript Object Browser, I found a value that looked suspicious.  Namely, this:

styles.content.links.target = {$PAGE_TARGET}			

Just to see what would happen, I tried changing this in the object browser from "{$PAGE_TARGET}" to "_self".  Lo and behold, the links now all opened in the same window!

Now, one would think that if you have "PAGE_TARGET = _self" in the constants, this would result in styles.content.links.target getting set to _self as well.  But apparently that is not the case, or at least not reliably so.  So for now I'm going with overriding the $PAGE_TARGET there and just forcing the value to _self...

Ah, the mysteries of Typo3, how few ulcers I would have without them :-)

Thanks everybody!!


- Jason Lefkowitz (jlefkowitz)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110129136/
					



More information about the TYPO3-english mailing list