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

Cyrill Helg phlogsmailinglists at gmail.com
Mon May 5 21:04:46 CEST 2008


Hello

I have some weird behaviour here in my extension. As soon as I activate 
realurl the type parameter is missing in my url. I generate the link with the 
following code:

$this->base->pi_getPageLink($GLOBALS['TSFE']->id,'', array( 'type' => 769,
$this->base->prefixId.'[folder]' => $this->base->_GP['folder'],
                                                                                      
$this->base->prefixId.'[action]' => 'create_folder',
                                                                                      
$this->base->prefixId.'[popup]'  => 1, 'height' => 300, 'width' => 
300, 'keepThis' => 'true', 'TB_iframe' => 'true' ) ));

And here my simple realurl config:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array('_DEFAULT' =>
		array('pagePath' =>
            array('type' => 'user',
                  'userFunc' 
=>'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                  'rootpage_id' => 1
            ),
	'init' => array (
            'enableCHashCache' => '1',
            'appendMissingSlash' => 'ifNotFile'
        ),
    'postVarSets' => array(
        '_DEFAULT' => array (
			'folder' => array(
				array(
					  'GETvar' => 'tx_fileexplorer_pi1[folder]',
					 ),
            ),
			'view' => array(
				array(
					  'GETvar' => 'tx_fileexplorer_pi1[view]',
					 ),
            ),
            'article' => array(
                array(
                    'GETvar' => 'tx_ttnews[tt_news]',
                ),
                array(
                    'GETvar' => 'tx_ttnews[backPid]',
                ),
            ),
            'category' => array(
                array(
                    'GETvar' => 'tx_ttnews[cat]',
                ),
            ),
            'neste' => array(
                array(
                    'GETvar' => 'tx_ttnews[pointer]',
                ),
            ),
		)
	),
    ),
);

Thanks for any help.

cyrill




More information about the TYPO3-dev mailing list