0
Welcome Guest! Login
0 items Join Now

Disappointed in Gantry width limitations

  • Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • Hey Kerry,
      I build an experimental dynnamic-grid builder for Quasar.
      download the attached zip-file and replace

      styledeclaration.php (Edit: in the "features"-folder Thanks Kerry for bringing that up)
      templateDetails.xml

      in your template-folder with the ones from the zip-archive.

      Once you did that you will find a new option "Dyngrid" in the template-parameters.
      There will be a new DynGrid-option where you can type a new grid value.
      Default is "60" but you can experiment with with like "70" (1080px) or "80" (1200px).

      Be sure to have an backup of your joomla installation if you want to try this because its really experimental and I had no time to test it properly tho it worked on my local installation.

      Example 720px = column width 40px:
      screens.bokelmann-net.de/width_720_40.png

      Example 1200px = column width 80px:
      screens.bokelmann-net.de/width_1200_80.png

      Edit: doh! just noticed that I uploaded a wrong file ... you find the new parameter under "bokel" :cheesy: what does that mean? well some people will surely know ...
    • Last Edit: 14 years 10 months ago by Henning.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • Here is a little demo ...
      (Link removed)

      40px=720px
      60px=960px (gantry default)
      75px=1140px
      80px=1200px
  • Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
  • Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • I'm trying to do this.. but there is no styledeclaration.php in the quasar template folder

      thanks,
      K
    • Online Video Editing: http://www.sarolta.tv
  • Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • found it.. installed it.. works beautifully

      thank you :)

      would the quantive template be upgraded with this in the future? or would the same mods work in Quantive?

      edit: mistakenly wrote quasar instead of Quantive
    • Online Video Editing: http://www.sarolta.tv
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • if I find some time I should be able to do this for quantive too.
      Actually I'm not a member of the rt-squad so there will be never offiicial updates for rt-templates with this feature ...

      But I'm really glad it worked for you. See gantry not as a 960px-grid-system ... just see it as a versatile grid-system in general.

      I trandferred the code into Quantive ... worked! (hope I can add this here soon)
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Disappointed in Gantry width limitations

    Posted 14 years 10 months ago
    • Now for Quantive: you must add this to your template.css:
      div.rt-footer-bottom-wrap {position: relative;bottom: 0;height: 0px;width: 100%;}

      and in templateDetails add at the end of the code but before </params></install>
      <param name="experiment" type="gspacer" default="" description="" label=" " glabel="EXPERIMENTAL" />
      <param name="dyngrid" default="60" type="text" class="text-short" label="DYNGRID"/>

      and in the "features" folder of the template replace the styledeclaration.php with the one attached.

      As always be sure to clear all kinds of caches and more important: keep a backup of your files

      Djamil was so nice to pick up and improve my idea, so the credit for the code goes to Mr. Legato.
      I had just to add a single value to make it work.
      After you added this you should be able to change the width of the Quantive template via template settings.
  • Re: Disappointed in Gantry width limitations

    Posted 14 years 9 months ago
    • Hi Henning,

      I found your thread because of a hint of another support member ( www.rockettheme.com/forum/index.php?f=34...04967&rb_v=viewtopic )

      Maybe you have a solution for this, but I solved it by myself in a way of don´t using the component off setting :-( (wont´t work propper because most of the components need the com_frontpage and if I turn this of they wont work...like VM or jomsocial etc..anyway...

      My main question: I found a workaround to let the template "quantive" get bigger. I just want the template width to increase. I used your experimental hack DYNGRID it works absolutely fantastic!! Thanks for that! BUT: The template will loose hover and link styles, and they are not editable anymore by using the gantry framework within the backend!

      Do you have a littel fix or hint or workaround how to fix the issue of loosing the styles?? That would be great. Then it is kinda stable DYNGRID and no more experimental I guess. Therefore I would suggest you guys to implement this with upcomming templates. For a lot of users a 960px template isn´t enought. Would be great to let the client decide what width his template should have ;-)

      Would be great to hear from you!

      greetings from DE

      gefatter
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Disappointed in Gantry width limitations

    Posted 14 years 9 months ago
    • OH yes! That loosing of style should be caused by this little typo! Thanks for finding that.

      open that sytledeclaration.php and find line 48
      $css = ' div.rt-container {width:'.$grid.'px;}'."\n";
      and change it to
      $css .= ' div.rt-container {width:'.$grid.'px;}'."\n";

      as you can see a single "." is missing! :-)

Time to create page: 0.077 seconds