0
Welcome Guest! Login
0 items Join Now

Adding a module layout position, doesn't add force position

  • Adding a module layout position, doesn't add force position

    Posted 14 years 3 months ago
    • Hi All,

      The article at this link www.gantry-framework.org/documentation/j...ing-module-positions describes how to add a module layout position into the gantry system, but unfortunately it doesn't seem to cover the topic of adding the 'force position' toggle (and doesn't do it automatically.)

      Can anyone provide some insight about how to do this?
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Adding a module layout position, doesn't add force position

    Posted 14 years 3 months ago
    • if you open the templateDetails.xml, you'll see towards teh bottom:
      <param name="mainbottom" type="chain" label="MAINBOTTOM_POS" description="ADVANCED_DESC">
                     <param name="showall" type="toggle" default="0" label="FORCE_POS" />
                     <param name="showmax" type="showmax" default="6" label="POS_COUNT" />
                </param>
       
                <param name="bottom" type="chain" label="BOTTOM_POS" description="ADVANCED_DESC">
                     <param name="showall" type="toggle" default="0" label="FORCE_POS" />
                     <param name="showmax" type="showmax" default="6" label="POS_COUNT" />
                </param>
       
                <param name="footer" type="chain" label="FOOTER_POS" description="ADVANCED_DESC">
                     <param name="showall" type="toggle" default="0" label="FORCE_POS" />
                     <param name="showmax" type="showmax" default="6" label="POS_COUNT" />
                </param>
       

      Just add another block in the same style, with the new module position.
  • Re: Adding a module layout position, doesn't add force position

    Posted 14 years 3 months ago
    • Thanks,

      That did the trick. I *think* the documentation on the gantry needs to be updated for this,
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Adding a module layout position, doesn't add force position

    Posted 14 years 3 months ago
    • for the force positions? it's completely optional, but i will jot it down to add to the docs. glad you got it working
    • ismadman's Avatar
    • ismadman
    • Sr. Rocketeer
    • Posts: 186
    • Thanks: 3

    Re: Adding a module layout position, doesn't add force position

    Posted 14 years 3 weeks ago
    • I would make love to you guys if you weren't so virtual lol
      This saved me hours of trying to work out how to position stuff outside of generic Rt Templates
      BUT
      there is always a but lol
      I set my module position 2 | 10 but it doesnt change :(
      No matter what i set in the template manager it wont effect a change on the module layout in Panacea
      All the other forced layout work but not my new one
      site is www.southportfc.com.au and i want the undernav position to be 1/3 -2/3 but cant change it to anything . Its stuck at 50-50 . I only want 2 positions there ever
      Any ideas?
    • Why isn't beer free ?
      I OWE DanG : 4
      This image is hidden for guests.
      Please log in or register to see it.

      *Payable when it reaches 24
    • ismadman's Avatar
    • ismadman
    • Sr. Rocketeer
    • Posts: 186
    • Thanks: 3

    Re: Adding a module layout position, doesn't add force position

    Posted 14 years 3 weeks ago
    • Just checked the html through firebug
      the grid is displaying as
       <div class="rt-grid-6 rt-alpha">
      and
        <div class="rt-grid-6 rt-omega">

      If I edit it to
       <div class="rt-grid-4 rt-alpha">
      and
        <div class="rt-grid-8 rt-omega">

      I get the desired effect

      So the Gantry section is not altering the output grid as it should be
      this is a snapshot of my setting

      This image is hidden for guests.
      Please log in or register to see it.


      Any idea why the Gantry is not changing from the default of 6 | 6 ?
    • Why isn't beer free ?
      I OWE DanG : 4
      This image is hidden for guests.
      Please log in or register to see it.

      *Payable when it reaches 24
    • ismadman's Avatar
    • ismadman
    • Sr. Rocketeer
    • Posts: 186
    • Thanks: 3

    Re: Adding a module layout position, doesn't add force position

    Posted 14 years 3 weeks ago
    • I fixed it . Don't really know how though
      I edited the default settings to 4,8 in the templateDetails.xml
      cleared cache
      and it showed correctly . Strange but its working now
    • Why isn't beer free ?
      I OWE DanG : 4
      This image is hidden for guests.
      Please log in or register to see it.

      *Payable when it reaches 24
  • Re: Adding a module layout position, doesn't add force position

    Posted 12 years 11 months ago
    • ismadman wrote:
      Just checked the html through firebug
      the grid is displaying as
       <div class="rt-grid-6 rt-alpha">
      and
        <div class="rt-grid-6 rt-omega">

      If I edit it to
       <div class="rt-grid-4 rt-alpha">
      and
        <div class="rt-grid-8 rt-omega">

      I get the desired effect

      So the Gantry section is not altering the output grid as it should be
      this is a snapshot of my setting

      gantry.png

      Any idea why the Gantry is not changing from the default of 6 | 6 ?
      Hi, I have the same problem, and I try to edit the templateDetails.xmlismadman wrote:
      I fixed it . Don't really know how though
      I edited the default settings to 4,8 in the templateDetails.xml
      cleared cache
      and it showed correctly . Strange but its working now
      But the problem is still there.
      Any idea how I can resolve the problem.
      Thank you.

Time to create page: 0.084 seconds