[TYPO3-mvc] ExtBase and RealURL Links
Frenck Lutke
frenck at innologi.nl
Mon May 13 19:14:21 CEST 2013
Hi Hans,
On 13-5-2013 13:25, Hans Henning wrote:
> Hey,
>
> I'm new to this forum (and fairly new to Typo3). At the moment I am
> trying learn more about extension programming, especcially how to
> integrate nice RealURL Links.
>
> Using the Extension Builder, I have build a little online shop
> extension. You can add products into a backend folder and one of the
> content pages contains a frontend plugin that lists, shows, etc. the
> products.
>
> Using some fixedPostVars in the realurl_conf.php I have managed to get
> Links such as {URL of content page}/list.html or
> {URL of content page}/show/{id of product}.html
>
> What I have not managed so far are URLs like:
> {URL of content page}/show/{product name}.html
>
> Can anyone help me there? Is that a config thing or do I have to rewrite
> the showAction function in my products controller so that it can fetch
> from a name instead of an ID?
>
>
> Have a nice day, and thank you very much in advance,
> Hans
It's all in the RealURL conf. Look in the RealURL manual for the
'lookUpTable' array-key for use in the postVarSets, which explains all
you need to know to resolve an id to whatever record value for that
specific part of the RealURL produced link.
HTH,
Frenck
More information about the TYPO3-project-typo3v4mvc
mailing list