Tunc, I've done something exactly like this, and although I can't show you the actual code, I'll walk you through what I did:
- I found the code for the Quick Site Builder and dumped out the form that was posted and where it was going to. - I then added an After Save event to our "Organisation" Content Type. - In that After Save event, I made a new structure which was an exact replica of the form posted on the Quick Site Builder, and then included the Quick Site Builder processing page. - The Processing page then thought I was simply running the Quick Site Builder action, and so created my new sub tree. I even took it a bit further by having the form data coming from a configurable XML file that admins could edit via the Admin tab. I can't remember exactly the pages or structure of the form, but it didn't take me long to find the right file. I recommend Agent Ransack, which is a great searching tool to find the page your after. I should also say that this was done in FarCry 5-2-2, so I can't guarantee it will work in the same manner. However, that should get you started ;) If you get stuck, I'll see if I can find the code again for how I did this for a more accurate walkthrough :) Cheers, Phil ad...@motorspor.com wrote: > > Hi, > > I am working on a non-commercial community website and I need to pinch > your brains. What I am trying to do is similar to what Daemon did for > the excellent Australian Olympics website. We have approximately 600 > Organisations (clubs, voluntary groups, associations etc) in our area. > I have created a custom content for it. What I need to do is to create > sub pages automatically as below: > > www.example.com/organisation1 > www.example.com/organisation1/organisation1-news > www.example.com/organisation1/organisation1-events > www.example.com/organisation1/organisation1-photos > etc. > > News, events, photos have all content types and when we add a new > content we pick the related organisations from the organisations > content type. What I need to do it to filter them as above > automatically. We need to cache those pages aswell. > > If it wasn't 600+ organisations I could create individual pages on the > site tree and filter them by the content type. > > What is the best was to achieve this? > > See the working examples at: > > http://vancouver2010.olympics.com.au/athlete/craig-branch > http://vancouver2010.olympics.com.au/athlete/craig-branch/athleteschedule > http://vancouver2010.olympics.com.au/athlete/craig-branch/athletenews > http://vancouver2010.olympics.com.au/athlete/craig-branch/athletebio > > Thanks > > Tunç > > Using FC 6-0-6, CF 9, Windows 2008, IIS 7.5 > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: farcry-dev@googlegroups.com > To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > > -- View this message in context: http://old.nabble.com/How-to-create-sub-pages-automatically-tp30296056s621p30296260.html Sent from the FarCry - Dev mailing list archive at Nabble.com. -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@googlegroups.com To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry