0
Welcome Guest! Login
0 items Join Now

Template-width-changer for 12-column-layout of gantry

  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • Hi Henning,

      Not sure why we have the white scren of death as it wasn't there when I posted. Will look into it now and see what chnages have been made before posting abck again.

      Many thanks for the advice

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

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • Hi Shane,

      you can PM me if it is up again. We should be really able to get this thing running for you ...
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • Hi Shane,

      from the code on that site I see the feature is working as it should with the default value of 60px.

      div.rt-container {width:960px;}
      div.rt-container .rt-grid-1 {width: 60px;}
      div.rt-container .rt-grid-2 {width: 140px;}
      div.rt-container .rt-grid-3 {width: 220px;}
      div.rt-container .rt-grid-4 {width: 300px;}
      div.rt-container .rt-grid-5 {width: 380px;}
      div.rt-container .rt-grid-6 {width: 460px;}
      div.rt-container .rt-grid-7 {width: 540px;}
      div.rt-container .rt-grid-8 {width: 620px;}
      div.rt-container .rt-grid-9 {width: 700px;}
      div.rt-container .rt-grid-10 {width: 780px;}
      div.rt-container .rt-grid-11 {width: 860px;}
      div.rt-container .rt-grid-12 {width: 940px;}
      div.rt-container .rt-push-1 {left:80px;}
      div.rt-container .rt-push-2 {left:160px;}
      etc.

      So you are very close!

      Don't you see that option in the template-settings now (under that label EXPERIMENTAL)
      If so enter a value like "80" to see the change?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • Hi Shane,

      it works as it should. I just changed the value to "90".
      See the result!

      :-)
  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • It has been set to 90 Henning and works a treat. Edit to 80 and its perfect. We were looking for the "Experimental" tag in the features lineup so it was working all the time if we had reset it.
      I will PM you after I lodge this Henning.
      Many thanks

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

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • Probably I should make that more clear where that option appears ;-)
  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 10 months ago
    • Possibly use this then it would be so obvious no one would miss it.

      <param name="experiment" type="gspacer" default="" description="" label=" " glabel="Website Width Display Options" />
      <param name="dyngrid" default="60" type="text" class="text-short" label="Set Width Option"/>

      Just a thought.
      Cheers

      Shane
    • Kaliya's Avatar
    • Kaliya
    • Sr. Rocketeer
    • Posts: 154
    • Thanks: 0

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 9 months ago
    • Hi Henning,

      I have tried to figure out how to apply this hack correctly to Tachyon 1.6. The field to change width does show up in banckend, but no visible change occurs.

      Here's what I have inserted in my current template-options.xml:


      <field name="articlestyle" type="hidden" default="box3 button2 nohover" label="ARTICLE_STYLE" />

      <field name="fixedheader" type="toggle" default="0" label="FIXED_HEADER" isbodyclass="true"/>

      <field name="experiment" type="gspacer" default="" description="" label=" " glabel="Website Width Display Options" />
      <field name="dyngrid" default="60" type="text" class="text-short" label="Set Width Option"/>

      <fields name="webfonts" type="chain" label="WEBFONTS">
      <field name="enabled" enabler="true" type="toggle" default="0" label="SHOW" />
      <field name="source" type="selectbox" default="google" label="WEBFONTS_SOURCE">
      <option value="google">Google Font Directory</option>
      </field>
      </fields>

      Would be very gratefulfor your feedback :)

      Best,
      Kaliya
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 9 months ago
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 9 months ago
    • I know Henning is mega busy this month so I will try and live up to his high standards for you all. :cheesy:

      I have just tested this step by step and it works for me on rt_tachyon_j16

      Download the attached zip file. Unzip it and then upload the file - mywidth.php - to your features directory in the template. For most people this will be via ftp to /public_html/your.domain/templates/rt_tachyon_j16/features

      Now open the /templates/rt_tachyon_j16/template-options.xml file and look for the code at line 117....
      <fieldset name="features" label="FEATURES">
          <field name="viewswitcher-priority" type="hidden" default="1"/>
          <field name="logo-priority" type="hidden" default="2"/>
          <field name="copyright-priority" type="hidden" default="3"/>
          <field name="styledeclaration-priority" type="hidden" default="4"/>
       
      ...and insert this code - <field name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/> - so the file should now look like this...
      <fieldset name="features" label="FEATURES">
           <field name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/>    
           <field name="viewswitcher-priority" type="hidden" default="1"/>
          <field name="logo-priority" type="hidden" default="2"/>
          <field name="copyright-priority" type="hidden" default="3"/>
          <field name="styledeclaration-priority" type="hidden" default="4"/>
       
      Please note that the default is set to 60px, which is the same setting as the current template.
      Upload the amended file to replace the original.

      Now go to Joomla admin and select the rt_tachyon_j16 template and go to template admin. In the features tab you should now have an option called mywidth and it should be displaying the 60 width.
      This image is hidden for guests.
      Please log in or register to see it.

      Just change the width to suit your needs and then apply. Remember that there are 12 columns so if you set the column width to 100 then you will deliver a screen width of 1200px.

      Hope this helps 8)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information

Time to create page: 0.073 seconds