Clean Blog - a fully responsive, mobile 1st s9y theme

Skinning and designing Serendipity (CSS, HTML, Smarty)
User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Clean Blog - a fully responsive, mobile 1st s9y theme

Post by Don Chambers » Sat Apr 04, 2015 5:48 pm

You can read about it on my blog.

A full explanation of configuring and using Clean Blog can be found on the Clean Blog demo.

This theme will become a core serendipity theme in an upcoming release, but it would be great to get some feedback and/or bug reports before that happens.

Thanks & enjoy!

MarioH
Regular
Posts: 234
Joined: Mon Jul 20, 2009 10:53 pm
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by MarioH » Mon Apr 06, 2015 10:14 am

Hi Don,

thank you for your work. I tried to install the theme in my Testblog an get the following error:

Code: Select all

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/var/www/s9y20/templates/clean-blog/index.tpl" on line 11 "{if ($view == "entry" || $view == "start" || $view == "feed" || $view = "plugin" || $staticpage_pagetitle != "" || $robots_index == 'index')}" - Unexpected " = " <-- thrown in /var/www/s9y20/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 11
I'm using Serendipity 2.1-alpha1 on PHP 5.4.39.

Regards
Mario

User avatar
yellowled
Regular
Posts: 7083
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by yellowled » Mon Apr 06, 2015 12:36 pm

Pretty sure the culprit is

Code: Select all

{if ($view == "entry" || $view == "start" || $view == "feed" || $view = "plugin" || $staticpage_pagetitle != "" || $robots_index == 'index')}
the single = in front of "plugin", I'm just not sure whether it should be == or !=.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

MarioH
Regular
Posts: 234
Joined: Mon Jul 20, 2009 10:53 pm
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by MarioH » Mon Apr 06, 2015 1:42 pm

That was simple. :)

I replaced the "=" with "==" and it works.

Thanks.

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by Don Chambers » Mon Apr 06, 2015 2:45 pm

Good catch I just updated the zipfile.

User avatar
u1amo01
Regular
Posts: 268
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by u1amo01 » Tue Jun 16, 2015 3:44 pm

Hi Don. Thank you very much for this theme. I use it for my blog since last weekend and so far everything looks fine.

Found a typo in the german version of the theme configuration:
"Seiten-Optionen" (Page Options: Show entry body on single entry page view only) --> "Eintags-Inhalt nur in der Einzelansicht eines Eintrags anzeigen" should be "Eintrags-Inhalt", IMHO.

Just one point so far:
When I switch "Page Options - Show entry body on single entry page view only" to "No", than I see in the blog home page the last 10 blogposts (or what else is configured), but no information about comments or a link / icon to the comment form.

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by Don Chambers » Tue Jun 16, 2015 9:55 pm

u1amo01 wrote:Hi Don. Thank you very much for this theme. I use it for my blog since last weekend and so far everything looks fine.
Your site looks great! It is nice to see the theme on something other than my demo site!
u1amo01 wrote:Found a typo in the german version of the theme configuration:
"Seiten-Optionen" (Page Options: Show entry body on single entry page view only) --> "Eintags-Inhalt nur in der Einzelansicht eines Eintrags anzeigen" should be "Eintrags-Inhalt", IMHO.
Nice catch. I will modify the german language files.
u1amo01 wrote: When I switch "Page Options - Show entry body on single entry page view only" to "No", than I see in the blog home page the last 10 blogposts (or what else is configured), but no information about comments or a link / icon to the comment form.
This theme does not show a link to comments or trackbacks.

When looking at your search form, I noticed it does not display as intended. Did you modify the stylesheet or are you using a user stylesheet (user_style.css)? The cause of your form not displaying correctly comes from this css:

Code: Select all

#searchform, #sidebar_left, #sidebar_right {
    width: 33%;
}
Perhaps code you used with a different theme?

User avatar
onli
Regular
Posts: 2264
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by onli » Tue Jun 16, 2015 11:11 pm

"Seiten-Optionen" (Page Options: Show entry body on single entry page view only) --> "Eintags-Inhalt
Don, if we want to make it even correcter, rename it to "Seitenoptionen" and "Eintragsinhalt". The - is not needed there.

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by Don Chambers » Wed Jun 17, 2015 5:04 am

onli wrote:
"Seiten-Optionen" (Page Options: Show entry body on single entry page view only) --> "Eintags-Inhalt
Don, if we want to make it even correcter, rename it to "Seitenoptionen" and "Eintragsinhalt". The - is not needed there.
Thanks. I'm going to defer to my translator - the one and only yellowled!!! Your opinion Matthias?

