[TYPO3-mvc] Current page URL?

Andreas Weis andreas at tollwerk.de
Thu Jul 23 15:30:18 CEST 2009


Xavier Perseguers schrieb:
> HI,
> 
>> A short scenario:
>>
>> I have a plugin where I can store favourites (just some links and pics)
>> This plugin is on every page of the whole site.
>> Of course I want the ability to remove items from the list.
>> So removing is pretty hard, when I want to go back to the exact page 
>> where I was, without the ability to just get own parameters to the 
>> current page-url
> 
> Why would you need a redirect if you generate Action links 
> (RemoveAction) with $this->URIBuilder? Or with a valid ViewHelper? You 
> go to the remove action and that's it!
> 
> I may have missed something but I don't see the problem.
> 

okay i try to explain a little more:

guess you have 5 favourites stored in your plugin.
now you are on a page with tt_news displaying one single news entry 
(index.php?id=23&tx_ttnews[uid]=243).

now i want to remove one favourite from my list but i wanna stay on this 
particular newspage.
how would i do that without loosing the "&tx_ttnews[uid]=243" wich i 
need to display the single news entry?


More information about the TYPO3-project-typo3v4mvc mailing list