[TYPO3-mvc] Extension spread over several pages - best practice?
Bastian Waidelich
bastian at typo3.org
Wed May 19 07:36:24 CEST 2010
Felix Oertel wrote:
Hey Felix,
> of course the uri-builder does not look anything up. i introduced a new
> subpart in config.tx_extabse called uri ...
>
> config.tx_extbase.uri.mapping {
> default-index = 75
> default-show = 78
> }
As Sebastian stated, this should rather be a plugin setting, but I'm
with you now.
>> What do you mean?
>
> $this->redirect() in your controller for example would not work if you
> configure PIDs in the viewHelper.
Got ya, you're right.
> the uri-builder is the central place where the uri building happens ...
> it should take care of the PIDs.
I wasn't sure, if it's a bit "magical" to handle all this in the
UriBuilder.. But I guess, you're right again - it is the only central
place for this..
In any case, the UriBuilder should obviously not override the target PID
if it's explicitly specified.
> ps: ya, propably it would have been better to skip the last (two) coffee ;)
ruhig, brauner ;)
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list