Global variables for grid defaults

Build 1501 on 14/Nov/2017  This topic last edited on: 4/Mar/2015, at 09:01

You can put the following variables within the <Dict> node of the EditorialConfig configuration file. For instructions, see Adding or overriding variables in your EditorialConfig.

Find the actual values of such variables in EditorialConfig item in EdAdmin4, the Application Configuration > Client Applications, searching for EditorialConfig. The data is common for all titles in the system.

Should you need to specify different values of variables for different typographies, look for instructions at the Typography-dependent overridable variables.

Variable

Type

Default value

Comment

globalUseModulesAsVg

Boolean

"0" (false)

This may be used to force your GN4 system to use page modules height as vertical grid.

glbWarnOnVGrid0

Boolean

"0" (false)

If you set this to -1 or true, on opening of a page with the grid value = 0, a warning is displayed, reminding you that every page needs to have a vertical grid value different than 0.

Actually, the check is OnPageOpen in Page.vb.

glbVertGrid

Integer

"10000"

Within GetVG function, if glbVertGrid is set to a value different than zero, returns that value - if the vertical grid seems to be 0.

glbMinVertGrid

Integer

"5000"

It is used within GetObjData function, to check if the actual vertical grid is smaller than this value - if so, it ignores the vertical grid and uses the specified default value for the element.