Remove all themes but Garland and Stark from core

yoroy - October 1, 2008 - 02:08
Project:Drupal
Version:7.x-dev
Component:theme system
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Let's start improving our current selection of core-themes by simply removing some! We can begin with removing themes that don't use the PHPTemplate engine: Chameleon and Marvin.
- 'Everybody' uses PHPtemplate themes anyway, right?
- Taste aside, I think we can agree on the themes looking a bit tired. They are old and bland, let's just move on.
- Offering a theme that doesn't work without installing another theme engine first doesn't sound core-worthy anyway

#1

Michelle - October 1, 2008 - 02:11

To be clear, you don't need another theme engine to use Chameleon and Marvin. But, other than that nit, I agree 100%. Hanging out in support as much as I do, I see tons of confused newbies who don't realize that the prevalant PHPTemplate snippets don't work on Chameleon. Keeping core to just PHPTemplate themes would help that a lot.

Michelle

#2

yoroy - October 1, 2008 - 02:13

Ah, sorry about that wild assumption without checking. But yeah, avoiding that confusion is a real win here.

#3

Xano - October 10, 2008 - 14:27

I vote for removing all templates but Garland and Minelli from core. They haven't been improved since Drupal 4 AFAIK (some if not all still use tables for layout purposes) and they look like themes from before the year 2000. Keeping them in core only makes core larger than necessary.

#4

dvessel - November 6, 2008 - 16:39

I'm with Xano here. Replace them all. Pushbutton is phptemplate based but it's using tables and Bluemarine is just dated. Add in a few starter themes that are easy to work with and we should be fine.

#5

webkenny - November 6, 2008 - 17:10

+1 on this.

#6

yoroy - November 6, 2008 - 22:22

yeah, I'd agree, all themes except Garland/Minelli are outdated and are doing us a disservice now. Just wanted to start small and get some stuff removed before we even have alternatives ready.

#7

geerlingguy - February 16, 2009 - 22:29

Agreed - +1!

#8

catch - February 16, 2009 - 22:37

How did I miss this one.

#9

webchick - February 17, 2009 - 04:19

So. Who's offering to maintain these themes in contrib for the people who are still using them in production?

#10

yoroy - February 17, 2009 - 08:19

Haha. As if…
But seriously, who is maintaining PHP3 at the moment for the people who are still using it in production?
Will you really require these to be kept alive?

#11

catch - February 17, 2009 - 09:44

We don't provide backwards compatibility for code, only for user data. If we're removing core modules, then in 90% of cases we need to provide an upgrade path for user data, however in the case of throttle module where it had been superceded by better options (block caching etc.), and where having it in core was worse than not (all those extra checkboxes all over the place on already confusing screens) - we just took it out. I think these themes fall into that latter category.

If there really are sites out there using them in production, then those which are using hacked up versions of these themes have work to do either way - whether re-applying changes to the 'base' theme, or following the upgrade instructions for their 'custom' theme. The number of sites actually running one of these themes in any recognisable state that I've seen in the past two years I can count on one finger, and those have plenty of better alternatives to choose from in contrib.

And they aren't maintained in core either:
http://cvs.drupal.org/viewvc.py/drupal/drupal/themes/bluemarine/
http://cvs.drupal.org/viewvc.py/drupal/drupal/themes/pushbutton/
http://cvs.drupal.org/viewvc.py/drupal/drupal/themes/chameleon/

#12

mr.baileys - March 10, 2009 - 07:13

Chameleon has moved to contrib and John Albin has volunteered to maintain it (see #374650: Chameleon broken by hook_page_alter).

http://drupal.org/project/Chameleon

I guess this means Chameleon can now be removed from core?

#13

catch - March 10, 2009 - 15:16
Category:feature request» task
Status:active» needs review

Patch (minus the binaries).

AttachmentSizeStatusTest resultOperations
chameleon.patch15.13 KBIdleFailed: Failed to install HEAD.View details | Re-test

#15

System Message - March 10, 2009 - 15:40
Status:needs review» needs work

The last submitted patch failed testing.

#16

kika - March 10, 2009 - 15:59

[cry] Nooooo, my loved baby! [/cry]

Ok, although she had some attraction 5 years ago, she's now adult and ready live in a countryside with her equally ugly husband Marvin.

Somebody said "taken to the pasture"?

#17

JohnAlbin - March 10, 2009 - 17:24
Title:Remove all non-PHPtemplate based themes from core: Chameleon and Marvin» Remove all themes but Garland from core

Ok, so I own http://drupal.org/project/Chameleon

I created a request in the bluemarine-in-contrib issue queue to get access to it: #397274: Project maintainership

But, the Pushbutton contrib in CVS doesn't have a project page. And from the $Id$ tags it looks like Dries owns it. So I started #397478: Change ownership of contributions/themes/pushbutton to get that sorted.

@catch: it's strange that removing the content's of those files cause the Drupal installer to stop working. Odd.

#18

JohnAlbin - March 11, 2009 - 01:35

I now own http://drupal.org/project/bluemarine. I'll update the code in CVS shortly.

#19

momendo - March 11, 2009 - 13:46

What about the Stark theme? I think the title should reflect that.

#20

kika - March 11, 2009 - 14:01
Title:Remove all themes but Garland from core» Remove all themes but Garland and Stark from core

#21

skiquel - March 11, 2009 - 16:52

I think Garland may be referred to as a "Classic" Drupal theme to keep in there.

Good job guys.

#22

alexanderpas - March 11, 2009 - 17:30

sad to see bluemarine removed from core.... it was a great, simple (starter) theme, very drupalish (blue), which was just outdated and needed updating to current best practices.

we need a new starter theme like bluemarine in core (another issue...)

#23

Xano - March 11, 2009 - 17:40

I don't see what was so great about Bluemarine. Garland does a far better job. Besides, we can linger in the past and decide not to remove those old themes from core, or we can remove them to prevent core from looking old and foolish for newcomers.

#24

JohnAlbin - March 11, 2009 - 18:15

I now own:

http://drupal.org/project/bluemarine
http://drupal.org/project/chameleon
http://drupal.org/project/pushbutton

I'm just waiting for the packaging scripts to create the tarballs for the -dev releases I created. :-)

Patch attached. I'm betting the testbot will fail to apply the patch because it removes image files. I'll re-roll without them if it does.

AttachmentSizeStatusTest resultOperations
drupal-remove-crufty-themes-315533.patch70.33 KBIdleFailed: Invalid PHP syntax in themes/bluemarine/block.tpl.php.View details | Re-test

#25

JohnAlbin - March 11, 2009 - 18:15
Status:needs work» needs review

#26

System Message - March 11, 2009 - 18:30
Status:needs review» needs work

The last submitted patch failed testing.

#27

JohnAlbin - March 11, 2009 - 18:43
Status:needs work» needs review

Yep. Re-rolled patch without image references. Those will have to manually deleted.

AttachmentSizeStatusTest resultOperations
drupal-remove-crufty-themes-315533-27.patch56.82 KBIdleFailed: Invalid PHP syntax in themes/bluemarine/block.tpl.php.View details | Re-test

#28

System Message - March 11, 2009 - 18:55
Status:needs review» needs work

The last submitted patch failed testing.

#29

catch - March 11, 2009 - 19:09
Status:needs work» reviewed & tested by the community

We have contrib projects and a reliable maintainer. If the patch doesn't actually work, cvs remove will do.

#30

JohnAlbin - March 11, 2009 - 21:08

Here's a patch which just updates the CHANGELOG.txt. (catch asked for this in IRC just now.)

AttachmentSizeStatusTest resultOperations
drupal-remove-crufty-themes-315533-30.patch1.8 KBIdleFailed: Failed to run tests.View details | Re-test

#31

JohnAlbin - March 11, 2009 - 21:09

Doh! Here's the correct patch.

As we add new themes to core, we can add them into this same line in the CHANGELOG.

AttachmentSizeStatusTest resultOperations
drupal-remove-crufty-themes-315533-31.patch968 bytesIdlePassed: 10551 passes, 0 fails, 0 exceptionsView details | Re-test

#32

kika - March 11, 2009 - 21:12

"Replaced the bluemarine, chameleon and pushbutton themes with Stark" -- i do not see the logic ("with Stark" part).

#33

geerlingguy - March 11, 2009 - 21:30

@ kika - We don't mean that stark is replacing those three themes... for now, we're removing old cruft, with the plan of getting a few new themes into core. And hopefully a new default theme (that remains to be seen, though!).

Stark is an excellent theme for a person wanting to develop a new theme; it's terrible for half the people that download Drupal to quickly set up a new website though. That's why it will be installed with core, but not enabled. We hope there is a new killer theme for the default core theme.

#34

alexanderpas - March 12, 2009 - 00:33

I don't see what was so great about Bluemarine. Garland does a far better job. Besides, we can linger in the past and decide not to remove those old themes from core, or we can remove them to prevent core from looking old and foolish for newcomers.

ever tried learning theming with garland???

It's a lot harder because of the "unneeded files" (e.g. color module support) while bluemarine is just 5 .tpl.php files, 3 images (1 logo, 2 screenshots), 1 CSS file (+1 CSS file for RTL support ), LICENSE and README, and the .info file, while still supporting the full drupal toolkit.

this made it perfect for a new themer to get used to drupal, in an easy way,
also, since it had clear CSS rules, it was easy to understand.

but the best thing about bluemarine was, it had that nice, warm drupal feeling, unlike charmeleon and pushbutton.

i'm not cracking down on Garland (unlike charmeleon and pushbutton) here, each theme has it's own strengths and weaknesses

#35

geerlingguy - March 12, 2009 - 01:38

@ Alexander Pas - the problem, though, is that even having 5 .tpl.php files can be quite daunting for a first-time themer. The goal is to have more CSS-based themes, and have the whole theming idea be very designer-friendly, and lean on the PHP. Personally, I would hope we can make the core theme simply be a CSS file, maybe a few images in an 'images' folder, and a .info file. Especially since that would show off how amazingly designer-friendly the core output is.

It would also be nice to have a good README.txt file in the core default theme, explaining how people can easily extend and adapt the core theme to do whatever they'd like to do, including copying in a .tpl.php file or two.

#36

JohnAlbin - March 12, 2009 - 13:33
Status:reviewed & tested by the community» needs work

There are some tests that check switching of themes that need to be updated as well.

#37

JohnAlbin - March 12, 2009 - 14:38
Status:needs work» needs review

Added updated block.test tests. And updated CHANGELOG wording.

AttachmentSizeStatusTest resultOperations
drupal-remove-crufty-themes-315533-37.patch2.02 KBIdlePassed: 10551 passes, 0 fails, 0 exceptionsView details | Re-test

#38

catch - March 12, 2009 - 14:55

Looks good to me, waiting for test bot.

#39

catch - March 12, 2009 - 15:25
Status:needs review» reviewed & tested by the community

#40

alexanderpas - March 12, 2009 - 17:43

@ Alexander Pas - the problem, though, is that even having 5 .tpl.php files can be quite daunting for a first-time themer. The goal is to have more CSS-based themes, and have the whole theming idea be very designer-friendly, and lean on the PHP. Personally, I would hope we can make the core theme simply be a CSS file, maybe a few images in an 'images' folder, and a .info file. Especially since that would show off how amazingly designer-friendly the core output is.

First of all, I completely agree with you. bluemarine shoudn't be a starting point for theme developpers (neither should garland), but a simple CSS+images only stylesheet should be, however, when wanting to expand the theme, the transfer from CSS+images to e.g. Garland is still way to big, bluemarine would have filled thig gap perfectly.

remember that some people like to learn from example, while others learn by reading ;)

