0
Welcome Guest! Login
0 items Join Now

SOLVED How to create a whole new row of module positions?

    • oj09's Avatar
    • oj09
    • Hero Rocketeer
    • Posts: 395
    • Thanks: 0

    SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • Hi All,

      I'm after finding out how I would go about adding a whole new row of module positions to the Hexeris Joomla 3.2 template we're running.

      I'm developing this site for a registered charity organisation to replace their current site and we require some new module positions based at the very top of the website, as currently I have the login and BrowseAloud "Speaking Website" program sited (only to test it out) in the "Drawer" position but naturally this position is used for system messages etc.

      So I'm looking to have the new set of module positions (1 row) set either directly above or below the "Drawer" module position.

      Is the above possible, if so is there a specific resource that I can use to learn and ultimately achieve the above and how hard is it to do this aspect?

      I look forward to hearing from somebody in due course.

      Regards,
    • Last Edit: 10 years 5 months ago by oj09.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • oj09's Avatar
    • oj09
    • Hero Rocketeer
    • Posts: 395
    • Thanks: 0

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • oj09's Avatar
    • oj09
    • Hero Rocketeer
    • Posts: 395
    • Thanks: 0

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • Henning,

      Thanks for that, much appreciated and doesn't seem too much to doing it.

      May I ask, like when you make changes to joomla's core code / files and then you update to a newer version of joomla, you lose those changes unless you use the likes of custom css file(s) and so forth.

      What's the situation with adding new module positions and at a later date updating the Hexeris template we use, whenever RT bring out an update?

      Regards,
      Henning wrote:
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • just follow the documentation ...
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • 1. you don't have chnage Joomla core files.
      so if you update joomla you wont loose your changes.
      2. when you update hexeris you will loose those changes.
      so you need keep track of what you change.
      3. when you added the code to the index.php and templateOptions.xml you need to clear the joomla cache
    • oj09's Avatar
    • oj09
    • Hero Rocketeer
    • Posts: 395
    • Thanks: 0

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • Ok, thanks for the clarification on those points Henning. :)

      I've done it now and all working fine www.dapwales.org.uk/testing_site/

      However, is there a way to find out where the code would be for / how I can reduce the padding / margins this new "accessbar" module positions that are currently set to use a certain padding or margin sizing?

      Regards,
      Henning wrote:
      1. you don't have chnage Joomla core files.
      so if you update joomla you wont loose your changes.
      2. when you update hexeris you will loose those changes.
      so you need keep track of what you change.
      3. when you added the code to the index.php and templateOptions.xml you need to clear the joomla cache
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • you can use modsuffixes like "nomarginall nopaddingtop"
      or add this top your css
      div#rt-accessbar .rt-block {
      margin-top: 0;
      margin-bottom: 0;
      padding-top: 0;
      padding-bottom: 0;
      }

      I also suggest to wrap the position in <div class="rt-container">...</div> to center the bar ...
    • oj09's Avatar
    • oj09
    • Hero Rocketeer
    • Posts: 395
    • Thanks: 0

    Re: SOLVED How to create a whole new row of module positions?

    Posted 10 years 5 months ago
    • Thanks for this Henning, I've got it sorted now. :)

      Regards,
      Henning wrote:
      you can use modsuffixes like "nomarginall nopaddingtop"
      or add this top your css
      div#rt-accessbar .rt-block {
      margin-top: 0;
      margin-bottom: 0;
      padding-top: 0;
      padding-bottom: 0;
      }

      I also suggest to wrap the position in <div class="rt-container">...</div> to center the bar ...

Time to create page: 0.057 seconds