Hallo zusammen!
Ich muss hier leider mal wieder das leidige Thema "RealURL" aufgreifen,
aber nachdem ich schon alles durchsucht hab', dachte ich, dass hier
bestimmt jemand eine Lösung weiß.
Also, Problem ist folgendes: Ich benutze Typo3 (v3.7) mit RealURL (v0.2.0)
und die Extension "make_printlink". Soweit funktioniert auch alles -
allerdings wird beim Aufruf der Druckvorschau (typeNum=98, eigene HTML-Designvorlage)
im IE(v6.0.2) folgender Fehler ausgegeben:
"Error. Reason: Segment "print" was not a keyword for a postVarSet as expected!"
Im Firefox (v1.0.6) sowie in Opera (v8.0.1) funktioniert alles Bestens.
Wenn ich "RealURL" ausschalte, funzt die Druckvorschau auch im IE.
Hier ein Auszug aus dem TS-Setup:
##### using extension 'make_print_link' #####
temp.printPreviewLink = TEXT
temp.printPreviewLink.value = {$printversionLinkTitle}
temp.printPreviewLink.postUserFunc = tx_make_printlink
temp.printPreviewLink.stdWrap.postUserFunc = tx_make_printlink
temp.printPreviewLink.postUserFunc.include_post_vars = 1
temp.printPreviewLink.postUserFunc.target = _blank
temp.printPreviewLink.postUserFunc.popup = 1
temp.printPreviewLink.postUserFunc.windowparams = resizable=yes,toolbar=no,scrollbars=yes,menubar=no,width=600,height=600
temp.printPreviewLink.postUserFunc.windowname = {$printversionLinkTitle}
Damit wird folgender Link erzeugt:
<a href="#" onfocus="blurLink(this);" onclick="window.open('de/print/messespektrum/?amp%3BL=0','Druckversion','resizable=yes,toolbar=no,scrollbars=yes,menubar=no,width=600,
height=600');return false;">Druckversion</a>
Hier noch der entsprechende Teil für die Kongfiguration von "RealURL" aus der
Datei "localconf.php":
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData
-PostProc'][] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternative
IdMethods-PostProc'][] =
'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCac
he_additionalTables']['tx_realurl_urldecodecache'] =
'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCac
he_additionalTables']['tx_realurl_urlencodecache'] =
'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=
',tx_realurl_pathsegment,alias,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 0,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 0,
'enableUrlEncodeCache' => 0,
'firstHitPathCache' => 1,
),
'preVars' => array(
// define language-var settings
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'type',
'valueMap' => array(
'print' => 98,
),
'noMatch' => 'bypass',
),
),
'fileName' => array (
'index' => array(
'backend.php' => array(
'keyValues' => array (
'type' => 100,
)
),
'print' => array(
'keyValues' => array(
'type' => 98,
)
),
),
),
'postVarSets' => array(
'_DEFAULT' => array (
'news' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[backPid]',
),
),
'category' => array(
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
'neste' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3
),
);
Falls niemand dazu einen Tip hat, wäre ich dankbar, wenn mal einige
funktionierende Konfigurationen für "RealURL" (v0.2.0) und Typo3 (v3.7)
mit Multilanguage (One-Tree-Konzept) und Druckmöglichkeit gepostet
werden könnten. Ich hab' schon so viel durchsucht und probiert, aber
nichts hat geholfen. 😢
Ich weiß einfach nicht mehr weiter und hoffe, ich finde hier Rat.
Vielen Dank für eure Mühe,
Sven