[personal profile] yestoday posting in [community profile] style_system
hello! i have a kind of specific question:

is there a way to switch the order the metadata is displayed in? the metadata originally displays in the order of mood, then location, then music--so, is there something i can put into my code to make it so that it shows, say: music, then location, then mood?

thanks!

Date: 2022-04-14 01:47 pm (UTC)
cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)
From: [personal profile] cimorene
I'm not sure how the advanced customization wizard works. It might have different requirements... let me see if I can find some documentation about that...

Date: 2022-04-14 02:01 pm (UTC)
cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)
From: [personal profile] cimorene
Okay, the problem is that Wizard layers cannot override functions and set properties. https://wiki.dreamwidth.net/wiki/index.php/S2_Guide:_Style_System_Overview#Layer_Basics

You need to create a theme layer instead. If you want to use the content of an official theme layer and still add your overrides to it, you need to copy the content of the official theme layer and paste it into a new layer first. This is a little bit of a hassle, but it's not hard! Go to the Public Layers page and find the layer you want. You can search in page for it. Dryads is here. Then click on "Raw Code" or "Syntax Highlighted" (it's the same just the text is colored in syntax highlighted). You see the complete text of the layer. Just select all, copy, and put it in a text file or something.

Then go back to Create New Layer and make a Theme layer instead of a Wizard layer. When you open it to edit, simply delete the lines at the top and then paste the entire contents of the theme layer you saved into it. This will preserve the credit to the original theme layer author as well. (You can also change the credit or the name if you want.) Then make your modifications! And in terms of the override, it's just pasting it at the end. I don't think you have any brackets missing or anything like that. It should save and compile correctly.
Edited (fix link) Date: 2022-04-14 02:03 pm (UTC)

Date: 2022-04-15 11:04 am (UTC)
cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)
From: [personal profile] cimorene
Nah, it's fine! People were around here answering my questions when I was figuring this stuff out and I'm just glad to pay it forward :D

But anyway, yeah, you can delete the wizard layer no problem. It'll just remove anything you might have done using the wizard in the regular non-advanced customization area - you probably didn't do anything there since you had coded your modifications by hand, but if you ever use the wizard to change the colors or text, you'll lose those if you delete the wizard layer. But anything in a wizard layer can go in a theme layer, so if you did have data there you can just copy it from the wizard layer and put it in your theme layer.

Date: 2022-04-18 09:30 pm (UTC)
cimorene: cartoony drawing of a woman's head in profile giving dubious side-eye (Default)
From: [personal profile] cimorene
Yesssss, congratulations! And you're very welcome!

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 25th, 2026 10:27 am
Powered by Dreamwidth Studios