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 =
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
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'
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
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