Setting Section Parameters
A section parameter is a freely-definable key-value pair that can be assigned to a section using Web Studio. For example:
global_bgcolor=#2661DD
Section parameters are inherited, so if the above parameters are assigned to the root section of a publication, then they will apply to the whole publication by default. However, you can redefine the parameters in a subsection; these new settings will override the inherited ones and apply to the subsection and all its subsections, as shown below:
To set a section parameter in Web Studio you must have section administrator rights. From the Web Studio home page:
-
Select SECTIONS.
-
Select the Administer link next to the section you are interested in.
-
Select Edit section parameters.
-
Enter the parameter settings you want to add in the displayed Properties pane.
-
Select
Save
.
When choosing names for your section parameters, you should avoid characters that have special meanings in JSTL (. and -, for example), as this complicates referencing them in your templates.