« Return to Thread: [G3/Patch] More flexibility with themes

Re: [G3/Patch] More flexibility with themes

by Chad Kieffer-3 :: Rate this Message:

Reply to Author | View in Thread

On May 26, 2009, at 11:14 AM, Bharat Mediratta <bharat@...>  
wrote:

> Romain LE DISEZ wrote:
>> My patch was a way to provide inheritance capabilities for the  
>> themes.
>> But the problem with it is that the themes can only inherit of
>> "default". Inheritance can be generalized by adding a variable to
>> theme.info :
>>    parent = <theme name>
>>
>> But I'm not sure you are interested with that, so I will not waste  
>> time
>> on it unless you ask me. My second patch was also about  
>> inheritance...
>>
>> So for now, with your patch, I can't create a theme with only :
>>    mytheme/
>>       theme.info
>>       views/
>>          simple_uploader.html.php
>> (I must copy the default theme and add the file
>> simple_uploader.html.php)
>
> We made a decision early on that we'd try to avoid things like theme
> inheritance because we were afraid that added complexity here would be
> difficult to explain to themers.  Instead we opted for what I  
> believe to
> be a more commonplace theming approach: cut and paste.  I figure  
> that it
> is trivial for a themer to just make a new variant of a theme with the
> one or two changes that they want, and if we make cloning themes  
> really
> easy then we'll have a proliferation of simpler themes to work with.
>
> thoughts?

I still believe this is the right choice and inline with current CMS  
theming systems. I believe copy/paste approach reaches the largest  
segment  of themers.

Setting up inheritance complicated themes for end users by adding  
dependencies. This may be okay for module developers to work with but  
I'm certain it'll be a turnoff to designers.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]

 « Return to Thread: [G3/Patch] More flexibility with themes