solved Video Lightbox disables search form from showing up - why?

torbenj
@torbenj
10 years ago
82 posts
Hi there,

I believe it´s best if I start a new thread regarding this issue?

I have made a little video that pop up in a lightbox when clicking the image on the frontpage. I have used this: http://videolightbox.com/ - to create the needes script.

The problem is that it disables the search from on the frontpage.

Here is the code that I have inserted into the index.tpl:











html video by VideoLightBox.com v3.0






It works fine, but it disables the search form button in the menu as I said.

Let me know if I change something in the code to make both things work..?

Thanks :)

Torben
updated by @torbenj: 10/02/14 09:40:44AM
torbenj
@torbenj
10 years ago
82 posts
Ooops the code generates "html video by VideoLightBox.com v3.0"

If you go to my site http://find-et-band.dk/ - and open the source code you will be able to see the code under "Welcome Video".

Hope you can figure it out :)

Thanks :)
updated by @torbenj: 09/01/14 06:18:03AM
torbenj
@torbenj
10 years ago
82 posts
As you can see at the very bottom of this page: http://videolightbox.com/ - the code for the video light box has to go into the HEAD section an the BODY section like this:


...

.....

...

...

.....

...

I´m not sure where the HEAD section is in the .tpl files on the ACP?

The code that´s going into the bodysection doesn´t make any issues, but the one that is going into the header section does.

Let me knkow what I´m doing wrong here..?

Thanks! :)
torbenj
@torbenj
10 years ago
82 posts
Hmm... Look at the bottom of http://videolightbox.com/ - I can´t seem to enter any code here, sorry.

Thanks again :)
brian
@brian
10 years ago
10,148 posts
You need to place code tags - i.e.

[ code ]
... your code here ...
[ /code ]

without the spaces before and after the ]'s.

So videolightbox is not something we use in Jamroom. Make sure you are using Firebug or your Javascript console to check for Javascript errors in your page.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
torbenj
@torbenj
10 years ago
82 posts
Hi Brian,

Thank you for info :)

I found the HEAD Section in meta.tpl - When I put the code in there right after
<head>
it seems to work like it should :)

I don´t hope it´s messing around with other things it shouln´t...

Thanks :)
torbenj
@torbenj
10 years ago
82 posts
Hi again,

I have just seen that you are using a lightbox on your frontpage here on www.jamroom.net - Is that a module - or?

I don´t want to use the videolightbox that I use now if it´s not a good idea?

Let me know :)

Thanks!
brian
@brian
10 years ago
10,148 posts
We use prettyPhoto:

http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/

that's not part of Jamroom, but something we added into our custom skin for the site here.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags