Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Embed a module in an article

Embed a module in an article 1 year 17 hours ago #49442

  • tford
  • tford's Avatar
  • OFFLINE
  • OSTar
  • Posts: 114
  • Karma: 0
I have been looking for an answer but had no luck. This is probably the stupidest question ever.

On my site, testsite.unitedwaypeel.org/jupgrade/momf...e-strong-communities, I would like to move the coloured box with the quote in it so that it is in my article instead of a separate module on the side. I would like the article text to wrap around it.

I think this should be possible but I certainly can't see what I need to do. I followed the directions here - docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F - but I couldn't get it to wrap or make it keep the module class suffix. It just plunks the quote in the body of the text - goes the full length.

Thanks!
Trudi
Please become a member of OSTraining to reply to this post.

Embed a module in an article 1 year 15 hours ago #49447

A free plugin, Load Module into Article, is working very well for us.www.pages-and-items.com/extensions/load-module-into-article Incredibly simple. Download, load and enable plugin, add {module [63]} with the number of the module you get in your module manager.

Two caveats:

Using a module twice in a page can cause a problem. In other words, if you have two articles on the page (or more), only one can display the module. You also have to make sure the module isn't already displaying on the page. From author Carsten's forum
" It is very important that you edit that module and that you chose "none" in the "Menu assignment" field. Otherwise, the module would be placed twice in the web page (one in your article, and another one in some place of your template: left, right, toop, etc.)"
Please become a member of OSTraining to reply to this post.

Embed a module in an article 1 year 5 hours ago #49474

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Hi Daveberstein, welcome to OSTraining and thank you for providing this information for Trudi!

Great information! :-)
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Embed a module in an article 1 year 5 hours ago #49477

  • tford
  • tford's Avatar
  • OFFLINE
  • OSTar
  • Posts: 114
  • Karma: 0
Thanks. I've tried that but it doesn't do anything differently from before. I took your advice and made sure that the module didn't have a position assignment and made sure that it wasn't displayed anywhere else on the page.

In entered this code {module [197] xhtml} and got this (attachment 1) instead of what I wanted (attachment 2)

What am I missing? I figure there must be a crucial step I've accidentally ignored. TIA.

testsite.unitedwaypeel.org/jupgrade/momf...e-strong-communities



Trudi
Please become a member of OSTraining to reply to this post.

Embed a module in an article 1 year 5 hours ago #49479

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Trudi,

Is that version of the extension compatible with your version of Joomla?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Embed a module in an article 1 year 5 hours ago #49480

  • tford
  • tford's Avatar
  • OFFLINE
  • OSTar
  • Posts: 114
  • Karma: 0
Yes. I am running 2.5 and I installed plg_module-in-article_v2.0.1.zip which is supposed to be for 2.5.

I haven't been able to find any steps I'm missing. It seems like this plugin should be idiot-proof.
Trudi
Please become a member of OSTraining to reply to this post.

Embed a module in an article 1 year 4 hours ago #49487

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Trudi,

Read these two tutorials and see if they help.

www.ostraining.com/blog/joomla/modules-anywhere/

www.ostraining.com/blog/joomla/loadposition-loadmodule/

Both of these solutions allow you to embed a more than one module into an article and add do some positioning.


See if that helps.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.