Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3-german] Re: [TYPO3] Realurl: uid in tt_news SINGLE-link within the typo3-german@lists.netfielders.de forums, part of the TYPO3-Mailinglisten: DEUTSCH category; Hey Dmitry > > Steffen Gebert wrote (13.07.2008 > > I've got to include the uid of ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hey Dmitry
> > Steffen Gebert wrote (13.07.2008 ![]() > > I've got to include the uid of tt_news-records in the link to the > > tt_news SINGLE view. > > > > I made this by setting alias_field to 'CONCAT(title,\'-\',uid)'. > > Is this a bad idea / is there any recommended way? Couldn't find > > anything. > Dmitry Dulepov: > This is completely ok. I just found out that this causes wrong replacement of special chars (umlauts etc ![]() Title: Neue InterCity-Züge für Holland URL: neue-intercity-za14ge-fa14r-holland-6567/ With just alias_field 'title' it works correct: neue-intercity-zuege-fuer-holland/ As it works on support.typo3.org I think there's something wrong with my setup - but don't know absolutely what because without CONCAT it works perfectly :/ Do you have any idea? Thanks Steffen realurl_conf.php: ====== <?php $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( 'de' => '1', ), 'noMatch' => 'bypass', ), ), 'pagePath' => array( 'type' => 'user', 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main', 'spaceCharacter' => '-', 'languageGetVar' => 'L', 'expireDays' => 30, 'rootpage_id' => 1, 'segTitleFieldList' => 'alias,tx_realurl_pathsegment,nav_title,title', ), 'fixedPostVars' => array(), 'postVarSets' => array( '_DEFAULT' => array( // news archive parameters 'lesen' => array( array( 'GETvar' => 'tx_ttnews[year]', ), array( 'GETvar' => 'tx_ttnews[month]', ), array( 'GETvar' => 'tx_ttnews[tt_news]', 'lookUpTable' => array( 'table' => 'tt_news', 'id_field' => 'uid', 'alias_field' => 'CONCAT(title,\'-\',uid)', // 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'useUniqueCache_conf' => array( 'strtolower' => 1, 'spaceCharacter' => '-', ), ), ), ), // news pagebrowser 'seite' => array( array( 'GETvar' => 'tx_ttnews[pointer]', ), ), // news categories 'kategorie' => array ( array( 'GETvar' => 'tx_ttnews[cat]', ), ), 'fortsetzung' => array( array( 'GETvar' => 'tx_ttnews[sViewPointer]', ), ), 'benutzer' => array( array( 'GETvar' => 'tx_srfeuserregister_pi1[regHash]' ) ), ), ), // 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, ), ), ), ), ), ); ========= _______________________________________________ TYPO3-german mailing list TYPO3-german (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...o/typo3-german |
|
#2
|
|||
|
|||
|
Oh sorry, sollte nicht an TYPO3-german gehen :/
Steffen Gebert wrote: > Hey Dmitry > .... _______________________________________________ TYPO3-german mailing list TYPO3-german (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...o/typo3-german |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] Realurl: uid in tt_news SINGLE-link | Steffen Gebert | typo3-english@lists.netfielders.de | 7 | 05.10.2008 22:01 |
| [TYPO3-ttnews] tt_news and realurl - only standard language titlein single view url | Basti Baumann | typo3-project-tt-news@lists.netfielders.de | 10 | 25.04.2008 12:34 |
| [TYPO3] tt_news single view doesn't cache with realurl | Georg Ringer | typo3-english@lists.netfielders.de | 1 | 28.11.2007 13:28 |
| [TYPO3] tt_news: remove link from image in single view | Cray Flatline | typo3-english@lists.netfielders.de | 1 | 21.08.2007 09:01 |
| Re: [TYPO3] print tt_news single view with realurl | Aji Johannes | typo3-english@lists.netfielders.de | 0 | 20.08.2007 17:20 |