branchandroot: oak against sky (Default)
Branch ([personal profile] branchandroot) wrote in [site community profile] dw_styles2009-11-21 03:52 pm

Core variables for userpic and navlinks position?

Changing the userpic and navlinks locations seems to be something a fair number of users want. I have gotten repeated requests via pm for css to either change the side of the entry the userpic appears on or move the navlinks from the sidebar to the header. I imagine some of the other designers get these also, especially for the layouts where it's more complicated than float:left instead of right. It seems as though this is something we should work on addressing in the wizard. If there were a wizard-settable core variable, let us say position_userpic, that could be set to "left" or "right", then it would be relatively simple to include css for both as a local variable in any layout. The same is true for the navlinks, though those can be a little more of a chore to switch gracefully.

Should this be added as an enhancement/bug?

ETA: I am talking about CSS positioning for the navlinks, not altering the html.
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2009-11-21 10:39 pm (UTC)(link)
Sorry. I thought you meant moving any sidebar module to the header area, which is possible in Transmogrified for example. And when I said possible, I meant possible in the Wizard via a setting, not custom CSS. If you only mean navlinks, I think it's even simpler.

ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2009-11-21 10:51 pm (UTC)(link)
This variable already exists but is used for all modules. Designers are supposed to customize its values. This is what Core has:

set module_layout_sections = "none|(none)|one|Group One|two|Group Two";

This is how it's been customized in Negatives to give you an example:

set module_layout_sections = "none|(none)|one|Sidebar|two|Header|three|Footer";

I'm trying to see if you can only edit the subsequent property for navlinks (property string module_navlinks_section).

Designers are also free to create any variable they think is missing to their code.
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2009-11-21 11:06 pm (UTC)(link)
That's the same thing. Properties don't tell how this is implemented. They just allow people to set stuff via the wizard.

TR is Core. It's just Core with a little CSS, and, as I said the property's already there.
Edited 2009-11-21 23:06 (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2009-11-21 11:23 pm (UTC)(link)
No, as I explained, I'm trying to see if you can edit the values for the navlinks prop only or if you need to create a new prop or what.

Because you can edit properties/create your own in your layer. I did it for Funky Circles. Zvi's doing it for Refried Tablet. Both are TR-based.