hallo miteinander,
ich benutze realurl und eigentlich funktioniert auch fast alles damit. JEDOCH 2 probleme in zusammenhang mit tt_news tun sich mir auf:
1.der link der um ein Image in der single-news ansicht (link zum original-bild) bringt mich zur weissglut. der sieht nämlich so aus:
<a href="index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2FIMG_0187.jpg&width=500m&height=500&bodyTag=%3Cbody%20bgColor%3D%22%23ffffff%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=05e6053c246e8af5953ef7d2ff8c9ed5" onclick="openPic('http://www.facingtheswarmthought.deindex.php?eID=tx_cms_showpic&file=uploads%2Fpics%2FIMG_0187.jpg&width=500m&height=500&bodyTag=%3Cbody%20bgColor%3D%22%23ffffff%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=05e6053c246e8af5953ef7d2ff8c9ed5','5c537bf1d0c3e9fada3a5d1b71577bb7','width=517,height=395,status=0,menubar=0'); return false;" target="thePicture"><img src="typo3temp/pics/28e395c858.jpg" width="270" height="203" border="0" alt="image" title="image" /></a>
und funktioniert folglich auch nicht. wo muss ich was einfügen, damit der link entweder verschwindet, oder funktioniert?
2. die url der single news ansicht sieht so aus:
http://www.meinedomain.de/single-news/article/ueberschrift/?tx_ttnews%5BbackPid%5D=28&cHash=e6e1afc657
den teil hinter dem letzten / wär ich gerne los, oder hätte ihn in einer angenehmeren form. ich nehme an, in meiner localconf.php fehlt irgendein zusatz für beide probleme. aber ich weiss nicht, was....
hier meine localconf.php:
#
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
#
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
#
'_DEFAULT' => array(
#
'init' => array(
#
'enableCHashCache' => 1,
#
'appendMissingSlash' => 'ifNotFile',
#
'enableUrlDecodeCache' => 1,
#
'enableUrlEncodeCache' => 1,
#
),
#
'redirects' => array(),
#
'preVars' => array(
#
array(
#
'GETvar' => 'no_cache',
#
'valueMap' => array(
#
'nc' => 1,
#
),
#
'noMatch' => 'bypass',
#
),
#
array(
#
'GETvar' => 'L',
#
'valueMap' => array(
#
'es' => '0',
#
'de' => '1',
#
),
#
'noMatch' => 'bypass',
#
),
#
),
#
'pagePath' => array(
#
'type' => 'user',
#
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
#
'spaceCharacter' => '-',
#
'languageGetVar' => 'L',
#
'expireDays' => 3,
#
'rootpage_id' => 24,
#
),
#
'fixedPostVars' => array(),
#
'postVarSets' => array(
#
'_DEFAULT' => array(
#
#
'photobook' => array(
#
array(
#
'GETvar' => 'tx_gooffotoboek_pi1[srcdir]'
#
),
#
array(
#
'GETvar' => 'tx_gooffotoboek_pi1[fid]'
#
),
#
array(
#
'GETvar' => 'tx_gooffotoboek_pi1[func]',
#
'valueMap' => array(
#
'thumbnails' => 'thumb',
#
),
#
),
#
),
#
// news archive parameters
#
'archive' => array(
#
array(
#
'GETvar' => 'tx_ttnews[year]' ,
#
),
#
array(
#
'GETvar' => 'tx_ttnews[month]' ,
#
'valueMap' => array(
#
'january' => '01',
#
'february' => '02',
#
'march' => '03',
#
'april' => '04',
#
'may' => '05',
#
'june' => '06',
#
'july' => '07',
#
'august' => '08',
#
'september' => '09',
#
'october' => '10',
#
'november' => '11',
#
'december' => '12',
#
)
#
),
#
),
#
// news pagebrowser
#
'browse' => array(
#
array(
#
'GETvar' => 'tx_ttnews[pointer]',
#
),
#
),
#
// news categories
#
'select_category' => array (
#
array(
#
'GETvar' => 'tx_ttnews[cat]',
#
),
#
),
#
// news articles and searchwords
#
'article' => 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[swords]',
#
),
#
),
#
),
#
),
#
// configure filenames for different pagetypes
#
'fileName' => array(
#
'index' => array(
#
'rss.xml' => array(
#
'keyValues' => array(
#
'type' => 100,
#
),
#
),
#
'rss091.xml' => array(
#
'keyValues' => array(
#
'type' => 101,
#
),
#
),
#
'rdf.xml' => array(
#
'keyValues' => array(
#
'type' => 102,
#
),
#
),
#
'atom.xml' => array(
#
'keyValues' => array(
#
'type' => 103,
#
),
#
),
#
),
#
),
#
),
#
);
#
hier der relevante teil meines setups:
plugin.tt_news.useHRDatesSingle = 1
plugin.tt_news.useHRDatesSingleWithoutDay = 1
plugin.tt_news.dontUseBackPid = 1
plugin.tt_news.useHRDates = 1
plugin.tt_news.displaySingle {
imageWrapIfAny (
<table class="news-single-img-table">
<tr><td> | </td></tr>
</table>
)
kann mir jemand helfen? wäre der hit und ich sehr dankbar.
gruss malle