Restrict which modules can go in which racing positions in
skittlishdreams layout. Prevents people from sticking things where they don't
go well.
Patch by 900degrees.
diffs (58 lines):
diff -r 52c4c616c2b6 -r 87ceae173243
bin/upgrading/s2layers/skittlishdreams/layout.s2
--- a/bin/upgrading/s2layers/skittlishdreams/layout.s2 Sun May 02 06:08:31
2010 +0000
+++ b/bin/upgrading/s2layers/skittlishdreams/layout.s2 Sun May 02 06:12:30
2010 +0000
@@ -176,6 +176,8 @@ set font_module_heading_size = "1.1";
set font_module_heading_size = "1.1";
set font_module_heading_units = "em";
+set module_layout_sections = "none|(none)|two|Sidebar";
+
propgroup modules {
property use module_userprofile_group;
property use module_navlinks_group;
@@ -189,10 +191,23 @@ propgroup modules {
property use module_poweredby_group;
property use module_customtext_group;
property use module_credit_group;
+
+ property string module_navlinks_section_override {
+ values = "none|(none)|one|Header|two|Sidebar";
+ grouped = 1;
+ }
+
+ property string module_poweredby_section_override {
+ values = "none|(none)|two|Sidebar|three|Footer";
+ grouped = 1;
+ }
+
+ property string module_time_section_override {
+ values = "none|(none)|two|Sidebar|three|Footer";
+ grouped = 1;
+ }
}
-set module_layout_sections = "none|(none)|one|Header|two|Sidebar|three|Footer";
-set module_navlinks_section = "one";
set module_userprofile_section = "two";
set module_pagesummary_section = "two";
set module_tags_section = "two";
@@ -200,10 +215,17 @@ set module_links_section = "two";
set module_links_section = "two";
set module_syndicate_section = "two";
set module_calendar_section = "two";
+set module_customtext_section = "two";
+set module_credit_section = "two";
+
+set grouped_property_override = { "module_navlinks_section" =>
"module_navlinks_section_override",
+ "module_poweredby_section" =>
"module_poweredby_section_override",
+ "module_time_section" =>
"module_time_section_override",
+ };
+
+set module_navlinks_section = "one";
set module_poweredby_section = "three";
set module_time_section = "none";
-set module_customtext_section = "two";
-set module_credit_section = "two";
propgroup text {
property use text_view_recent;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog