I guess this would be similar to how myspace.com allows people to customize their pages.
In your thtml file you would just put section at the top for the style to be set and in the controller you would pull the information from the data base and use the $this->set('styles', $styles); to change the look of your guest book.
On 6/3/06, Petr Vytlacil <[EMAIL PROTECTED]> wrote:
And how for this problem?
I need know how use view from database for any functions in
controllers. Now this view are use from app/view/...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Re: Any idea how read views from database? nate
- Re: Any idea how read views from database? Petr Vytlacil
- Re: Any idea how read views from database? John Zimmerman [gmail]
- Re: Any idea how read views from datab... Felix Geisendörfer
- Re: Any idea how read views from d... John Zimmerman [gmail]
- Re: Any idea how read views from datab... Petr Vytlacil
- Re: Any idea how read views from d... John Zimmerman [gmail]
