Re: Javascript libraries with images/css inside Cake Plugins

2010-01-31 Thread Miles J
Well in that case, personally I would place everything in the vendors folder, and not in a js/css folder. On Jan 31, 4:16 am, Elte Hupkes wrote: > Yeah, the people I work for like wysiwyg though, so I'm kind'a stuck > to TinyMCE. Changing the TinyMCE structure isn't really an option, > that would

Re: Javascript libraries with images/css inside Cake Plugins

2010-01-31 Thread Elte Hupkes
Yeah, the people I work for like wysiwyg though, so I'm kind'a stuck to TinyMCE. Changing the TinyMCE structure isn't really an option, that would be an awful lot of work. And it still doesn't solve the flash file problems. On Jan 30, 9:19 pm, Miles J wrote: > Oh I also suggest Markitup compared

Re: Javascript libraries with images/css inside Cake Plugins

2010-01-30 Thread Miles J
Oh I also suggest Markitup compared to TinyMCE, because its a lot smaller and easier, and just as awesome. I ran into the same problem you did. On Jan 30, 12:17 pm, Miles J wrote: > I have an easy answer for you... get ready for it. > > Your css/images/js DO NOT HAVE TO BE structured the same way

Re: Javascript libraries with images/css inside Cake Plugins

2010-01-30 Thread Miles J
I have an easy answer for you... get ready for it. Your css/images/js DO NOT HAVE TO BE structured the same way they are when downloaded, move them around. I added Markitup to me plugin, so I customized the Markitup architecture to work with my plugin, not the other around. Take a gander: http:/

Re: Javascript libraries with images/css inside Cake Plugins

2010-01-30 Thread Elte Hupkes
That URL no longer works, I believe it's located here now: http://cakephp.lighthouseapp.com/projects/42648/13-new-features-plugin-assets Awesome news nontheless! Can't wait for a stable 1.3 release! On Dec 3 2009, 4:12 pm, "Larry E. Masters aka PhpNut" wrote: > http://code.cakephp.org/wiki/1.3/n

Re: Javascript libraries with images/css inside Cake Plugins

2009-12-03 Thread Larry E. Masters aka PhpNut
http://code.cakephp.org/wiki/1.3/new-features/plugin-assets -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Thu, Dec 3, 2009 at 4:53 AM, peterchenadded wrote: > Have a look at mediaview (http://book.cakephp

Re: Javascript libraries with images/css inside Cake Plugins

2009-12-03 Thread peterchenadded
Have a look at mediaview (http://book.cakephp.org/view/489/Media- Views). Basically, it will give you access to any file on your system including your plugins folder. If you name your controller and action properly you should be able to achieve what you want. Cheers. Check out the new CakePHP Qu

Re: Javascript libraries with images/css inside Cake Plugins

2009-12-03 Thread saintpumpkin
It's a shame, i have the same problem :( 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@

Re: Javascript libraries with images/css inside Cake Plugins

2009-11-21 Thread Elte Hupkes
Nope, no solution yet.. For now I'm just putting all my image/flash dependent libraries in /webroot/js where they can be reached, a bit of a chore in truth.. Let's just hope some cake-dev out there hears our cries ;-). On Nov 17, 6:10 pm, haimke wrote: > Hi, did you find any solution to this prob

Re: Javascript libraries with images/css inside Cake Plugins

2009-11-17 Thread haimke
Hi, did you find any solution to this problem ? It seems like a bug 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-...@googlegroups.com. To unsubscribe from this group, send email to cake-php+uns

Re: Javascript libraries with images/css inside Cake Plugins

2009-10-03 Thread womble
Its a pain, because ideally just dumping it all under plugin_name/js/ the_lib would be ideal. I haven't given up on it, just taken a break from it for a while, I'll get motivated again sometime. The only suggestion I was given was to load the library under webroot - but this takes away the abili

Re: Javascript libraries with images/css inside Cake Plugins

2009-10-03 Thread Elte Hupkes
Exactly. I know the paths are righ, because the css files and js libs do get loaded, and if I place them under the app's /webroot/ folder, so do the images/other files they include. Just not when they're inside a plugin's vendors folder (the same problem occurs with javascript in the normal vendor

Re: Javascript libraries with images/css inside Cake Plugins

2009-10-02 Thread womble
I'm pretty sure its not the 'prefacing' etc. But I may be wrong. I basically had the same problem with ext-js. I didn't ever find a good solution. But there has to be somewhere to change the Cake settings. My problem was that the library css was referencing relative urls of images, but the im

Re: Javascript libraries with images/css inside Cake Plugins

2009-09-30 Thread brian
How are you linking the css files? You should only need to preface the file name with 'plugin_name/css/', eg. $html->css('/plugin_name/css/css_filename'); On Tue, Sep 29, 2009 at 6:32 PM, Elte Hupkes wrote: > > I'm trying to develop a small backend cms-plugin, which contains some > Javascript li

Javascript libraries with images/css inside Cake Plugins

2009-09-30 Thread Elte Hupkes
I'm trying to develop a small backend cms-plugin, which contains some Javascript libraries like jQuery, jQuery-ui and TinyMCE. Doing this I stumbled upon a problem I cannot seem to solve in a good way. jQuery-ui and TinyMCE come bundled with themes, consisting of images and css files. CakePHP does