RE: Using Minify
I am only using the Bakery one. -Original Message- From: Miles J [mailto:mileswjohn...@gmail.com] Sent: May-06-09 8:37 PM To: CakePHP Subject: Re: Using Minify Theres no point in using the minify helper, if your doing the tutorial I sent you. Either one of the other. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Minify
Theres no point in using the minify helper, if your doing the tutorial I sent you. Either one of the other. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
RE: Using Minify
I am using the http://bakery.cakephp.org/articles/view/minify-helper-for-cakephp minify Its doing what it does as I can see the js minified but I have the scripts used hard coded into the layout echo $minify->js('prototype', 'scriptaculous', 'effects'); But I would rather control that in the specific view and not the layout view. Dave -Original Message- From: Miles J [mailto:mileswjohn...@gmail.com] Sent: May-06-09 7:11 PM To: CakePHP Subject: Re: Using Minify You must be doing something wrong. Are the files being cached to the /assets/ folder? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Minify
You must be doing something wrong. Are the files being cached to the /assets/ folder? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
RE: Using Minify
Thanks for the post.. I followed the instructions...all set up no problems but now a page that took 1.5 seconds to load originally is taking 18+ seconds after adding this. And when I uncommented Configure::write('Asset.filter.css', 'assets.php'); none of my background images showed up. Ideas? Thanks, Dave -Original Message- From: Miles J [mailto:mileswjohn...@gmail.com] Sent: May-06-09 4:14 AM To: CakePHP Subject: Re: Using Minify http://www.milesj.me/blog/read/32/cssjsasset-compression-in-cakephp --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Minify
http://www.milesj.me/blog/read/32/cssjsasset-compression-in-cakephp --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Using Minify
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 meta('icon'); echo $html->css('styles'); echo $html->css('typography'); echo $scripts_for_layout; ?> and the views: 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 -~--~~~~--~~--~--~---