Hallo Liste,
ich glaube, diese Woche hat noch niemand die leidige "print-Link" Frage gestellt, dann mach' ich das mal.
Der Printlink mit aus dem angefügten TS funktioniert zuverlaessig ohne realurl. Die erzeugte URL ist: http://meine-domain/index.php?id=1&type=98
Mit realurl bekomme ich im Popup aber nur eine Kopie der Seite im Hauptfenster - der Typ wird irgendwie geschlabbert resp. nicht in irgendwas informatives umgesetzt. Das Originelle ist, dass es heute schon mal funktioniert hat - bevor ich auf 4.2.6 upgedated habe. Aber vielleicht ist das auch Erinnerungsoptimismus, den realurl habe ich so oft gestoppt, dass ich mir nicht sicher bin... Die aktuelle URL mit realurl: http://meine-domain/aktuelles.html - sollte da nicht irgendwo ein "print" drin vorkommen?
temp.print = TEXT
temp.print.value = Drucken
temp.print.typolink {
parameter.dataWrap = {TSFE:id},98 800x600
addQueryString = 1
useCacheHash = 1
ATagParams = class="print-link"
title = Print this page
JSwindow_params = scrollbars=0,resizable=0
}
und
printpage = PAGE
printpage.includeCSS {
file1 = fileadmin/templates/css/print.css
}
printpage {
typeNum = 98
bodyTag =<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="javascript:window.print()">
10 < styles.content.getLeft
20 < styles.content.get
30 < styles.content.getRight
40 < styles.content.getBorder
}
Mein realurl-config ist:
<?php
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => '.html',
'index' => array(
'backend.php' => array(
'keyValues' => array (
'type' => 100,
)
),
'print' => array(
'keyValues' => array(
'type' => 98,
)
),
),
),
'postVarSets' => array(
'_DEFAULT' => array (
'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]',
),
),
'suche' => array(
array(
'GETvar' => 'tx_sgglossary_pi1[searchmode]',
'valueMap' => array(
'buchstabe' => '1',
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'tx_sgglossary_pi1[search][abc]',
'valueMap' => array(
'alle' => 'all',
),
),
array(
'GETvar' => 'no_cache',
'noMatch' => 'bypass',
),
),
'sieheauch' => array(
array(
'GETvar' => 'title',
),
),
'bedeutung' => array(
array(
'GETvar' => 'uid',
'lookUpTable' => array(
'table' => 'tx_sgglossary_entries',
'id_field' => 'uid',
'alias_field' => 'word',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
array(
'GETvar' => 'type',
'noMatch' => 'bypass'
),
),
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3
),
);
?>
Hat irgendwer eine Idee? Vielen Dank im voraus.
Beste Grüße Michael
Edit wegen fehlender TS-Tags, sorry.