0
Welcome Guest! Login
0 items Join Now

SOLVED Manually inserting a module into body?

  • SOLVED Manually inserting a module into body?

    Posted 11 years 10 months ago
    • I have a search module I would like to insert in the middle of my main body. It would actually go top to bottom: page title, search, body. Is this possible? Maybe with a shortcode or something?
    • Last Edit: 11 years 10 months ago by thecoopersmith.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Manually inserting a module into body?

    Posted 11 years 10 months ago
    • Use Joomla's Loadposition.
      Create your Search module but for module position DON'T assign it an existing module position. Instead give it a name like "search-mod-in-article" or whatever sounds good to you and assign it to ALL pages.
      In your article you would have this code to call the module -> {loadposition search-mod-in-article}
  • Re: SOLVED Manually inserting a module into body?

    Posted 11 years 10 months ago
    • DanG wrote:
      Use Joomla's Loadposition.
      Create your Search module but for module position DON'T assign it an existing module position. Instead give it a name like "search-mod-in-article" or whatever sounds good to you and assign it to ALL pages.
      In your article you would have this code to call the module -> {loadposition search-mod-in-article}
      It worked! I am new to Joomla and did not realize that was already part of the CMS. Thanks!

Time to create page: 0.051 seconds