PITS /
00352: Default SetTmplDisplay settings are missing
Summary: Default SetTmplDisplay settings are missing
Created: 2005-03-04 01:31
Status: Closed
Category: Not a Bug
From: Klonk
Assigned:
Priority: 2
Version: 2.0beta24
OS:
Description: Default settings for existing ...Fmt sections are missing. When parsing the skin the Display Variable should be set to "1" by default (with SetTmplDisplay) for all ...Fmt sections. Otherwise it is nearly impossible to check whether a section is currently displayed or not (whether in the skin itself or in some other cookbook recipe)
Found solution after taking a close look at skins.php.
I just checked whether the variable $GLOBALS['TmplDisplay']['...Fmt']
exists and if it exists I check the value. Klonk