Hi,

Im creating a simple content management system where you can assign  
an item of content having a parent. This is to simulate a tree-like  
content structure

So for example I want this kind of thing to work:

- Home
- Clients
        - Client1
                - Project1
                - Project2
                - Project3
        -Client2
                - Project1
- About Us

etc etc

Now, I have a module called content with an action called show so to  
get an Item to show i would use at the moment.

/content/show?title=Project1

Using a routing rule, I now display that as just

/Project1

But what I really want is:

/Clients/Client1/Project1

How do I achieve this? In the database, I am storing the id of the  
parent so for example, the id for Clients is 2, the id for Client 1  
is 7 and the id for Project 1 is 8

Maybe do some kind of recursive call? I dunno... ANy help is appreciated

Cheers
Craig

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to