Branch (
branchandroot) wrote in
dw_styles2010-03-03 07:02 pm
Grouping color and image properties
Okay, this is driving me nuts, and it's time to see whether anyone already knows the answer.
A layout I'm working on requires a few extra image and color properties (eg color_header_border). This is fine, they work out swimmingly.
The problem is that, while they show up nicely on Customize > Style and even under the proper sections (Colors, Images) they do not show up in the right subsections (Header, Module). Instead they show up in Colors > Options and Images > Options, where no one will ever think to look for them!
So, does anyone know how to place extra properties in the right subsection? Or even if it's possible to do so? (I'm starting to have a bad feeling this is a function of how the wizard pages are rendered, and not S2 as such, which would mean a new bug that I have no clue how to even start working on.)
ETA: Ha! Yvi was right, this is done in the layout's .pm file in the cgi-bin.
A layout I'm working on requires a few extra image and color properties (eg color_header_border). This is fine, they work out swimmingly.
The problem is that, while they show up nicely on Customize > Style and even under the proper sections (Colors, Images) they do not show up in the right subsections (Header, Module). Instead they show up in Colors > Options and Images > Options, where no one will ever think to look for them!
So, does anyone know how to place extra properties in the right subsection? Or even if it's possible to do so? (I'm starting to have a bad feeling this is a function of how the wizard pages are rendered, and not S2 as such, which would mean a new bug that I have no clue how to even start working on.)
ETA: Ha! Yvi was right, this is done in the layout's .pm file in the cgi-bin.

no subject
no subject
no subject
Making it possible to append new props to an existing propgroup using _child was Afuna's doing. It doesn't work well with the Modules propgroup, though.
no subject
no subject