• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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