For question 1, yes I think it's possible if you route all news/* to a
controller and action, for example NewsController and displayAction()
.

If I'm right, all parameters after news/ will be provided to the
display function as a parameter, making you function look like this :
NewsController::displayAction($sanitizedTitle)

Of course you will need to perform the lookup by sanitized title yourself

For 2, I think you'd best have a look at the advanced section of this
page : http://manual.cakephp.org/chapter/3

On 8/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 1. While it is great Cake has static URLs out of the box, can I make
> Cake use static URLs of this form:
>
> http://www.site.com/news/my-news-article/
>
> ... as opposed to the default static URL of...
>
> http://www.site.com/news/1/
>
> ?
>
>
> 2. I am playing around with Cake in a development environment now, but
> when I start using Cake in my production environment can I setup Cake
> to run off one install and then have many webroot and app folders (one
> for each site) in different locations? This way I can have one Cake
> install and many different web sites using that same install, or do I
> have to install Cake for each web site?
>
>
> Thanks in advance for the help.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to