User avatar
u1amo01
Regular
Posts: 268
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by u1amo01 » Wed Jun 17, 2015 9:37 am

Don Chambers wrote: Of course "Seitenoptionen" and "Eintragsinhalt" would be better. Sorry, I've missed that.
[...]
This theme does not show a link to comments or trackbacks.
Yes. But when "Page Options - Show entry body on single entry page view only" is "No" it's IMHO difficult for a reader to find the comment form. He has to click on the entry title to see the comment form. Hmm.
When looking at your search form, I noticed it does not display as intended. Did you modify the stylesheet or are you using a user stylesheet (user_style.css)? The cause of your form not displaying correctly comes from this css:

Code: Select all

#searchform, #sidebar_left, #sidebar_right {
    width: 33%;
}
Strange. Looks really like code from the former theme. I have no idea how it is included here. I didn't use a user.css with clean-blog

I have to check this later. Maybe I'll delete the clean-blog theme and install it again.

User avatar
u1amo01
Regular
Posts: 268
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by u1amo01 » Wed Jun 17, 2015 11:21 am

One thing I don't understand:

Today I wrote an article with a subtitle and an own header image (that's realised with the plugin serendipity_event_entryproperties). I saved it and ... the subtitle and header image disappear.

Maybe a problem with the database? I used the plugin serendipity_event_entryproperties a long time ago.

Strange.

I think I'll set up a fresh test blog with a new database and test clean-blog there.

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by Don Chambers » Wed Jun 17, 2015 6:53 pm

u1amo01 wrote:
Don Chambers wrote:This theme does not show a link to comments or trackbacks.
Yes. But when "Page Options - Show entry body on single entry page view only" is "No" it's IMHO difficult for a reader to find the comment form. He has to click on the entry title to see the comment form. Hmm.
I don't see any value in providing a link directly to the comment form on an overview page for this theme. Why would anyone jump directly to the comment form without first reading the entry?
u1amo01 wrote:
Don Chambers wrote: When looking at your search form, I noticed it does not display as intended. Did you modify the stylesheet or are you using a user stylesheet (user_style.css)? The cause of your form not displaying correctly comes from this css:

Code: Select all

#searchform, #sidebar_left, #sidebar_right {
    width: 33%;
}
Strange. Looks really like code from the former theme. I have no idea how it is included here. I didn't use a user.css with clean-blog.

I have to check this later. Maybe I'll delete the clean-blog theme and install it again.
I figured this out - in 2.0.1, a new feature was introduced that will automatically include a theme's user stylesheet named user.css if it exists in the theme's folder. Unfortunately, it will automatically load this file from the 2k11 theme folder if the active theme does not have this file. I have brought this to the attention of other developers for discussion in a different thread. The temporary solution would be to rename /templates/2k11/user.css to something else IF you are not using 2k11.

User avatar
yellowled
Regular
Posts: 7083
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by yellowled » Wed Jun 17, 2015 7:05 pm

Don Chambers wrote:The temporary solution would be to rename /templates/2k11/user.css to something else IF you are not using 2k11.
Untested: couldn't you just have an empty user.css in the child theme's directory?

As for the translations, there really is no need to check everything with me. I don't have time to check it out at the moment anyway, and somebody actually using the theme will probably know better than me anyway.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by Don Chambers » Wed Jun 17, 2015 7:21 pm

u1amo01 wrote: Today I wrote an article with a subtitle and an own header image (that's realised with the plugin serendipity_event_entryproperties). I saved it and ... the subtitle and header image disappear.
This theme has another dependency, as noted here:
This theme requires Serendipity 2.0, but is also dependent on the event plugin nl2br. The event plugin nl2br is not required with Serendipity 2.0.2 and newer.
I see you are using s9y 2.0.1. Do you have the nl2br plugin installed?

User avatar
u1amo01
Regular
Posts: 268
Joined: Fri Sep 28, 2007 3:55 pm
Location: Kurpfalz, Germany
Contact:

Re: Clean Blog - a fully responsive, mobile 1st s9y theme

Post by u1amo01 » Wed Jun 17, 2015 11:17 pm

I have put an empty user.css (just with comments) into the clean-blog directory and search looks fine.

Also installed the nl2br plugin, problem solved. Sorry for that. :oops:
Don Chambers wrote: I don't see any value in providing a link directly to the comment form on an overview page for this theme. Why would anyone jump directly to the comment form without first reading the entry?
Maybe a question of my english language abilities. When clean-blog is configured the way I have it now (shows full entries instead of 70 signs --> see http://u1amo01.de/blog ), then I think it's difficult for a reader to find out, how he can write a comment. Hope it's understandable now :-)

Best wishes,
Klaus

Post Reply