would the parent_id's of the pages from the various sites not be different? If you have An About Us page (id: 1) for site 1 and an About Us page (id:2) for Site 2, any page that you make a child of id 1 would only be visible for site 1 (assuming you program your access priv's correctly).
On Nov 12, 4:39 am, Atomic Guava <[EMAIL PROTECTED]> wrote: > I'm currently developing a CMS which aims to have the following base > functionality: > a) Auth component with admin routing setup > b) Dynamic 'Pages' controller to load pages from the database rather > than flat files > c) A HTML helper to output navigation at a given level of the > hierachy / breadcrumb nav in my views > d) support for multiple websites > > Basically, I've coded a + b + d above and come up with a nice clean > design, but now I've run into an issue. > > Previously when I've built CMS style apps, I've used the Tree > behaviour with much success. However, It's possible that the CMS might > power more than one site, which screws with the moveUp() and moveDown > () methods for the tree behaviour. > > So I'm a bit lost now and was wondering: > what is the best way to achieve unlimited, nested, dynamic, CMS- > powered pages with the ability to change the order? > > I've read up on find all threaded in this group and in the book, which > seems to give me the ability to create the nested page hierarchy I > require, but what about reordering this data? I could cheat and order > by page title, but to be honest, there will always be a client who > won't want this :) > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
