Module Position

  • scb31
  • Topic Author
  • Visitor
  • Visitor
15 years 2 months ago #175 by scb31
Module Position was created by scb31
Hi Guys

Excellent modules!

How do we get the slider to display within an article or in the main part of the page, rather than left, right, header, etc positions?

Thanks v. much.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 2 months ago #176 by milos
Replied by milos on topic Re: Module Position
Publish module in a position not visible in template (in our sample user1). Then, in content page type:
Code:
{loadposition user1}

Module will appear there.

Please Log in to join the conversation.

  • scb31
  • Topic Author
  • Visitor
  • Visitor
15 years 2 months ago #177 by scb31
Replied by scb31 on topic Re: Module Position

Publish module in a position not visible in template (in our sample user1). Then, in content page type:

Code:
{loadposition user1}

Module will appear there.


Thanks for response milos.

I just worked that out for myself !

Basic Joomla code - wasn't expecting that, rather some clever little setting in your module.

Hopefully it will help someone else though as I'm sure this occurs to others when first installing.

Thanks again - will think harder before posting query next time!

Please Log in to join the conversation.

More
15 years 3 weeks ago #413 by petay87
Replied by petay87 on topic Re: Module Position
I had issues with this for ages so thank you very much for posting this as it helped a lot. I now have only one issue and that is that all my posistions in the list (including user1-5) are used somewhere so when i add it to an artical it also appears elsewhere on the page. Therefore my question is, is there a way to make your own custom positions that will not show up anywhere else on the template/page?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 3 weeks ago - 15 years 3 weeks ago #415 by milos
Replied by milos on topic Re: Module Position
Sure. Edit file templateDetails.xml. You will find where module positions are. Add as much as you want and name them as you want. In example, add:
Code:
<position>whatever</position>
between <positions> and </positions> tags. Positions will appear in the list, so you can assign some modules to them or use them as in-content modules.
Last edit: 15 years 3 weeks ago by milos.

Please Log in to join the conversation.

Time to create page: 0.171 seconds
Powered by Kunena Forum