I modified the existing pages component and just added some admin
functions to add/edit/save files in the views/pages directory - look
at the api for File and Folder classes - just remember to set
permissions on views/pages so that they can be edited

On Aug 6, 3:21 pm, murtada <[EMAIL PROTECTED]> wrote:
> Thanks Sam,
>
> You are right regarding terminology.
>
> Rephrasing my question: if I have basic pages (About Us, Contact Us)
> etc. and would like my client to edit it through the administrator
> panel instead of editing the file, what is the best way to do so?
>
> In addition, while doing this editing, can he use a markup of some
> type (i.e. Textile)?
>
> Thanks kindly.
>
> Murtada
>
> On Aug 6, 3:50 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
>
> > but static is not dynamic
>
> > I thought pages were for static pages with content updated infrequently and
> > therefore the most apt method for such content is a page; not requiring db
> > table, model & controller
>
> > On 06/08/2007, murtada <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I would like my client to be able to login and edit the main content
> > > of /pages/ files, such as about us, contact us, and even home.
>
> > > How is this possible? Do I have to make a controller for each page,
> > > and store the data in the database?
>
> > > A quick step-by-step guide would be great.
>
> > > Thank you kindly.
>
> > > Murtada


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to