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.