0
Welcome Guest! Login
0 items Join Now

Template Options in Gantry Framework

  • Template Options in Gantry Framework

    Posted 12 years 3 months ago
    • I made a few various template options...

      <field name="menuButtonShadow" type="colorchooser" default="#000000" label="MENU_BUTTON_SHADOW" setinsession="true"
      setbysession="true" setincookie="true" setbycookie="true"/>


      <field name="searchBg" type="colorchooser" default="#3B7085" label="SEARCH_BACKGROUND" setinsession="true"
      setbysession="true" setincookie="true" setbycookie="true"/>


      <field name="headerBorder" type="colorchooser" default="#2e5b6f" label="HEADER_BORDER" setinsession="true"
      setbysession="true" setincookie="true" setbycookie="true"/>

      then I added them to the array on index.php

      'menuButtonShadow'=>$gantry->get('menuButtonShadow', '#000000'),

      etc and they all worked fine when called in .less like so... border-bottom: 1px solid @headerBorder;

      my question is-- I wish to add a few more options and as yu can see they are so diverse they don*t really chain together and... I asked that here and didnt get really reply...

      www.rockettheme.com/forum/index.php?f=33...86855&rb_v=viewtopic

      The question is can I ddeclare these optios i the styledeclarations rather than array in the global.css array in index.php? Is it bad to have one array in index with rows of options and better to put in styledeclarations.php??

      THanks in advance

Time to create page: 0.049 seconds