Saturday, August 1, 2009

Re: Vendors handling with js/css script packages without breaking their file structure

On Jul 30, 9:33 pm, AD7six <andydawso...@gmail.com> wrote:
> On Jul 30, 12:07 am, Miles J <mileswjohn...@gmail.com> wrote:
>
> > You cant link to css/js in vendors. You have to place it in the
> > webroot js/css folders.
>
> based on what are you stating that?

Miles please be careful to check what you're posting. Many users will
follow what you say because you're an active member of the group, and
generally provide useful and accurate info.

Why would cake come with these folders: https://trac.cakephp.org/browser/branches/1.2.x.x/vendors
If there were not there to be used?
What did you try to conclude this isn't possible?

You've always been able to access vendor js/css files and the url to
access them is the same as if the files were in the webroot - after
all why should the user or your code care where the js/css file is
coming from. What's more you can embed php logic in vendor served css/
js files.

A demo for the curious. http://bin.cakephp.org/view/1034719276

AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

No comments: