0
Welcome Guest! Login
0 items Join Now

How to add additional Content-Bottom module rows

  • How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Henning or other Gantry Gods:

      I'm close to what I want to do but not quite there:

      Gantry Template v 4.1.20 on Joomla 3.2.1

      I wish to add two additional Content Bottom rows which will each have 3 modules.

      I know how to "stack" in module positions but the issue is one of style alignment, as content height varies depending on headline length (see attached threerows.png) so i don't get horizontal symmetry, only vertical. A bit of whitespace at the bottom of each module in content-bottom a, b, c will be fine the ideal is to have these nine blocks in a nice symmetrical grid...

      Dividing these up into three separate module rows in Content Bottom style/ placement will solve that.

      I know that the file to modify is body_mainbody.php as found in /libraries/gantry/html/layouts

      and that it needs to be moved to templates/gantry/html to prevent overwrite.

      It does not appear that I need do anything with tempate-options.xml as these two new rows would be in mainbodyPosition.

      Nor do i have to modify template's index.php file (i think).

      If i call them content-bottom2 and content-bottom3

      I add
      <position>content-bottom2-a</position>
      <position>content-bottom2-b</position>
      <position>content-bottom2-c</position>
      <position>content-bottom3-a</position>
      <position>content-bottom3-b</position>
      <position>content-bottom3-c</position>
       

      to file templateDetails.xml

      But what I can't get is code at bottom of body_mainbody.php or if there are other files that I must modify.

      Tried this:

      ORIGINAL FILE body_mainbody.php lines 60-64
      <?php if (isset($fparams->contentBottom)) : ?>
      <div id="rt-content-bottom">
      <?php echo $fparams->contentBottom; ?>
      </div>
      <?php endif; ?>

      MODIFIED TO
      <?php if (isset($fparams->contentBottom)) : ?>
      <div id="rt-content-bottom">
      <?php echo $fparams->contentBottom; ?>
      </div>
      <?php endif; ?>
       
      <?php if (isset($fparams->contentBottom2)) : ?>
      <div id="rt-content-bottom2">
      <?php echo $fparams->contentBottom2; ?>
      </div>
      <?php endif; ?>
       
      <?php if (isset($fparams->contentBottom3)) : ?>
      <div id="rt-content-bottom3">
      <?php echo $fparams->contentBottom3; ?>
      </div>
      <?php endif; ?>

      But it doesn't work. I"m missing something simple here. Can you help? THANKS

      David
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Please post a URL to your site so we can look for you. Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.
    • Check my services at: Mihha-Vision
  • Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Please contact Raxo support regarding this and ask them how to implement the same height in the multiple instances of their module on the same page. This is not related to the template in any way and we really can't provide support for 3rd party extensions
    • Check my services at: Mihha-Vision
  • Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Thanks Ivan.. but I am not asking support for 3rd party extensions. That's not the point. What's in there now includes both Raxo and non-raxo modules (the 300x125 placeholders to be replaced by banner server code). Whatever modules are in my inbuild site at present are irrelevant to the question... which is how to have another set of modules below content bottom. two more rows in this instance.

      There will be many instances for users of Gantry template where we'd want to put in more module rows either above or below the content component. Stacking in a responsive template resembles true masonry code if module heights vary. Additional module rows, ie, duplication of position Content Bottom is what I want. See attached gantry_modified.png. What i want is noted Content Bottom 2 and Content Bottom 3.

      All postings I've seen here noted putting more modules into Content Top ... some of them differing widths than standard template.. all I wish to do is to duplicate Content Bottom in the template. I'm happy to pay for a developer's time just to view my code and tell me where i missed steps so that i can have multiple rows of modules in the area directly below content component. I can move this over to pro help wanted if that's best.

      Thanks...
      This image is hidden for guests.
      Please log in or register to see it.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Although I have a Russian name, I am not from Russia so calling me "Ivan" is really not amusing at all 8)

      Please use our "Premier support" option if you want to buy developer time

      www.rockettheme.com/premier-support

      or you can even open new thread in The Marketplace forum so other members with the developer status can offer you their paid services
    • Check my services at: Mihha-Vision
  • Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • Apologies, i meant absolutely NO offense... I simply misread your name and mistyped it. I am unaware of any negative connotations of the word Ivan, i'm US East Coast and have never lived in areas with large Russian or Eastern European communities. My sincere apologies if that offended. Completely unintended.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: How to add additional Content-Bottom module rows

    Posted 10 years 9 months ago
    • As far as I know it's not possible to add a row of modules below content-top.
      Only thing that works is a simple module without the a/b/c.
  • Re: How to add additional Content-Bottom module rows

    Posted 10 years 8 months ago
    • Hi Henning,

      I have exactly the same requirement. I actually need a number of columns in the content bottom area. I always thought the modules would just stack beneath each other but was mistaken.

      I am now wanting to get these 2 columns to show within the main body. Is this at all possible? Please advise.

      Regards
    • Michelle
      http://www.artifectcreative.co
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: How to add additional Content-Bottom module rows

    Posted 10 years 8 months ago
    • I believe Henning already answered your question if you read carefully his previous reply
      As far as I know it's not possible to add a row of modules below content-top.
      Only thing that works is a simple module without the a/b/c.
    • Check my services at: Mihha-Vision

Time to create page: 0.049 seconds