Creating custom URLs with TYPO3, RealURL and tt_news
Вопрос
Im still not understanding very well how the configuration of RealURL works. So far Im getting my news with this format:
http://www.mysite.com/games/detail/date/2012/01/01/game-1/
But Id like it to be able to customize the URL as I want, like:
http://www.mysite.com/games/WhateverIwanthere/
I have a page with the LIST view (id=3) and a child page with the SINGLE view (id=13)
This is my realurl_autoconf.php: http://pastebin.com/31s9uZDb
Решение
- Get rid date params from your tt_news links see tt_news docs and find
Settings for Links
section - Put LIST view and SINGLE view on the same page and switch the views with TypoScript (there are snippets in the net so I don't writ it here)
- Use fixedPostVars of
RealURL
to avoid redundant 'detail' word
With this scenario you'll be able to display:
http://domain.tld/games/ - LIST view
http://domain.tld/games/one-two-three/ - SINGLE view of One Two Three game
Не связан с StackOverflow