[Seaside] How can I specify path to css and js libs?
johan at inceptive.be
Sat Oct 11 07:12:55 UTC 2014
This what the resource base url setting  does.
I’m guessing you are including Seaside’s file libraries to add these resources to your application but that nginx captures the url’s generated by Seaside?
I think you have two options:
- forget about file libraries served by Seaside and reference the statically served files yourself (in #updateRoot: you do `` aRoot stylesheet resourceUrl: '/stylesheets/main.css’ ‘ ‘' )
- change the location where Seaside serves the file libraries (this is configurable)
Hope this helps
On 10 Oct 2014, at 21:12, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
> Hi guys,
> I am currently serving my css and js static files with nginx. But so far, all these were generated in the default root path. For example:
> <link rel="stylesheet" type="text/css" href="/TBSDevelopmentLibrary/css/bootstrap.css"/>
> Now...I would like to be able to set a different prefix path. For example, 'siteX', and then urls become:
> <link rel="stylesheet" type="text/css" href="/siteX/TBSDevelopmentLibrary/css/bootstrap.css"/>
> Why I want this? Because I want to be able to catch these into nginx locations and search the files in different places.
> Any idea how can I do this?
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside