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:

graphics/section-parameters.png

To set a section parameter in Web Studio you must have section administrator rights. From the Web Studio home page:

  1. Select SECTIONS.

  2. Select the Administer link next to the section you are interested in.

  3. Select Edit section parameters.

  4. Enter the parameter settings you want to add in the displayed Properties pane.

  5. 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.