Landing Zero 2 1.1 released
Landing Zero, e107 theme 10 Apr 2020 : 23:26 Comments (0) JimakoWhat is new in version 1.1? Not too much but I like those ideas...
In theme preferences options to set header, body and footer width. In bootstrap you can use classes container or container-fluid, so this settings just set those classes....
To be able use something like this directly in html files:
new shortcode was added:
/* {THEME_PREF: code=header_width&default=container} *//* way how to use theme prefs as shortcodes in HTML layout */function sc_theme_pref($parm) { $name = $parm['name'];if(!isset($name)) {return "";}$default = $parm['default'];$value = $this->themePrefs[$name];$value = varset($value, $default);return $value; }
Full changelog: