[TYPO3] pi_linkTP_keepPIvars_url does not generate L

Stano Paška stano.paska at gmail.com
Wed Dec 13 10:09:38 CET 2006


On 12/13/06, Martin Kutschker <Martin.Kutschker at n0spam-blackbox.net> wrote:
> Stano Paška schrieb:
> >
> > Now I must find solution for second part of my question (why typo3
> > does not generate L parameter)...
>
> Did you set config.linkVars (see TSref) in your template?

No. I read "Creating links in frontend plugins" article and nothing
about that was mentioned here. I think that typo3 manages L system
parameter automatically...
Now, when I add config.linkVars = L it works ok.

But why when I was misconfigured my plugin, L appears (without linkVars)?

$this->modul->pi_getPageLink($this->modul->configuration['detailPage'], '',
 array($this->modul->prefixId.'[detail]'=>$this->getHlavneId(),
 $this->modul->prefixId.'[return]'=>urlencode($_SERVER['QUERY_STRING'])))

If configuration['detailPage'] was not set in my plugin (from
flexforms), typo3 generates in this link L parameter. When detailPage
was set to some page id, L parameter disappears.

>
> pi_linkTP_keepPIvars_url() only keeps the PI (ie the plugin's !!!) vars,
> not all query vars (params).
>
> Masi
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list