Embedding lightbox in article

More
13 years 3 months ago #4294 by tristantay
Hi
I just bought the HOT Lightbox module. I want to know how I can embed the module in my articles and if I can embed more than one module in an article?

Please help.
Thanks
Tristan

Please Log in to join the conversation.

More
13 years 3 months ago #4303 by ivan.milic

Please Log in to join the conversation.

More
12 years 10 months ago #8399 by AHaas
I have tried to do the same with the Sportal template; the lightbox appears both in the usual spot (user2) and the article. How do I get it to appear only in article?

Do I just create a new user syntax so that I can use {loadposition userxxx} and have the light box appear in the article only?

Thanks.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 10 months ago #8403 by milos
You must create new module position in file templateDetails.xml. Add line

<position>whatever</position>

between <positions> and </positions>

Then use this position to show module in article.

Please Log in to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #8422 by AHaas
Hi - thanks very much. It worked! I am able to embed more than one module in one article; however a couple of issues came up:

1. Close X picture as well as the arrows do not appear in the lightbox: here's example...

Screen shot 2011-06-01 at 9.49.49 PM.jpg

Should there be specific graphic files in hotlightbox moved or modified? Any work around solutions on this one?

2. In the same article, when the 2nd module is inserted, the number of pictures actually include the first module's numbers. The 1st Module then shows the same information as the 2nd module. The article seem to treat both modules as one gallery instead of separate gallery after I did insert two separate modules {loadposition photos} then 2nd one {loadposition may11}.

The thumbnails (have to clear thumbnails directory if changed parameters) seem to be tied in with each other's module as well.

Is there any work around solutions or that is just it?

The other solution is to set up separate article and have the 2nd module inserted and the number of images is then separate and on it's own.

That's all for now.
Attachments:
Last edit: 12 years 10 months ago by AHaas. Reason: 2nd try with jpg with smaller file size

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 10 months ago - 12 years 10 months ago #8427 by milos
1. In Global Joomla configuration enable SEF with mod_rewrite or disable SEF. Another solution is to edit file /modules/mod_hot_lightbox/js/jquery.lightbox-0.5.min.js and enter direct links to the images, in example, change
Code:
modules/mod_hot_lightbox/images/lightbox-ico-loading.gif

to
Code:
http://www.yoursite.com/modules/mod_hot_lightbox/images/lightbox-ico-loading.gif

2. You can use only one instance of the module per page. Hot Photo Gallery plugin can be used more than once per page.
Last edit: 12 years 10 months ago by milos.

Please Log in to join the conversation.

Time to create page: 0.288 seconds
Powered by Kunena Forum