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.

[personal profile] feathertail 2009-11-21 10:03 pm (UTC)(link)
Post to suggestions, maybe? It does sound very useful, at least for the userpics.

The navlinks might be more difficult to position ... I'd personally like to be able to customize them some, but I'm not sure if this would cut it.

[personal profile] feathertail 2009-11-21 10:35 pm (UTC)(link)
Changing what order they're displayed in, for one ... I had a layout earlier where "Recent Entries" was at the bottom.

I was also thinking of changing the names on some of them, to be more like a WordPress blog ... like having "Home" instead of "Recent Entries." That might confuse long-time Dreamwidth / LiveJournal users, but then, the way Dreamwidth has it is different from most of the rest of the world.

[personal profile] feathertail 2009-11-21 11:15 pm (UTC)(link)
The text of them is already alterable in the wizard

It is? Huh, I guess I didn't know that. >.> Sorry. Thanks for pointing that out!

I knew things like comment sections could have different names, because I see people styling those all the time.
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2009-11-21 10:26 pm (UTC)(link)
There's already a bug for userpics (http://bugs.dwscoalition.org/show_bug.cgi?id=1813). As for moving stuff to the header, that's possible with some layouts but not Tabula-Rasa-based ones. If designers want this to be available then they can edit functions in their codes or ask for a patch when submitting their layouts.
Edited 2009-11-21 22:27 (UTC)
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.