Re: Template Extension and Smarty.

2006-08-21 Thread Brian French
Is there a way to set it in the config for the app? (i use dreamweaver and want to keep the code highlighting, etc.) mouth wrote: ad 1) create file app/views/test.php with content: ?php require_once 'cake'.DS.'libs'.DS.'view'.DS.'view.php'; class TestView extends View { var $ext =

Re: Template Extension and Smarty.

2006-08-21 Thread mouth
Brian French wrote: Is there a way to set it in the config for the app? Just make file app/app_controller.php with this content: ?php class AppController extends Controller { var $view = 'test'; } ? (i use dreamweaver and want to keep the code highlighting, etc.) I don't understand what

Re: Template Extension and Smarty.

2006-08-21 Thread Brian French
Dreamweaver has highlighting and other bells and whistles built into it which i like. they are based on the extension of the file you are editing. if im editing an html file, it highlights the html as well as if i was editing a php or asp, etc. file. Dreamweaver doesn't recognize the 'thtml'

Re: Template Extension and Smarty.

2006-08-18 Thread mouth
ad 1) create file app/views/test.php with content: ?php require_once 'cake'.DS.'libs'.DS.'view'.DS.'view.php'; class TestView extends View { var $ext = '.test'; } ? and in Your controller You have to set var $view = 'Test'; ad 2) try visit http://cakephp.org/search?q=smarty BTW: You must

Re: Template Extension and Smarty.

2006-08-18 Thread bigdog
I haven't tried this in awhile. Good luck. http://projects.simpleteq.com/CakePHP/smarty.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to