I was thinking of a learning curve like this (included stark as the "no theme")
stark >> (new CSS only theme bluesky?) >> bluemarine >> garland

#41

yoroy - March 12, 2009 - 18:30

Guys, have a look at http://groups.drupal.org/node/16200 for the bigger picture on new core themes. The issue queue is not the best place to discuss "big ideas" and you'll find a lot more info, audience and context over there. Thanks!

#42

JohnAlbin - March 12, 2009 - 19:36

Actually, a more updated plan is on the Community Initiatives page under Design & Theming:
http://drupal.org/community-initiatives/drupal-core/theming

And, if I can plug my DCDC session video… :-) http://dc2009.drupalcon.org/session/how-kill-blue-marine-new-core-themes...

#43

Dries - March 14, 2009 - 09:45

I support removing these themes, but I'll let webchick do the commit.

I think we should move these themes to contrib so people can continue to maintain and use them.

The next step could be remove support for different template engines and standardize on PHPtemplate? Just thinking up loud.

#44

Michelle - March 14, 2009 - 14:11

@Dries: JohnAlbin is already taking care of them in contrib. As much as I love PHPTemplate, there are some people firmly in the smarty camp and I think you'd have an outcry unless it could somehow be made to work from contrib.

Michelle

#45

momendo - March 14, 2009 - 14:33

