1 (edited by BengtR 2014-03-08 05:11:57)

Topic: Juicebox and Drupal - no Pro settings take effect [SOLVED]

Hi!

I downloaded the latest Juicebox Pro version (Juicebox_pro_1.3.3.zip) today. I use it with Drupal 7.26 and the Drupal Module Juicebox 7.x-2.0-beta5.

When I create a gallery everything seems to work. But I don't want the buttons and the caption to show up on every image change and I don't want the share-buttons. But when I change the Pro-settings nothing changes. (I have cleared the cache in both Drupal and the browser, and I am not using Javascript aggregation for the moment.)

The Pro settings I have are the following:

themeUrl="/sites/all/libraries/juicebox/classic/theme.css"
showOverlayOnLoad="FALSE"
showAutoPlayButton="FALSE"
enableAutoPlay="TRUE"
autoPlayOnLoad="TRUE"
enableLooping="TRUE"
imageTransitionType="CROSS_FADE"
displayTime="5"
imageTransitionTime="1"
imageHAlign="LEFT"
imageVAlign="CENTER"
buttonBarPosition="OVERLAY_IMAGE"
imageNavPosition="IMAGE"
captionPosition="OVERLAY_IMAGE"
thumbsPosition="BOTTOM"
thumbsHAlign="LEFT"
maxThumbColumns="3"
maxThumbRows="3"
thumbNavPosition="CENTER"
splashButtonText="Visa galleri"
splashShowImageCount="FALSE"
shareFacebook="FALSE"
shareTwitter="FALSE"
languageList="Visa tumnagelbilder|Dölj tumnagelbilder|Expandera galleri|Stäng galleri|Öppna bild i nytt fönster|Nästa bild|Föregående bild|Spela ljud|Pausa ljud|Visa information|Dölj information|Starta automatisk uppspelning|Stoppa automatisk uppspelning|Automatisk uppspelning PÅ|Automatisk uppspelning AV|Tillbaka|Köp denna bild|Dela på Facebook|Dela på Twitter|Dela på Google+|Dela på Pinterest|Dela på Tumblr|av"

In the HTML source code I only find the following Juicebox code:

<script type="text/javascript" src="http://xxx.com/sites/all/libraries/juicebox/juicebox.js?n22uxm"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
new juicebox({configUrl:'/juicebox/xml/field/node/9/field_gallery_images/full?checksum=e0a328b9d1f5397850234396265d0ca7',containerId:'field--node--9--field-gallery-images--full',gallerywidth:'100%',galleryheight:'100%',backgroundcolor:'#ffffff',themeurl:'/sites/all/libraries/juicebox/classic/theme.css'});
//--><!]]>

...

<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, ... "sites\/all\/libraries\/juicebox\/juicebox.js":1,"0":1,"sites\/all\/modules\/google_analytics ...}});
//--><!]]>
</script>

Shouldn't I find the pro settings somewhere here?

I have used an older version of Juicebox and Drupal 7 and there it seems to work fine. But actually I can't find the Pro settings there neither in the source code...

Do you have any suggestions? Is it a Drupal problem?

Best,
Bengt

Re: Juicebox and Drupal - no Pro settings take effect [SOLVED]

I found it. It was a problem with choosing wrong View mode for the content type when setting this content type as "Available as block" (using the module Node Block).

Re: Juicebox and Drupal - no Pro settings take effect [SOLVED]

I'm glad you have been able to resolve your problem.
Thank you for posting back to let me know.