• 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

Embed code - Select all with 1 click

refface

Chevereto Member
Hi,

I would like to enable the selection of all embed code - link, html & bbcode, on the user end with just 1 click "select all". Currently, user have to manual copy (Ctl A) the code.

How and where on the embed_tpl, can i insert this code? I would appreciate if you could screenshot them them for easy reference. Thanks in advance
 
Are we talking about the image view? I'm able to click on the code and it gets auto-selected.
 
Hi Rodolfo,

Im referring to this.

Embed Code.jpg

For the image view, you can but for the user album embed code, you cant.

Please assist. Thanks
 
Actually, I don't know why I didn't added that feature already. Anyway, there is a nifty event in Peafowl that selects all the content on focus, simply add data-focus="select-all" and boom, the thing will select all.

Example:
data-focus.PNG

So, app/themes/Peafowl/snippets/anywhere_upload.php change this:
PHP:
                                    echo '<div data-combo-value="'.$k.'" class="switch-combo'.($i>0 ? " soft-hidden" : "").'">
                                        <textarea class="r2" name="'.$k.'" data-size="'.$v["size"].'"></textarea>
                                    </div>'."\n";

To this:
PHP:
                                    echo '<div data-combo-value="'.$k.'" class="switch-combo'.($i>0 ? " soft-hidden" : "").'">
                                        <textarea class="r2" name="'.$k.'" data-size="'.$v["size"].'" data-focus="select-all"></textarea>
                                    </div>'."\n";

By the way, I will add this to 3.6 by default.
 
Hi Rodolfo,

Thanks for your assistance. It is wonderful!!!

Looking forward to more & better features in the future updates
 
Back
Top