- Posts: 1
- Thank you received: 0
Embedding lightbox in article
-
tristantay
Inactive member -
Topic Author
- New Member
-
Less
More
14 years 3 months ago #4294
by tristantay
Embedding lightbox in article was created 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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 3 months ago #4303
by ivan.milic
Replied by ivan.milic on topic Re: Embedding lightbox in article
Please Log in to join the conversation.
-
AHaas
Inactive member -
- Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 10 months ago #8399
by AHaas
Replied by AHaas on topic Re: Embedding lightbox in article
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.
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
-
Less
More
- Posts: 6797
- Thank you received: 723
13 years 10 months ago #8403
by milos
Replied by milos on topic Re: Embedding lightbox in article
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.
<position>whatever</position>
between <positions> and </positions>
Then use this position to show module in article.
Please Log in to join the conversation.
-
AHaas
Inactive member -
- Member
-
Less
More
- Posts: 20
- Thank you received: 0
13 years 10 months ago - 13 years 10 months ago #8422
by AHaas
Replied by AHaas on topic Re: Embedding lightbox in article
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.
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.
Last edit: 13 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
-
Less
More
- Posts: 6797
- Thank you received: 723
13 years 10 months ago - 13 years 10 months ago #8427
by milos
Replied by milos on topic Re: Embedding lightbox in article
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
to
2. You can use only one instance of the module per page. Hot Photo Gallery plugin can be used more than once per page.
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: 13 years 10 months ago by milos.
Please Log in to join the conversation.
Time to create page: 0.179 seconds