You're on the right track.  The "/people" page should be of a custom 
type that you create so that all child URLs are routed to a single 
virtual child page.  I did this for the "Syllabi" at KCKCC over a year 
ago.  Here's a link to the code:

http://kck.esumm.com/www/html/vendor/extensions/syllabi/app/models/

Look specifically at the "Syllabi Courses Page" and the "Syllabi 
Prefixes Page".  The "prefixes" page was used as the parent, the 
"courses" page as the virtual child.  You can see these in action at:

http://www.kckcc.edu/academics/course-descriptions/

Cheers,

Sean

nn wrote:
> While developing my first Radiant site I encountered a problem which
> overwhelms me. Also, I'm not a programmer, so its only worse. Please bear
> with me.
>
> First, I tried to make a page "/people" which lists all the people in the
> organization. So, I wrote "People" extension (my first), wrote some tags,
> and now I can enter a person into the database  through the admin interface,
> and list every person in the database on the "/people" page. A small
> victory. Unfortunately, it doesn't end here.
>
> Now I need to display everything there is about a person, but I don't want
> to make a separate child page for each person. I think one page should be
> sufficient for that, so a virtual page is in order, right? Well, I tried
> that, and failed miserably. It getting frustrating, since I've been hanging
> with Google for more then two days now. Either the examples I found are too
> complex, or my skull is too thick. At the moment, I'm betting on the latter.
>
> So, hopefully, someone has already been there and can show in a simple way
> how to achieve what I need to.
>
> Thanks.
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to