• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

move to album issue

Status
Not open for further replies.

knova15

💖 Chevereto Fan
Hi

Noticed a little but annoying bug with latest version:

every 5-6 time i try to move a freshly uploaded imag to an existing album on the finished uploading modal it doesnt show the albums in the dropdown just empty.
 
Tried to do it but didn't managed to recreate it yet....when it happens on mine i will do a screenshoot and try to use the same steps on the demo too
 
Change app/themes/Peafowl/snippets/form_move_existing_album.php to this:

PHP:
<?php if(!defined('access') or !access) die('This file cannot be directly accessed.'); ?>
<?php $user_items_editor = G\get_global('user_items_editor') ?: (function_exists('get_user_items_editor') ? get_user_items_editor() : NULL); ?>
<label for="form-album-id"><?php echo !isset($user_items_editor['album']) ? _s('Existing album') : _s('Album'); ?></label>
<select name="form-album-id" id="form-album-id" class="text-input">
    <?php
        if(is_array($user_items_editor)) {
            foreach($user_items_editor['user_albums'] as $album) {
    ?>
    <option value="<?php echo $album['id_encoded']; ?>"<?php if($album['id'] == $user_items_editor['album']['id']) echo " selected"; ?>><?php echo $album['name']; if($album['privacy'] !== 'public') { ?> (<?php _se('private'); ?>)<?php } ?></option>
    <?php
            }
        }
    ?>
</select>
<span class="btn-alt c7"><?php _se('or'); ?> <a data-switch="move-new-album"><?php _se('create new album'); ?></a></span>
 
Status
Not open for further replies.
Back
Top