Wednesday, August 18, 2010

Re: vendors css

On Aug 18, 12:12 pm, "s@m" <samuel.degi...@gmail.com> wrote:
> Hello,
> I was updating my Cakephp application from 1.2 to 1.3 and got into a
> compatibility problem.
>
> The Cookbook says:
> vendors/css, vendors/js, and vendors/img
> Support for these three directories, both in app/vendors as well as
> plugin/vendors has been removed. They have been replaced with plugin
> and theme webroot directories.
>
> Now here's my problem: I have in the app/vendor directory all my css
> and js, which I use in all my cake websites and I want these files to
> be shared among all the websites. That's why I used to have a unique
> vendor folder that was soft-linked in every application app folder.
> But now it isn't supported anymore.
>
> Does anybody  know how to get this feature back on, but (here's the
> challenge) without editing the cake core libs ?
> Thanks

Either
move over to using theme support
Or
route /css /js and /img to a controller that'll handle serving (and|
or storing to your webroot) missing assets

hth,

AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate