[TYPO3-dev] realurl removes &type parameter from my url link

Christopher Torgalson bedlamhotel at gmail.com
Mon May 5 21:57:24 CEST 2008


Hi,

On Mon, May 5, 2008 at 9:43 PM, Steffen Ritter <info at rs-websystems.de> wrote:
> Hello,
>  i had the same Problem, using TS typolink functions.
>
>  I solved it as followed:
>  Since realurl only recognizes endings like print.html to render es
>  configured type, but not creating print.html if you ask for type=98 you
>  have to cheat.
>  configure a synonym such as textversion with type=xy
>   'fileName' => array (
>                 'index' => array(
>                         'textversion.html' => array(
>                                 'keyValues' => array(
>                                         'type' => 'xy',
>                                         'specialMarker' => '1'
>                                 )
>                         )
>                         ,'index.html' => array(
>                                 'keyValues' => array(
>                                         'type' => '0',
>                                 )
>                         )
>
>  ... furthermore you have to add a "specialMarker" at the get Vars (VERY
>  IMPORTANT!!!! IT MUST BE THE LAST ENTRY OF THE postVars Array)
>  ,'show-in' => array (
>                                 array(
>                                         'GETvar' => 'specialMarker',
>                                         'valueMap' => array(
>                                                 'textversion' => '1'
>                                         ),
>                                         'noMatch' => 'bypass'
>                                 )
>                         )
>
>  Afterwards, you can create links, not adding type as parameter but
>  specialMarker=1 ...
>  result will be a link as my mypage/show-in/textversion.html
>  textversion.html will be translated in type=xy show-in saves
>  get-parameter textversion... which you may covre with further conditions.


This:

>  ... furthermore you have to add a "specialMarker" at the get Vars (VERY
>  IMPORTANT!!!! IT MUST BE THE LAST ENTRY OF THE postVars Array)
>  ,'show-in' => array (

...does not seem to be true. I have realURL configuration files with
multiple items in the fileName array, and "specialMarker" does not
appear in any of them. Not even once, not in any file I've looked at
so far. No trouble with filenames such as print.html, style.css,
rss.html...


-- 
Christopher Torgalson
http://www.typo3apprentice.com/




More information about the TYPO3-dev mailing list