zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)
still kind of a stealthy love ninja ([personal profile] zvi) wrote in [site community profile] dw_suggestions2009-09-03 06:39 am

Cumulative layout credits

Title:
Cumulative layout credits

Area:
styles

Summary:
Currently, the layout credit module displays the credit from the lowest layer in the tree where it is coded, typically the theme layer. The layout credit module should add up the credit from all of the layers.

Description:
When one picks a style from the select style page, you are choosing two things at once, a layout layer and a theme layer. For most DW styles so far, a theme layer is a color scheme and maybe a header graphic. The layout layer does more to control the, er, shape of elements.

The way the layout credit module currently works, the credit displays the credit info from the lowest layer in the style, usually the theme/color scheme, but, presumably, it would take it from the user layer if one wrote one there.

This means that people who ought to be getting credit aren't getting it, even though there is code written to credit them.

The main drawback is that I think this might require re-working inheritance in S2 in a way that is bad for just about everything else one might do in S2.

The alternate way to do it might just be to write in the layout layer creator's name when adding theme layers to the official styles. (The drawback to this method is that it is a social hack, instead of a code hack.)

Poll #1155 Cumulative layout credits
Open to: Registered Users, detailed results viewable to: All, participants: 27


This suggestion:

View Answers

Should be implemented as-is.
14 (51.9%)

Should be implemented with changes. (please comment)
4 (14.8%)

Shouldn't be implemented.
0 (0.0%)

(I have no opinion)
9 (33.3%)

(Other: please comment)
0 (0.0%)

yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2009-09-03 11:16 am (UTC)(link)
The main drawback is that I think this might require re-working inheritance in S2 in a way that is bad for just about everything else one might do in S2.

I don't think that's necessary. We could have one variable style_credit which is defined in layout.s2 and one variable theme_credit which is defined for each theme in themes.s2 and display both if both exist, or just the style_credit if both are the same / there is no theme_credit.

Edit: We could also then have people be able to override theme_credit (if that's possible), so they can add credit to whoever wrote the custom CSS they are using - we have had at least one support request about wanting to add credit into that module.
Edited 2009-09-03 11:19 (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-09-03 11:23 am (UTC)(link)
The layout_credit variable can already take multiple author names; I don't know if it's better to put everything in there, or separate them into "Layout" versus "Theme".
turlough: castle on mountain top in winter, Burg Hohenzollern ((mcr) bob approves)

[personal profile] turlough 2009-09-03 02:50 pm (UTC)(link)
Yeah, me too.
kaigou: this is what I do, darling (electric)

[personal profile] kaigou 2009-10-28 03:39 pm (UTC)(link)
+1
turlough: castle on mountain top in winter, Burg Hohenzollern ((mcr) bob approves)

[personal profile] turlough 2009-09-03 02:51 pm (UTC)(link)
Oh yes!
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2009-09-03 12:45 pm (UTC)(link)
I'd rather have layout_credit rewritten in the theme to include the layout author's name.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2009-09-03 05:43 pm (UTC)(link)
Because I like the way inheritance currently works fine. The property can be edited. Why not do that?
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2009-09-03 06:25 pm (UTC)(link)
I don't see it like this.

I hadn't read this comment. Sure, another property would work too.