Okay. Understood. Thanks!
It works like all of you suggested to put all files in one directory
under webroot (e.g. webroot/js/syntaxhighlighter/) and then use
$html->css('../js/syntaxhighlighter/styles/shCore', null, null,
false);
$javascript->link('syntaxhighlighter/scripts/shCore', false);
I started and hoped that I can reuse such complete packages better by
locating it in vendors ... but that seems to be impossible. What if I
have a package which consists of a PHP class, JS and CSS plus images.
Do I have to move JS, CSS and images to webroot and keep the php class
in a vendor directory? According to your answers I assume yes ... not
really perfect in my eyes .. but I understand that it can get very
complex if vendors is not available for the webserver to show as
webroot is the only public area ...
Thank you so far.
Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---