I am attempting to add the minify code as per the Bakery
http://bakery.cakephp.org/articles/view/minify-helper-for-cakephp
 
Stuck here
Use $minify->js() and $minify->css() functions in the layout. Both functions
require an array of asset names without their extensions.
 
My layouts have 
 
<?php
  echo $html->meta('icon');
    echo $html->css('styles');
    echo $html->css('typography');
  echo $scripts_for_layout;
 ?> 
 
and the views:
 
<?php echo $javascript->link(array('prototype', 'scriptaculous','effects'),
false); ?>
 
How to use the $minify->js() and $minify->css() , where? 

Thanks,

Dave 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to