Re: Problem with Silva layout (2.2) on Windows

"Luthiger Stoll Benno" <[email protected]> Fri, 11 Jun 2010 15:43:39 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hello all

I have a follow up to my problem with developing Silva layouts on Windows:

When I add the css 'by hand', e.g. by adding the following code to my mainlayout.pt:
===
    <style media="all" type="text/css" 
           tal:content="structure string:
      <!-- 
      @import url(&quot;${context/@@absolute_url}/++resource++Products.my_layout/my_style.css&quot;); 
      -->
      ">
    </style>
===
all images referenced in the css are resolved and displayed as expected.

I hesitate to state this as a solution, because going this way, I abandon to reuse the Porto layout resources.
In addition, the Multiflex skin doesn't work when I install Silva 2.2 on a Windows box.

Any hints?

Regards,
Benno


-----Original Message-----
From: silva-dev-bounces-IAPFreCvJWM6s/[email protected] [mailto:silva-dev-bounces-IAPFreCvJWM6s/[email protected]] On Behalf Of Luthiger Stoll Benno
Sent: Mittwoch, 9. Juni 2010 11:38
To: Kit BLAKE
Cc: silva-dev-IAPFreCvJWM6s/[email protected]
Subject: Re: [silva-dev] Problem with Silva layout (2.2) on Windows

> ... those references don't work?
Yes, that's the short version of my longish explanation.

Benno

-----Original Message-----
From: Kit BLAKE [mailto:[email protected]]
Sent: Mittwoch, 9. Juni 2010 11:35
To: Luthiger Stoll Benno
Cc: silva-dev-IAPFreCvJWM6s/[email protected]
Subject: Re: [silva-dev] Problem with Silva layout (2.2) on Windows

Benno,
Do I interpret this correctly that, when you have Silva 2.2 installed on a Windows machine, those references don't work?

Kit


On 8 Jun 2010, at 16:19, Luthiger Stoll Benno wrote:

> Hello all
>
> Working with the new Silva concept of layers, skins and layouts, I 
> stumbled about a problem which seems to be Windows specific (Windows 
> 7). (At least on my Linux box, the installation shows the expected 
> behaviour).
>
> The problem is about the images referenced by the layout's css.
> I work with the multiflex layout to explain the phenomenon because 
> this layout uses various images for its layout.
>
> When I display a published document in the browser, the css is 
> imported using a url like:
> @import
url("http://localhost:8087/silva/my_sites/++resource++9402bdd5de160c5f6c3626
f0b3697b86b69e18ec/resource.css 
> ");
>
> When I view the page info (using Firefox) I notice various images 
> referenced on the media tab, e.g.:
>
http://localhost:8087/silva/my_sites/++resource++9402bdd5de160c5f6c3626f0b36
97b86b69e18ec/bg_head_top.jpg
>
> The css seems to be imported correctly, but none of the images are 
> displayed.
> When I paste the url into the browser's url field, the css is 
> displayed as expected, but none of the images can be found.
>
> As said above, this seems to be a Windows problem only. On my Linux 
> box, the pages a rendered with the expected layout.
>
> Can anybody confirm this finding?
>
> Regards,
> Benno
>
>
> _______________________________________________
> silva-dev mailing list
> silva-dev-IAPFreCvJWM6s/[email protected]
> https://lists.infrae.com/mailman/listinfo/silva-dev

--
Kit BLAKE . Infrae . http://infrae.com/ + 31 10 243 7051