Friday, April 29, 2011

Re: Cake 1.2 problem with XML files in plugin vendors folder

There isn't any code. Its just a plain static xml file. When I put
an image, css or js file into vendors folder I can access it with a
url like /plugin_name/img/myimage.jpg. When I try to access files of
other types I get the myfile.extController could not be found error.

I get the impression that I either need to add some code to handle
different content types, or serve the static xml file from a different
location.

Levi

On Apr 28, 1:28 pm, cricket <zijn.digi...@gmail.com> wrote:
> On Thu, Apr 28, 2011 at 12:30 PM, lsenft <lse...@gmail.com> wrote:
> > I would like to load an XML file from a plugin vendors folder.  I get
> > the following error:
>
> > Error: myfile.xmlController could not be found.
>
> > Is there a way to serve xml files from a plugin's vendors folder?
>
> What's the code that leads to the error?
>
> Some days, it's like every other person posting to this list assumes
> everyone else can read minds.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: