[TYPO3-mvc] Extension "news" and RealUrl

Henjo Hoeksma me at henjohoeksma.nl
Tue Jun 12 00:49:13 CEST 2012


Hi Adrien,

take a look at https://review.typo3.org/#/c/4731/

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Mon, Jun 11, 2012 at 11:49 AM, Adrien Crivelli <adrien.crivelli at gmail.com
> wrote:

> Hello,
>
> I can't figure out how to make nice URL for the "news" extension and
> RealUrl. This what I would like:
>
>   - one unique page "mypage" for everything (list view and single view)
>   - list view URL: http://example.com/mypage/
>   - single view URL: http://example.com/mypage/view/my-news-title
>
> Of course, I read the wiki
> page<http://forge.typo3.org/projects/extension-news/wiki/RealURL>,
> and previous post<
> http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2011-December/011227.html
> >on
> this list. But I couldn't figure out the the correct combination and I
> end up with non-working URL or similar to:
>
>   -
>
> http://example.com/mypage/view/my-news-title?tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5Baction%5D=detail<http://example.com/mypage/view/my-news-title?tx_news_pi1[controller]=News&tx_news_pi1[action]=detail>
>
> I would love to have suggestions about the following options I found and
> that I think are related to this problem:
>
>   - In EM manager for "news"
>      - List actions shown in Flexforms
>      - Dynamic GETvar enhancement <= this one is really obscure to me
>   - In "News system" plugin settings
>      - What to display
>   - ReaUrl configuration
>
>
> I tried both "simple" and "advanced" example of wiki, but none of them
> worked perfectly. Especially, the advanced seems to be the one I need to
> use, but it produce URL without "controller" part and I end up with a list
> of news, instead of single news.
>
> I tried to dig in "news" code, and found Tx_News_Hooks_PreprocessRequest
> which may be of some use in my case (set default controller and action),
> but it looks like $vars is always empty...
>
> Any thoughts ?
>
> TIA,
>
> Adrien
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list