The customize it:
1. Loading title:
<?php echo $title_for_layout;?>
2. Loading content<?php echo $content_for_layout;?>
3. Loading css file that lies on webroot/css/some.css<?php echo $html->css('filname_without_extenstion');?>
4. Loading javascript file that lies on webroot/js/some.jsa. In controller file, add var $helpers = array('Javascript');
b. In the layout, add <?php echo $javascript->link('filename_without_ext');?>
No comments:
Post a Comment