0
Welcome Guest! Login
0 items Join Now

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

    • 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 12 years 7 months ago
    • Hi there,

      Did you upload the mywidth.php file as instructed?

    • 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
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

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

    Posted 12 years 7 months ago
    • it diosnt matter what you have in the code right now.
      You need to chaage that in the template-manager.
      Also you seem to mix 1.5 and 2.5 code.
      That can't work.

      Wich Joomla version are you using?
    • Sebaca's Avatar
    • Sebaca
    • Elite Rocketeer
    • Posts: 647
    • Thanks: 0

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

    Posted 12 years 7 months ago
    • In fact the site was made with Joomla 1.5
    • Sebaca's Avatar
    • Sebaca
    • Elite Rocketeer
    • Posts: 647
    • Thanks: 0

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

    Posted 12 years 7 months ago
    • and Yes I download your file "the mywidth.php" in /templates/rt_maelstrom_j15/features
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

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

    Posted 12 years 7 months ago
    • this is the code

      <param name="experiment" type="gspacer" default="" description="" label=" " glabel="EXPERIMENTAL" />
      <param name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/>
    • Sebaca's Avatar
    • Sebaca
    • Elite Rocketeer
    • Posts: 647
    • Thanks: 0

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

    Posted 12 years 7 months ago
    • Fabulous thank you very much :P
    • Gonzee's Avatar
    • Gonzee
    • Rocketeer
    • Posts: 76
    • Thanks: 0

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

    Posted 12 years 6 months ago
    • Is there an easy way to make a template a specific width? I need to make my template (ionosphere) work at 760px fixed width only, for a Facebook Canvas Page. I have created a subdomain and copied the DB and files so that it can be edited independently of the full version site... but I can't find the CSS/Code to define the width as 760px.

      Any help would be greatly appreciated.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

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

    Posted 12 years 6 months ago
    • Gonzee,

      Are you using mywidth.php? 760px divided by 12 comes out to about 63px.
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
    • KMGDESIGN's Avatar
    • KMGDESIGN
    • Hero Rocketeer
    • Posts: 259
    • Thanks: 0

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

    Posted 12 years 6 months ago
    • Ben Simon wrote:
      Hello,

      Here is an update for J2.5. I've tested it on Joomla 2.5.3/4 with Ionosphere and Reflex. Special thanks go's out to Henning and David, without them this update would have never been possible.

      Release Notes:
      - Removes some template specific code found in earlier versions
      - Removes references to $bottom that caused issues in Joomla 2.5+

      If you need help with installation/configuration take a look at David's post:
      www.rockettheme.com/forum/index.php?f=39...pic&start=45#p698654 David Goode wrote:
      ....
      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.

      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)


      Great! Thanks.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

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

    Posted 12 years 6 months ago
    • KMGDESIGN,
      I'm glad that worked.

      Gonzee,
      Are you having any luck?
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...

Time to create page: 0.089 seconds