Re: [Radiant] Slug hierarchy?

2007-03-06 Thread Martin Olsson
Yeah,
The pages "animals" and "plants" are project blogs, so they'll have  
lots of posts.
/Martin


On 6 mar 2007, at 12.47, Mislav Marohnić wrote:

> On 3/6/07, Martin Olsson <[EMAIL PROTECTED]> wrote:
>
> I figured it out and kind of solved it. The problem was that the "/
> animals" page was an Archive, which meant that the slug became
> "2007/3/6/about" - which is fine.
>
> Why is it an Archive? "animals/about" was much nicer!
>
> Archive usually makes sense when there are *a lot* of posts (like  
> on a blog).
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Slug hierarchy?

2007-03-06 Thread Mislav Marohnić

On 3/6/07, Martin Olsson <[EMAIL PROTECTED]> wrote:



I figured it out and kind of solved it. The problem was that the "/
animals" page was an Archive, which meant that the slug became
"2007/3/6/about" - which is fine.



Why is it an Archive? "animals/about" was much nicer!

Archive usually makes sense when there are *a lot* of posts (like on a
blog).
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Slug hierarchy?

2007-03-06 Thread Mislav Marohnić

On 3/6/07, Martin Olsson <[EMAIL PROTECTED]> wrote:



Home (/)
- about (/about)
- animals (/animals)
   - about (/animals/about)
- plants (/plants)
   - plants (/plants/about)



This is what Radiant is all about.

When I try to add a child to "animals" and give it the slug "about" I

get a 404 when i go to /animals/about



Do the tests pass for you? Does the "animals" page have the slug set as
"animals"? You shouldn't be getting a 404

Do slugs have to be unique?


Only if they are siblings. Your setup is perfectly fine.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Slug hierarchy?

2007-03-06 Thread Martin Olsson
Hello,
I figured it out and kind of solved it. The problem was that the "/ 
animals" page was an Archive, which meant that the slug became  
"2007/3/6/about" - which is fine. I can hide the post, and link to it  
using its "date-slug".

This is the result:

http://smpl.se/bath/

Radiant is soo cool. Regards /Martin


On 6 mar 2007, at 11.09, Martin Olsson wrote:

> Hello,
> Possibly a stupid question, but here we go:
>
> Can you organize slugs hierarchically? One alpha-slug to rule them
> all? Militant slugs with religious leaders?
>
> No I mean something like this:
>
> Home (/)
> - about (/about)
> - animals (/animals)
>- about (/animals/about)
> - plants (/plants)
>- plants (/plants/about)
>
> When I try to add a child to "animals" and give it the slug "about" I
> get a 404 when i go to /animals/about
>
> Do slugs have to be unique?
>
> How can I fix this?
>
> Regards,
> Martin Olsson
> http://smpl.se
>
>
>
>
>
> ___
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Slug hierarchy?

2007-03-06 Thread Martin Olsson
Hello,
Possibly a stupid question, but here we go:

Can you organize slugs hierarchically? One alpha-slug to rule them  
all? Militant slugs with religious leaders?

No I mean something like this:

Home (/)
- about (/about)
- animals (/animals)
   - about (/animals/about)
- plants (/plants)
   - plants (/plants/about)

When I try to add a child to "animals" and give it the slug "about" I  
get a 404 when i go to /animals/about

Do slugs have to be unique?

How can I fix this?

Regards,
Martin Olsson
http://smpl.se





___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant