I had understood that, but I don't see the point of specifying the 'url' field in config.php.
Also, with the multiple apps configuration, I get errors like "NetworkError: 404 Not Found - http://localhost/owncloud/apps2/calendar/img/icon.svg", but this might be just something wrong in my configuration or some cache problem. my config.php looks like this: 'apps_paths' => array ( array ( 'path' => '/var/www/owncloud/apps', 'url' => '/apps', 'writable' => true, ), array ( 'path' => '/var/www/apps', 'url' => '/apps2', 'writable' => true, ), ), Thanks, Alessandro On Tue, Aug 28, 2012 at 6:28 AM, eMerzh <[email protected]> wrote: > Ok, so previously if you want to use an image in your css you do smth > like %webroot%apps/myapp/myimage.jpg > now your app can be either under apps/ or core_apps under you webroot... > > so now you can use in your css file a %appswebroot% > (https://github.com/owncloud/core/blob/master/lib/minimizer/css.php#L25 > ) that will take the path to the apps dir of the app > > if your app is under core_apps then it will give you something like > my/web/root/core_apps ... > then you just have to add your app name and the path to the image > > previously => %webroot%apps/myapp/myimage.jpg > now => %appswebroot%/myapp/myimage.jpg > > I think this should work ( if not, i have to dig deeper to remember :p) > > hope it get a little bit clearer for you... > > > On Tue, Aug 28, 2012 at 12:18 PM, Alessandro Cosentino > <[email protected]> wrote: >> Edited: I asked a similar question a month ago. I understand that in >> case of multiple app folders, those folders are scanned in case of >> relative path, such as the css %appswebroot%. My question is: when is >> the 'url' specified in the config file used? >> >> On Tue, Aug 28, 2012 at 5:50 AM, Alessandro Cosentino <[email protected]> >> wrote: >>> Hi Frank, >>> thanks! >>> It's still not clear to me what the url should be. For instance, in a >>> css, where does "%appswebroot%" point to? >>> >>> Alessandro >>> >>> On Mon, Aug 27, 2012 at 7:05 AM, Frank Karlitschek <[email protected]> >>> wrote: >>>> Hi, >>>> >>>> because several people asked. Here is the description how to configure the >>>> multiple apps directory feature: >>>> https://github.com/owncloud/core/blob/master/config/config.sample.php >>>> >>>> >>>> Frank _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
