Whilst Alan is right that it is indeed possible, Pablo's warnings are well worth heeding. It's never a good idea to allow people to type executable PHP into a database stored template as you leave yourself open to a whole load of issues ... I've been there, tried it and never tried again.
Also who is going to be using this system? It's difficult finding clients/users that can remember a few HTML tags never mind PHP and even harder a variant of PHP such as CakePHP! If the people using this system have that sort of knowledge then it is surely much easier and safer for them to work on the source of views than to enter data into a database, that way they can use their PHP/ HTML editors/IDEs with syntax highlighting and a whole host of shortcuts that make their coding lives easier. Imagine chasing down unclosed elements and incorrect parenthesis in a textarea? Not a lot of fun! HTH Paul. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
