• 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

Removal of upload button

In Deutsch
--------------
In folgendem Ordner: /app/themes/Peafowl/views
Die Datei: index.php
Zeile: 24-34
Diese Zeilen löschen oder mittels <!-- CODE --> auskommentieren

Damit der Button nach einem Update der Software nicht wieder vorhanden ist gehst Du wie folgt vor....
Die Datei im oben genannten Ordner in folgenden Ordner rein kopieren: /app/themes/Peafowl/overrides/views
und dann in der dort hin kopierten Datei die oben genannte Änderung vornehmen.

---------------------------
Translatet into english
---------------------------
In the following folder: /app/themes/Peafowl/views
The file: index.php
Line: 24-34
Delete these lines or comment them out using <!-- CODE -->

So that the button does not exist again after an update of the software, you proceed as follows ....
Copy the file in the above folder into the following folder: /app/themes/Peafowl/overrides/views
and then make the above change in the file copied there.

Betreffende Codezeilen / Relevant lines of code:
PHP:
        <div class="home-buttons">
            <?php
                $homepage_cta = [
                    '<a',
                    CHV\getSetting('homepage_cta_fn') == 'cta-upload' ? (CHV\getSetting('upload_gui') == 'js' ? 'data-trigger="anywhere-upload-input"' : 'href="' . G\get_base_url('upload') . '"') : 'href="' . CHV\getSetting('homepage_cta_fn_extra') . '"',
                    (CHV\getSetting('homepage_cta_fn') == 'cta-upload' and !CHV\getSetting('guest_uploads')) ? 'data-login-needed="true"' : null,
                    'class="btn btn-big ' . CHV\getSetting('homepage_cta_color') . (CHV\getSetting('homepage_cta_outline') ? ' outline' : null) . '">' . (CHV\getSetting('homepage_cta_html') ?: _s('Start uploading')) . '</a>'
                ];
    echo join(' ', $homepage_cta)
            ?>
        </div>

Nachtrag / supplement
-----------------------------
DE: Diese Anleitung bezieht sich auf die aktuelle Kaufversion, die Änderungen können auch in der Free-Version gemacht werden aber wahrscheinlich sind die Codezeilen andere.
EN: This manual refers to the current purchase version, the changes can be made in the free version but probably the lines of code are different.

3fc11abadb5616aa4e19464f654be951.png
 
Back
Top