Index: openacs-4/packages/theme-selva/sql/postgresql/theme-selva-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/sql/postgresql/theme-selva-create.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/theme-selva/sql/postgresql/theme-selva-create.sql 27 Jul 2005 18:32:02 -0000 1.2 +++ openacs-4/packages/theme-selva/sql/postgresql/theme-selva-create.sql 18 Sep 2005 11:43:28 -0000 1.3 @@ -1 +1,3 @@ -UPDATE apm_parameter_values SET attr_value = '/packages/theme-selva/www/selva-master' WHERE parameter_id IN (SELECT parameter_id FROM apm_parameters WHERE parameter_name='DefaultMaster' AND package_key = 'acs-subsite'); +UPDATE apm_parameter_values SET attr_value = '/packages/theme-selva/www/selva-master' WHERE parameter_id IN (SELECT parameter_id FROM apm_parameters WHERE parameter_name='DefaultMaster'); +SELECT portal_element_theme__new ('selva','Selva Theme','../../theme-selva/www/themes/selva-theme','../../theme-selva/www/themes/selva-theme'); +UPDATE portals SET theme_id = (SELECT theme_id FROM portal_element_themes WHERE name='selva'); \ No newline at end of file Index: openacs-4/packages/theme-selva/sql/postgresql/theme-selva-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/sql/postgresql/theme-selva-drop.sql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/theme-selva/sql/postgresql/theme-selva-drop.sql 26 Jul 2005 14:28:29 -0000 1.1 +++ openacs-4/packages/theme-selva/sql/postgresql/theme-selva-drop.sql 18 Sep 2005 11:43:28 -0000 1.2 @@ -1 +1,21 @@ -UPDATE apm_parameter_values SET attr_value = '/packages/dotlrn/www/dotlrn-master' WHERE parameter_id IN (SELECT parameter_id FROM apm_parameters WHERE parameter_name='DefaultMaster') \ No newline at end of file +UPDATE apm_parameter_values SET attr_value = '/packages/dotlrn/www/dotlrn-master' WHERE parameter_id IN (SELECT parameter_id FROM apm_parameters WHERE parameter_name='DefaultMaster'); +UPDATE portals SET theme_id = (SELECT theme_id FROM portal_element_themes WHERE name LIKE '%sloan%'); +DELETE FROM portal_element_themes WHERE name = 'selva'; + +create function inline_0 () +returns integer as ' +declare + theme portal_element_themes.theme_id%TYPE; +begin + SELECT theme_id INTO theme FROM portal_element_themes WHERE name=''selva''; + perform acs_object__delete(theme); + +return 0; + +end;' language 'plpgsql'; + +select inline_0(); + +drop function inline_0(); + + Index: openacs-4/packages/theme-selva/tcl/selva-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/tcl/selva-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/theme-selva/tcl/selva-procs.tcl 1 Aug 2005 05:04:45 -0000 1.3 +++ openacs-4/packages/theme-selva/tcl/selva-procs.tcl 18 Sep 2005 11:44:51 -0000 1.4 @@ -28,7 +28,33 @@ namespace eval selva { - ad_proc -public portal_navbar { + ad_proc -public portal_navbar { + + } { + A helper procedure that generates the Subnavbar (above the portal navbar, ie the tabs) + for dotlrn. It is called from the selva-master template. + } { + set current_url [ad_conn url] + + set subnavbar "
Selva for designers
+Selva simplifies the work of customizing the look and feel of your OpenACS/dotLRN website. -Selva simplifies the work of customizing the look and feel of your website. -Templates
Not yet using Selva?
-
The following documentation will be useful. @@ -38,19 +38,32 @@- Go to the site map page
-- go to the parameters link in the 'Main Site" row.
-- Change the 'default master' parameter to /www/Selva/selva-master
+- Go to the Package manager page
+- Click in 'install packages'
+- The system will check for all uninstalled packages in your local directory. Choose theme-selva.
+- Restart the server
Modifying SelvaFlex theme
+New themes should be added in the www/resources directory. +Each directory should contain all images and a single selva.css file. -To be done by Zen
+Selva presentation and Quality Assurance
+In order to improve and maintain the quality of the themes in Selva we would like all +'certified' themes to be Accesible W3C Level A compliant and XHTML compliant. -Selva presentation and QA
Making your page accessible
-to be done by Dorian +A comple accessibility analysis was performed on the portal template used in dotlrn 2.1.1. +You should read "Towards an Accessible Learning Management System for a full description. + +Making your page XHTML compliant
-To be done by Dorian +Check out the same document above.Credits
-Adding themes
+A number of people has collaborated with these themes: +
+
+- Art Director + graphic design + CSS: Dorian Peters
+- Default Selva theme impelmentation: Jeremy Monet
+- Selva Flex implementation: Inigo Medina Garcia
+- Documentation and coordination: Rafael Calvo
+