[TYPO3-dev] realurl removes &type parameter from my url link
Cyrill Helg
phlogsmailinglists at gmail.com
Tue May 6 01:29:39 CEST 2008
Am Montag, 5. Mai 2008 schrieb Steffen Ritter:
> 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
Hi again
I tried that anyhow, but it does not seem to work correctly. Here is the full
config. My popup stays empty. :(
$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]',
'lookUpTable' => array(
'table' => 'pages',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
),
'action' => array(
array(
'GETvar' => 'tx_fileexplorer_pi1[action]',
),
),
'view' => array(
array(
'GETvar' => 'tx_fileexplorer_pi1[view]',
),
),
'width' => array(
array(
'GETvar' => 'width',
),
),
'height' => array(
array(
'GETvar' => 'height',
),
),
'file' => array(
array(
'GETvar' => 'tx_fileexplorer_pi1[id]',
'lookUpTable' => array(
'table' => 'tx_fileexplorer_files',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
)
),
),
'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]',
),
),
'show-in' => array(
array(
'GETvar' => 'tx_fileexplorer_pi1[popup]',
'valueMap' => array(
'textversion' => '1',
),
'noMatch' => 'bypass'
),
),
),
),
// configure filenames for different pagetypes
'fileName' => array(
// 'defaultToHTMLsuffixOnPrev' => true,
'index' => array(
'textversion.html' => array(
'keyValues' => array(
'type' => '769',
'tx_fileexplorer_pi1[popup]' => '1'
)
),
'foo' => array(
'keyValues' => array(
'type' => '0',
),
),
),
),
),
);
More information about the TYPO3-dev
mailing list