Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Mon, March 4, 2013 21:07, Florian Effenberger wrote:
Goran Rakic wrote on 2013-03-04 19:15:

There is still an embarrassing issue if you click the "Discover It"
link in the footer, the CSS/JS is not loading on the page.

hm, it doesn't seem to work - in this case, the upper image looks like
this:


Hi Florian,

Sorry, I sent you a link to a wrong message. :(

The problem is that the "Discover It" page is broken when the site is
accessed over HTTPS like this https://www.libreoffice.org/home/Discover

Browser denies loading CSS over insecure protocol and in dicover-it.html
there are absolute links to CSS files starting with "http://"; that will
not be loaded.

I do not see the source so I do not know if the SilverStripe is rewriting
links or if the absolute links are edited in the source on deployment.

A possible solution would be to use protocol-relative links, like
"//www.libreoffice.org/mysite/css/style.css" and/or to fix link rewriting
done by CMS if any.

This will fix the page layout when accessed over HTTPS.



There is another issue at the bottom of the page source where some
javascript files are referenced using relative urls. We are using url
rewriting so relative urls are broken.

This causes javascript errors and page transitions to be missing. It is a
minor issue but still should be easy to fix, using protocol-relative
absolute urls just like with CSS files above.

Instead "mysite/javascripts/libs/jquery-1.8.0.min.js" the link should be
"//www.libreoffice.org/mysite/javascripts/libs/jquery-1.8.0.min.js" and
like so for other files next to it.


Best,
Goran



-- 
Unsubscribe instructions: E-mail to website+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.