Thanks, I'll give that a try!
On May 21, 12:03 am, "Jonathan Snook" <[EMAIL PROTECTED]>
wrote:
> On Wed, May 21, 2008 at 12:49 AM, Travis <[EMAIL PROTECTED]> wrote:
>
> > Yes, I would like to display the data differently depending on the
> > attributes passed in.
>
> Then set up three different r
On Wed, May 21, 2008 at 12:49 AM, Travis <[EMAIL PROTECTED]> wrote:
>
> Yes, I would like to display the data differently depending on the
> attributes passed in.
Then set up three different routes for it, each pointing to its own action
Router::connect('/:controller/:year/:month/:day', array('a
Yes, I would like to display the data differently depending on the
attributes passed in.
On May 20, 6:16 pm, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
> On Tue, May 20, 2008 at 7:07 PM, Travis <[EMAIL PROTECTED]> wrote:
>
> > I am trying to create a controller that acts similar to that of which
On Tue, May 20, 2008 at 7:07 PM, Travis <[EMAIL PROTECTED]> wrote:
>
> I am trying to create a controller that acts similar to that of which
> you find commonly on blogs. I want the user to be able to type
> http://www.example.com/2008/05/20/, http://www.example.com/2008/05/,
> and http://www.exa
Hi,
> How do I make it such that each different variation of the date gets
> redirected to the appropriate view? Thanks!
I'd personally go for 3 simple regexps, 1 for year, 1 for year/month,
1 for year/month/date...
Piotr
--~--~-~--~~~---~--~~
You received this
I am trying to create a controller that acts similar to that of which
you find commonly on blogs. I want the user to be able to type
http://www.example.com/2008/05/20/, http://www.example.com/2008/05/,
and http://www.example.com/2008/ to be directed to an archive for the
current day, month, and y