0
Welcome Guest! Login
0 items Join Now

Adding content-top module positions in gantry mainbody

  • Adding content-top module positions in gantry mainbody

    Posted 6 years 7 months ago
    • In this topic:
      www.rockettheme.com/forum/index.php?f=33..._v=viewtopic#p494473

      is explained how to add an extra module before or after the content-top position by following the instructions posted by Henning on 01-01-2011.

      Currently we are on gantry 4.1.6 and I have just installed the most recent default gantry template from www.gantry-framework.org/

      the solution Henning described... is that still possible?

      the file html/layouts/body_mainbody.php isn't there anymore, and it isn't present in the gantry either (or I can't find it).

      anybody know how to do this now?

      thanks!
    • Malex's Avatar
    • Malex
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Adding content-top module positions in gantry mainbody

    Posted 6 years 2 months ago
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29358
    • Thanks: 952
    • Volunteer

    Re: Adding content-top module positions in gantry mainbody

    Posted 6 years 2 months ago
    • ... you should be able to copy
      /libraries/gantry/html/layouts/body_mainbody.php
      (depends on wich mainbody-layout your template is using)
      into the html folder of your template to override the core.
      Just edit that new file for your needs.
    • Malex's Avatar
    • Malex
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Adding content-top module positions in gantry mainbody

    Posted 6 years 2 months ago
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29358
    • Thanks: 952
    • Volunteer

    Re: Adding content-top module positions in gantry mainbody

    Posted 6 years 2 months ago
    • follow the link mentioned above
    • Malex's Avatar
    • Malex
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Adding content-top module positions in gantry mainbody

    Posted 6 years 2 months ago
    • Thanks a lot, it worked, i just missed to add the position <position>extra</position> in templateDetails.xml ...
      :oops:
    • Malex
      http://www.webcomtoyou.com
  • Re: Adding content-top module positions in gantry mainbody

    Posted 5 months 2 days ago
    • The link at the top of this post is dead. Might be worth amending or removing depending on how useful the information is now.
    • Do'er of stuff

Time to create page: 0.121 seconds