WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Hilfe & Support (deutsch) »
  • WB Lingual Hovertext ändern
  • Print
Pages: [1]   Go Down

Author Topic: WB Lingual Hovertext ändern  (Read 22262 times)

Offline astricia

  • Posts: 783
  • Gender: Female
    • netSchmiede24
WB Lingual Hovertext ändern
« on: August 12, 2019, 03:19:45 PM »
Kann mir jemand erklären, wie ich den Hover-Text bei den Flaggen in WebsiteBaker Lingual 2.0.1 (WB 2.12.2) ändere, sodass statt des Page-Titles AUCH die jeweilige Sprache angezeigt wird? Also statt Home bei der englischen Startseite soll stehen "English: Home"

Habe so eine ähnliche Anfrage gefunden, aber da sich das Modul inzwischen ja geändert hat, ist die Erklärung wohl hinfällig. Beim neuen WB Lingual finde ich das nicht...
https://forum.WebsiteBaker.org/index.php/topic,30476.msg212269.html#msg212269

LG,
Astrid
Logged

Offline astricia

  • Posts: 783
  • Gender: Female
    • netSchmiede24
Re: WB Lingual Hovertext ändern
« Reply #1 on: August 13, 2019, 11:16:50 AM »
Hab's selber gefunden - falls es jemanden interessiert:

Die Datei templates/lang.html.twig
Zeile 40
Ändere
Code: [Select]
                title="{{ aTarget.sPageTitle }}" alt="{{ aTarget.sToolTip }}"in
Code: [Select]
                title="{{ aTarget.sFilename }} {{ aTarget.sPageTitle }}" alt="{{ aTarget.sToolTip }}"
Übrigens wird das {{ aTarget.sToolTip }} (alt="") nicht aufgelöst - kann mir jemand erklären, wofür das steht???

LG,
Astrid
Logged

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: WB Lingual Hovertext ändern
« Reply #2 on: August 13, 2019, 04:39:23 PM »
Quote from: astricia on August 13, 2019, 11:16:50 AM
Übrigens wird das {{ aTarget.sToolTip }} (alt="") nicht aufgelöst - kann mir jemand erklären, wofür das steht???

Ist derzeit noch unbelegt. Ist für eine der nächsten Versionen reserviert/vorbereitet.
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Hilfe & Support (deutsch) »
  • WB Lingual Hovertext ändern
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2