Chris Hartjes wrote:
> Now, I've added the following code into the thml template I want the
> graph to appear in:
>
> vendor('charts');
> echo InsertChart($html->image('charts.swf'), "charts_library",
> $html->url('/graphs/users'));
>
> "charts_library" is supposed to represent the location
> /app/vendors/charts_library so the PHP/SWF code can find some support
> stuff.  How do I tell Cake where to find that directory?


How about VENDORS.DS."charts_library" or even better, putting a bit of
pr ($var); in the InsertChart function to see where it´s currently
looking.

With pr($var); die; you can probably solve any problem ;).

HTH,

AD7six
ps. you probably don´t need vendor('charts'); as you executed it in
the controller and it just does require_once.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to