[TYPO3-mvc] advanced realurl for minimal list and show urls

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Thu Feb 17 12:12:21 CET 2011


Franz Koch wrote:
> a) move the showAction to a separate page, make it the default action
> and set the page to "exclude form speaking url" (could work, not tested
> though)
>
> b) bypass the controller and action parameters in the URL, hook in to
> TSFE->checkAlternativeIdMethods-PostProc and recreate the getVars on
> demand, depending on the given getVars. That's what I did for a shop
> extension where I had to get nice looking URLs while having up to four
> different IDs in the getVars, each combination belonging to a different
> controller (catalog +> chapter +> category +> product). Probably the
> most tricky thing here is to mess with the cHash (first check if it was
> valid, then modify the getVars and apply a new cHash).
> In most cases it's possible to figure out the intended controller by the
> number of getVars you have.
> Having a tx_yourext_catalog[product]=1 var in the URI will most likely
> mean that you intend to get the detail view of a product, and having
> different plugin namespaces you could also distinguish f.e. between the
> catalog detail action and a product export/import action.
>
> That's the two approaches I have at hand, but I think Bastian might have
> another one simmilar to a).

Hi Franz!

Is there a possibility to create a patch/feature for extbase
or realurl to have this in place in general? I think it's a
nice thing to have for every extbase extension using realurl.

Any plans/ideas/thoughts?

Thanks and regards,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list