Elxis CMS Forum

Extensions => Bots and plugins => Topic started by: kyomar on July 26, 2016, 08:11:49

Title: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: kyomar on July 26, 2016, 08:11:49
Hi, I have just updated elxis 4.4. to 4.5 with the patch provided (thanks for the update - great!). The only problem I have now is the black navigation bars with the gallery plugin as seen in the attached file.
Any ideas what could cause this? Thanks a lot for any help.
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: datahell on July 26, 2016, 23:20:23
The style is been applied by your template or the standard.css file. This is the html of the buttons.

<button id="cboxPrevious" type="button">previous</button>
<button id="cboxNext" type="button">next</button>
<button id="cboxSlideshow">stop slideshow</button>

you can apply any style you like in your template's css file or even hide them:

#cboxPrevious, #cboxNext, #cboxSlideshow{ display:none; }
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: kyomar on July 27, 2016, 02:25:34
Thanks a lot datahell for your quick response - much appreciated. I am not able to solve the problem. I haven't changed anything, just upgraded from 4.4 to 4.5. Perhaps the gallery plugin needs an overhaul us it is still version 1 from 2012. Could be that something in colorbox.css is not wright any more - I don't know. Anyway, the plugin doesn't function properly anymore, would be nice if you could fix it.
Thank you very much and have a great day,
Markus
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: datahell on July 27, 2016, 14:28:25
The module does not generate any error. I will check it in the afternoon on my local installation and answer you again.
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: kyomar on July 28, 2016, 02:50:07
Thank you datahell for looking into it. I am using a slightly modified plugin (you did this for me a few years ago). Perhaps you can incorporate this in the standard version for everybody to use.
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: datahell on July 28, 2016, 19:28:11
My previous reply was wrong, it was for an other topic regarding the calendar module. My first reply is still the answer to your question.

Quote
you can apply any style you like in your template's css file or even hide them:

#cboxPrevious, #cboxNext, #cboxSlideshow{ display:none; }
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: kyomar on July 29, 2016, 10:15:29
It looks like I am left alone with this problem and everybody else who uses this plugin. I tried to solve it myself but didn't succeed (otherwise I wouldn't have asked for help). So far I know that nothing is wrong with the plugin itself, it's the css which is somehow mixed up. Only the type "button" is causing problems and this css is found in the template.css. The colorbox.css is fine. BTW, I just found out that you have the same problem in your https://www.elxis.net/. Open a screenshot and you will see what I mean.
Please I need help to solve this. Thank you!
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: datahell on July 29, 2016, 11:12:18
I told you how to fix it, it is a css issue. If you can't do it send me a personal message with ftp access to your site to do it for you.

Note: elxis.net needs total re-design, it is not the button its only problem.
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: kyomar on July 29, 2016, 12:03:57
thanks datahell for your offer but I have just solved the css issue in template.css. It would be great if the button's css was in colorbox.css so we wouldn't have to change the template's css file.
Again thanks a lot for your help datahell. Wish you a great day.
Title: Re: Gallery plugin navigation black bars after upgrade 4.4 - 4.5
Post by: datahell on July 31, 2016, 19:52:52
FYI: Just release Elxis 4.5 rev1876 which has a new configuration option that controls the jQuery version to use. If you have problems with version 3.x you can easily switch to the old version 1.x. Read this for more (https://forum.elxis.org/index.php?topic=8707.msg55740#msg55740)