[TYPO3] realurl, typolinks and parameters (generally)

Paul Vetch paul at qedstudio.com
Sat Jun 17 10:40:19 CEST 2006


Hi,

My question yesterday was way too specific so in the hope someone can
help / has seen this problem before, I've tried to generalise it a bit.
I'm sure there must be a way to achieve this, and that I'm being stupid.
Situation is:

* I want to use a global variable.  I add an additionalParam to a
typolink 
	additionalParams = &myParam=1
* I setup RealURL to hide it in part of the URL (as a filename) - 
	http://mypath/to/myparam.html
* I can test whether the variable is set using globalVar GP: etc. - no
problem.

If I then want to *unset* the parameter, I need a way of getting it out
of the RealURL so that I can generate a typolink with an HREF of:

http://mypath/to/

If I'm on a page with a RealURL path of http://mypath/to/myparam.html
then the returnLast = url method will always include the 'myparam.html'
which I don't want.

Question is how can I generate a Typolink *without parameters* in a
RealURL context?




More information about the TYPO3-english mailing list