Serendipity 2.0.1 released
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Serendipity 2.0.1 released
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Serendipity 2.0.1 released
Version 2.0.1 brought in an automated include of a templates user.css file. If you don't want to use it any more (and you have one) you have to delete or rename it manually!
Also please note, that user stylesheet selectors likenow need to use the {TEMPLATE_PATH} like in your user.css, since the content will be appended to the serendipity dynamic stylesheet.
Also please note, that user stylesheet selectors like
Code: Select all
.xxx { background-image: url(img/sunshine.jpg); }
Code: Select all
.xxx { background-image: url({TEMPLATE_PATH}img/sunshine.jpg); }
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Serendipity 2.0.1 released
This automatted include mechanism seems to have a small bug if you are using s9y in a subdirectory. I noticed it after upgrading my blog at http://www.ygriega.de/y (<- notice the 'y' subdirectory) to s9y 2.0.1 - my customized formatting was gone. :(
Workaround (if possible): Create the directory structure 'template/<template_name>' directly in the root folder of your webspace and place your user.css there. Afterwards, everything was back again. :)
@s9y dev team: As I registered only for reporting this bug, I would also like to thank you for your great work! Everything has been working smoothly for years now.
Workaround (if possible): Create the directory structure 'template/<template_name>' directly in the root folder of your webspace and place your user.css there. Afterwards, everything was back again. :)
@s9y dev team: As I registered only for reporting this bug, I would also like to thank you for your great work! Everything has been working smoothly for years now.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Serendipity 2.0.1 released
Hey,
thank you ygriega You have great pictures and reports on your blog, I'll definitely browse through it the next days!
(I must admit I never worked with custom user.css on my own, so I'm not sure how it worked before to place user.css in the root - but the way you indicate on where to place user.css is absolutely right, so thanks for appending )
Regards,
Garvin
thank you ygriega You have great pictures and reports on your blog, I'll definitely browse through it the next days!
(I must admit I never worked with custom user.css on my own, so I'm not sure how it worked before to place user.css in the root - but the way you indicate on where to place user.css is absolutely right, so thanks for appending )
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Serendipity 2.0.1 released
Yes absolutly, I have to assist this!garvinhicking wrote:You have great pictures and reports on your blog
Still strange though. What are your "Configuration" - "Path" option inputs saying?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Serendipity 2.0.1 released
Not sure I understand this correctly, but it was always supposed to be place in the theme's directory.garvinhicking wrote:I must admit I never worked with custom user.css on my own, so I'm not sure how it worked before to place user.css in the root
YL
Re: Serendipity 2.0.1 released
Another effect: Before this change if I checked the CSS with firebug or built-in firefox tool, I could see, which part of the CSS is from my user.css. Now, everything seems to come from serendipity.css. Not sure, if this is new with 2.0.1.
Regards
Mario
Regards
Mario
Re: Serendipity 2.0.1 released
Yes this is why I wrote:MarioH wrote:Now, everything seems to come from serendipity.css. Not sure, if this is new with 2.0.1.
user.css, since the content will be appended to the serendipity dynamic stylesheet.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: Serendipity 2.0.1 released
Yes, it is. Here's why: Before, your user.css was a seperate reference to a CSS file. Now, it is included in the (dynamically generated) serendipity.css. The reason for doing this is that every CSS file (as well as every external JS file, for instance) is a seperate HTTP request, which is bad for performance.MarioH wrote:Before this change if I checked the CSS with firebug or built-in firefox tool, I could see, which part of the CSS is from my user.css. Now, everything seems to come from serendipity.css. Not sure, if this is new with 2.0.1.
You should actually still be able to tell which styles are part of your user.css at least in some cases. In your user.css, you will usually override styles from your theme's style.css. For instance, you might have changed the background-color of body. Any developer tool will list the styles in the reverse order in which they appear in the stylesheet (serendipity.css), and since the user.css is included after the theme's style.css (among others), it's styles will always show up first in the dev tools.
So if you have multiple instances of CSS rules for body listed in the dev tools, the first one will usually be the one that's part of your user.css.
YL
Re: Serendipity 2.0.1 released
First, thanks for the feedback on my pictures. I really appreciate it. :)
My Configuration -> Path options seem to be OK. The absolute path contains the /y/ at the end and the relative path is exactly '/y/'. The relative template path is 'templates/' - but according to the documentation this is relative to the HTTP path. So I would say the automated user.css inclusion mechanism is ignoring these settings - or I have a strange combination here... Moreover, all the rest seems to be working smoothly (as always).
So as a summary, in 2.0.0 the user.css was working fine from /y/templates/2k11/user.css
In 2.0.1 this file is being ignored, I needed to copy it to /templates/2k11/user.css in order to make it work again. This is OK for now, but a little bit weird in the long run as I wanted to keep the blog-related stuff in this subdirectory.
My Configuration -> Path options seem to be OK. The absolute path contains the /y/ at the end and the relative path is exactly '/y/'. The relative template path is 'templates/' - but according to the documentation this is relative to the HTTP path. So I would say the automated user.css inclusion mechanism is ignoring these settings - or I have a strange combination here... Moreover, all the rest seems to be working smoothly (as always).
So as a summary, in 2.0.0 the user.css was working fine from /y/templates/2k11/user.css
In 2.0.1 this file is being ignored, I needed to copy it to /templates/2k11/user.css in order to make it work again. This is OK for now, but a little bit weird in the long run as I wanted to keep the blog-related stuff in this subdirectory.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Serendipity 2.0.1 released
Hey Ygriega,
that is really odd. The PHP code to fetch user.css is exactl tthe same like for the "style.css" file; so it should fetch both from the directory inside /y/...?!
that is really odd. The PHP code to fetch user.css is exactl tthe same like for the "style.css" file; so it should fetch both from the directory inside /y/...?!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Serendipity 2.0.1 released
Hi,
opposed to Ygriega it's working just fine for me, and I also have a subfolder installation.
http://dark-world.eu/s9y/
Did you customize a lot since you installed?
What is serendipity.css showing at the bottom? (Should be sth like "/* templates/2k11_dw/user.css */")
opposed to Ygriega it's working just fine for me, and I also have a subfolder installation.
http://dark-world.eu/s9y/
Did you customize a lot since you installed?
What is serendipity.css showing at the bottom? (Should be sth like "/* templates/2k11_dw/user.css */")