We could use a new issue for removing other template engines in Drupal. Let the smarty folks duke it out there.

#46

webchick - March 14, 2009 - 17:27
Status:reviewed & tested by the community» fixed

*drumroll*

I now present to you: Drupal 7, 75% less ugly than before!! Hoorayyy! :)

Great job, folks!!!

#47

webchick - March 14, 2009 - 17:29

Incidentally, for posterity, here was my case for this patch. Thanks, Dries. :)

One of the groups of people I spend a lot of time talking to (both at
Drupalcon, and IRC, and "real life" and...) are designers and themers.
Drupal has quite a few pain points that prevent designer adoption, which
hurts our ability to compete with products like WordPress that have tons of
beautiful themes to try out.

One of the primary reasons for this is that designers get a face-slap of
ugly the first time they install Drupal and go looking for something other
than Garland to style their site. Pushbutton? Ugh... Table-based with
PowerPoint '97 *arrows*? Chameleon? Also table-based, AND none of the theme
snippets work for it, since it's not PHPTemplate-based. And, well.
Bluemarine just is looking pretty dated these days. :) This first impression
often leaves designers scrambling as far away from Drupal as possible, to
prettier looking products until they finally hit their limitations and
begrudgingly come slinking back.

There are a number of things that members in the design/theming community
are doing to help address these pain points (improved documentation, a
"theme drive" to help get more awesome themes in contrib to choose from,
etc.), but a *really* simple first step is simply removing all of these ugly
themes so this first impression doesn't sting quite so much:
http://drupal.org/node/315533. I think if we did this, it would send a big
message to the design community that we're taking their issues seriously,
and would encourage more patches from them. I've even coerced John Wilkins
to take over maintenance of these themes in contrib so that people currently
depending on them can still get them in D7.

What say you? :) Can I commit that sucker? :D

#48

Michelle - March 14, 2009 - 17:38

Go Webchick!

Michelle

#49

yoroy - March 14, 2009 - 20:23

Good news, glad we could do this without requiring new themes to replace these. Less is more!

#50

rickvug - March 14, 2009 - 20:44

My happy dance ensues! Webchick, I was going to track you down in DC to make my case for this. Looks like you were one step ahead. Thanks :)

#51

System Message - March 28, 2009 - 20:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#52

dww - June 13, 2009 - 09:23

FYI: This (minorly) "broke" update.module: #490562: Hard-coded list of core themes for update module is now stale (and yes, I know, #253501: Tests for update.module would be nice). ;) Just something to keep in mind when folks are adding/removing core themes. Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.