Thanks for your help,
I got it working by adding some routes in the bootstrap and retrieve the
params from the routes in a plugin and set the appropriate
module/controller/action according to those params.

I'll post a new question though cause I have an unexpected result for a
specific URL.

Thanks again.



debussy007 wrote:
> 
> For example if I use a plugin, I guess I will look for the url in the
> database and from there I will have the appopriate
> action/module/controller.
> 
> How should I then set the correct action/controller/module in this plugin
> ?
> Also I am not sure how to handle the URL's which have *not* been changed,
> as I will look for every request the URL in DB, but it may happen that the
> user does not bother to change a specific URL while others have been
> changed.
> 
> 
> 
> 
> Peter Warnock-3 wrote:
>> 
>> You can create a custom route implementing the interface, or create a
>> plugin, or use a forward after the lookup from the default action. - pw
>> 
>> On Aug 8, 2009 12:08 PM, "debussy007" <[email protected]> wrote:
>> 
>> 
>> Hi,
>> 
>> I'm building a CMS and I want to allow the users to configure for each
>> page
>> and language a personnalized URL.
>> 
>> E.g. rename   http://example.com/services/list   to:
>> in French http://example.com/nos-services
>> in Dutch http://example.com/onze-diensten
>> etc.
>> 
>> So I would have all these URL's in DB and linked to a specific action I
>> guess.
>> 
>> But then when my bootstrap gets the request 
>> http://example.com/nos-services
>> How do I forward to the correct module/controller/action and set the
>> correct
>> locale ?
>> 
>> I'm quite lost on this, can anyone help ?
>> Thank you!
>> --
>> View this message in context:
>> http://www.nabble.com/Best-way-to-have-custom-URL%27s-for-each-web-page---tp24878049p24878049.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Best-way-to-have-custom-URL%27s-for-each-web-page---tp24878049p24891449.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to