Monday, June 29, 2009

css sharing not working.

Hello.

i'm having some troubles with css sharing.

my cake folder tree looks like this

cake
apps
app_1
webroot //note: this folder is empty
app_2
webroot //note: this folder is empty
shared_items
views
vendors
css
test.css
js
tcpdf

as stated in this --->
http://groups.google.com/group/cake-php/browse_frm/thread/b4414e0a78d37a63/01fcac2a00ae08de?lnk=gst&q=share+css#01fcac2a00ae08de
thread i created a vendors/css folder

i also added additional paths to both apps in bootstrap.php

if (!defined("SHARED_ITEMS_FOLDER")) {
define("SHARED_ITEMS_FOLDER", dirname(ROOT) . DS ."shared items".
DS);
}

$viewPaths = array(SHARED_ITEMS_FOLDER ."views". DS);
$vendorPaths = array(SHARED_ITEMS_FOLDER ."vendors". DS);

now... cake is still searching for css in app/webroot/css folder.
--~--~---------~--~----~------------~-------~--~----~
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: