0
Welcome Guest! Login
0 items Join Now

Quasar 16 Column

    • Vikram Rao's Avatar
    • Vikram Rao
    • Rocketeer
    • Posts: 93
    • Thanks: 0
    • Consultant

    Quasar 16 Column

    Posted 14 years 9 months ago
    • How can we change to a 16 columns layout.

      I did see this thread by Andy http://www.rockettheme.com/forum/index.php?f=337&t=98164&rb_v=viewtopic#p495291

      But did not get it all right.

      Steps I followed :
      1. In gantry.config.php file changed
      from
      $gantry_default_grid = 12;
      to
      $gantry_default_grid = 16;

      2. Copied contents of templateDetails.16grid into templateDetails.xml file

      3. Changed in gantry.class.php

      from
      var $default_grid = 12;
      to
      var $default_grid = 16;

      Still didn't get it working. Am I missing something here? Are there any more steps required to be performed?

      Kindly help.
    • Vikram Rao
      http://www.vikramrao.com
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Quasar 16 Column

    Posted 14 years 9 months ago
    • Afaik to change the Grid from 12 to 16 you have to do only TWO steps:

      1. in templateDetails.xml change
      <param name="grid_system" type="hidden" default="12" />
      to
      <param name="grid_system" type="hidden" default="16" />

      2. add to gantry.config.php in the template folder ...
      $gantry_default_grid = 16;

      and clear your joomla+gantry-cache
      No copying or changing in gantry.class.php

      Edit: I just tested this on Quasar & Crystalline: It's really just the two steps and nothing more.
      Just be sure to save you changes! Frankly I don't know what Andys post was about ..
    • Vikram Rao's Avatar
    • Vikram Rao
    • Rocketeer
    • Posts: 93
    • Thanks: 0
    • Consultant

    Re: Quasar 16 Column

    Posted 14 years 9 months ago
    • Hey Henning

      Thanks for a quick suggestion but.......This is still not working. Still shows as 6 module positions. Ideally it should show 8 module positions.

      Can you kindly help?
      Henning wrote:
      Afaik to change the Grid from 12 to 16 you have to do only TWO steps:

      1. in templateDetails.xml change
      <param name="grid_system" type="hidden" default="12" />
      to
      <param name="grid_system" type="hidden" default="16" />

      2. add to gantry.config.php in the template folder ...
      $gantry_default_grid = 16;

      and clear your joomla+gantry-cache
      No copying or changing in gantry.class.php

      Edit: I just tested this on Quasar & Crystalline: It's really just the two steps and nothing more.
      Just be sure to save you changes! Frankly I don't know what Andys post was about ..
    • Vikram Rao
      http://www.vikramrao.com
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Quasar 16 Column

    Posted 14 years 9 months ago
    • You are misunderstanding gantry:

      There are always only max. 6 positions.
      Just the basic grid changes from 12 to 16

      The 12 column layout consists of 12 column grid has 12 available columns each of 60px width, with a 10px gutter on each side. The 16 column version consists of 16 columns of 40px, again with a 10px gutter on each side.

      Changing from 12 to 16 gives more layout-options - but not more mod-positions ...
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Quasar 16 Column

    Posted 14 years 9 months ago
    • the all important change is the $gantry_default_grid variable, however, if you don't change the positions elements as I outlined in my original post, you won't really be taking advantage of all the new possible combinations.

      For example, in the 12 column grid, if you have 2 positions, you can do a 2,10 combination, because the 'words' range from 2 to 10. This allows you to have a thin but usable column of 2 grids, and a large 10 grid column.

      Now if you switch the grid variable to 16, and try to configure 2 columns, you can only update the columns to 6,10. You cannot make the side column narrower because the words have not been updated to support, 11,12,13, etc. When you add those, as I indicated in the original post you would be able to do a 3,13 combination and again have a thin but usable column of 3 and a large column of 13.

      See i do know what i'm talking about :)
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Quasar 16 Column

    Posted 14 years 9 months ago
    • Of course you know what you are talking about – but that does not mean I understand it :oops:
    • Vikram Rao's Avatar
    • Vikram Rao
    • Rocketeer
    • Posts: 93
    • Thanks: 0
    • Consultant

    Re: Quasar 16 Column

    Posted 14 years 9 months ago
    • Hey Andy thanks for the details. I shall work around this.

      Regards
      Andy Miller wrote:
      the all important change is the $gantry_default_grid variable, however, if you don't change the positions elements as I outlined in my original post, you won't really be taking advantage of all the new possible combinations.

      For example, in the 12 column grid, if you have 2 positions, you can do a 2,10 combination, because the 'words' range from 2 to 10. This allows you to have a thin but usable column of 2 grids, and a large 10 grid column.

      Now if you switch the grid variable to 16, and try to configure 2 columns, you can only update the columns to 6,10. You cannot make the side column narrower because the words have not been updated to support, 11,12,13, etc. When you add those, as I indicated in the original post you would be able to do a 3,13 combination and again have a thin but usable column of 3 and a large column of 13.

      See i do know what i'm talking about :)
    • Vikram Rao
      http://www.vikramrao.com

Time to create page: 0.066 seconds