1 (edited by cprblak 2014-06-24 05:31:42)

Topic: Update broke theme icons

I use JB through Lightroom and have been using the same custom css theme for months now with custom icons.

Example:

.jb-navigation .jbn-left-button:before, .jb-flag-large-screen-mode .jb-navigation .jbn-left-button:before
{
    content: "\e009";
}
.jb-navigation .jbn-right-button:before, .jb-flag-large-screen-mode .jb-navigation .jbn-right-button:before
{
    content: "\e008";
}

Tonight I finally updated to Juicebox 1.4.1 by replacing the jbcore folder in my Lightroom web gallery. Now when I export using the same LR templates I've always used, the icons in my theme are not being seen. The custom theme is linked properly* because other elements on the page change, but the icons go back to the Juicebox default.

Any idea why this is happening?

*Also I noticed that the config.xml file is adding elements that seem to be the Juicebox Lite options. And when those items appear, the custom css file does NOT link.

With an earlier version of JB the beginning of my config file looked like this:

useFlickr="FALSE"
    galleryTitle="Photo Illustration "
    showOpenButton="false"
    showExpandButton="false"
    showThumbsButton="false"

After the update I get this:

useFlickr="false"
    galleryTitle="Photo Illustration"
    textColor="rgba(255, 255, 255, 1)"
    thumbFrameColor="rgba(255, 255, 255, 0.5)"
    showOpenButton="false"
    showExpandButton="false"
    showThumbsButton="false"
    useThumbDots="false"
    useFullscreenExpand="false"

Why does now add those other lines? Why do they seem to affect the custom css from linking?

As I said the only thing that has changed was doing the update. Everything else in LR such as the templates, all worked fine before the update.

***I went to a backup from 2013 and replaced the new 1.4 jbcore folder. And voila, the custom icons show. But LR is doing something weird because it still says it's JB 1.4 which it can't be since it's from 2013.
So something in the update must be affecting the icons?

Re: Update broke theme icons

Why does now add those other lines?

The extra lines you refer to are coming from an updated version of the Lightroom plugin (rather than an updated version of the core Juicebox files).
The latest version of the Lightroom plugin includes settings for all current Lite configuration options (some of which were not available in older versions) and corresponding entries are added for each of these settings in the gallery's 'config.xml' file.

It certainly looks like you have updated the Lightroom plugin at some point. When doing so, the 'jbcore' folder (from the 'juicebox.lrwebengine' folder) which is copied across to the galleries you create would have been overwritten with the version which came bundled in the plugin. You would need to replace this 'jbcore' folder with your own modified version.
It sounds like you may have replaced the plugin's 'jbcore' folder with a stock (unmodified) version of the Juicebox-Pro v1.4.1 'jbcore' folder. If you made any modifications to a previous version of the 'jbcore' folder, then you will need to do likewise with the v1.4.1 version.

But LR is doing something weird because it still says it's JB 1.4 which it can't be since it's from 2013.

Lightroom will display the version of the plugin itself (not the version of Juicebox which you are using).
If you replace the plugin's 'jbcore' folder, the actual plugin itself (the code that interacts with Lightroom to create the gallery) will still remain the same.

I hope this makes sense and helps to clarify things.

Re: Update broke theme icons

Any reason for the custom icons in the custom CSS not being recognized?

Re: Update broke theme icons

Please post the URL to your gallery so that I can take a look and help further.
Please let me know what file contains your custom CSS code, what you expect to see and what you actually see.
(I do not know if your custom CSS code is in one of the Lightrom plugin's template files, one of the Juicebox 'jbcore' files, one of the output gallery files or a completely separate external file.)
Thank you.