Please always enter the name of the template and the Joomla version and the live URL if available

[GELÖST] 'Back To Top'-Button / Text ändern

  • Rasmo
  • Rasmo's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0

[GELÖST] 'Back To Top'-Button / Text ändern was created by Rasmo

Posted 1 year 1 month ago #32707
Hallo JP,

im Template Modern v1.3.12 ist in der backtotop.php der Titel fest ist englisch "Back To Top" hinterlegt.
Lässt sich das ändern, das hier, so wie sonst auch üblich, auf die language.ini zurückgegriffen wird?

$html .= '<a title="Back to Top" id="astroid-backtotop" class="' . implode(' ', $class) . '" href="javascript:void(0)" style="' . $astyle . '"><i class="' . $backtotop_icon . '" style="' . $style . '"></i></a>';
echo $html;

Danke.

Viele Grüße

Rasmo
by Rasmo

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic [GELÖST] 'Back To Top'-Button / Text ändern

Posted 1 year 3 weeks ago #32778
Moin!

Wäre als Eingabe bei Astroid-Github vorteilhaft.

Ich leite das mal als Verbesserung weiter.
JP-Admin
Joomla-Meister im forum.joomla.de

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic [GELÖST] 'Back To Top'-Button / Text ändern

Posted 1 year 1 week ago #32867
Übergangsweise kann man es mit einem Override der backtotop.php machen:

Erstelle eine Ordner mit dem Namen /frontend im folgenden Root:

/templates/dein_template/html/frontend

In diesen packst du die modifizierte backtotop.php

Als Beispiel:
Code:
$html .= '<a title="Nach oben" id="astroid-backtotop" class="' . implode(' ', $class) . '" href="javascript:void(0)" style="' . $astyle . '"><i class="' . $backtotop_icon . '" style="' . $style . '"></i></a>'; echo $html;

Damit wird sie beim nächsten Update nicht überschrieben.

BTW: Ich habe den Threadtitel entsprechend angepasst.
JP-Admin
Joomla-Meister im forum.joomla.de
Last Edit:1 year 1 week ago by Administrator
Last edit: 1 year 1 week ago by Administrator.

Please Log in or Create an account to join the conversation.

  • Rasmo
  • Rasmo's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0

Replied by Rasmo on topic [GELÖST] 'Back To Top'-Button / Text ändern

Posted 1 year 1 week ago #32875
Danke. Ja, das ist so für mich nutzbar.

Viele Grüße

Rasmo
by Rasmo

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License