1

(5 replies, posted in Juicebox-Lite Support)

Forget it... already working!
I did what you've said and now it's working fine!

Thanks

2

(5 replies, posted in Juicebox-Lite Support)

I'm using Wordpress plugin to generate the gallery.

function galeria_dashboard_widget_function() { // gallery widget
    $current_user = wp_get_current_user();
    echo do_shortcode('[juicebox gallery_id="'. $current_user->ID .'"]');
} 
function galeria_add_dashboard_widgets() {
    wp_add_dashboard_widget('galeria_dashboard_widget', 'Galeria', 'galeria_dashboard_widget_function');    
}
add_action('wp_dashboard_setup', 'galeria_add_dashboard_widgets' );

If the code is like this it gives me the message if the gallery doesn't exist but it doesn't outputs anything if the gallery exists...

Thanks

3

(5 replies, posted in Juicebox-Lite Support)

Well now that i called juicebox.js it enlarges the widget to the gallery size but still no content

function galeria_dashboard_widget_function() { // gallery widget ?>
<script src="https://dl.dropboxusercontent.com/u/43242438/juicebox.js"></script>
<?php
    $current_user = wp_get_current_user();
    echo do_shortcode('[juicebox gallery_id="'. $current_user->ID .'"]');
} 
function galeria_add_dashboard_widgets() {
    wp_add_dashboard_widget('galeria_dashboard_widget', 'Galeria', 'galeria_dashboard_widget_function');    
}
add_action('wp_dashboard_setup', 'galeria_add_dashboard_widgets' );

Probably other files missing... :/

4

(5 replies, posted in Juicebox-Lite Support)

Hey guys!

Well i'm thinking of buy Juicebox Pro but first i need to resolve some issues with lite. I've created a wordpress dashboard widget in wich i wanted to show the gallery that has the same id as user id. The dashboard widget is written in functions.php in the theme folder.

The point is... when the gallery doesn't exist it shows me the message "Juicebox Gallery Id # has been deleted." and that's ok. But when the gallery exists it outputs nothing, nothing appear on the widget. If someone can help me i would apreciate it a lot.

Thanks in advance