snh.wsring.net
Anmelden
Registrieren
snh.wsring.net
Anmelden
Registrieren
System Apps
Fehler melden
Hilfe
Sprache
Suche
Verzeichnis
Zufälliger Kanal
Improve accessibility to web standards
Sat, 04 Apr 2020 18:21:28 +0200
Profil ansehen
via
Based upon the W3 validator:
https://validator.w3.org/nu/?doc=https%3A%2F%2Fourdiaspora.net%2F
Please could someone direct to the relevant part of the Hubzilla installation to make changes to the HTML code?
w3
standards
accessibility
html
css
hubzilla
usability
Link zur Quelle
1 Gefällt mir
Unbekannt
mehr anzeigen
11 Kommentare
Sun, 05 Apr 2020 11:44:22 +0200
Profil ansehen
Hello @
rl
This is an important request. Not sure, I have quite a lot on my plate and lost a lot of time, but I have created a workflow entry for that.
Link zur Quelle
Mon, 06 Apr 2020 11:23:32 +0200
Profil ansehen
Sorry about your time loss; any way a novice could help?
Link zur Quelle
Mon, 06 Apr 2020 14:05:46 +0200
Profil ansehen
the css file is in view/theme/redbasic so there is the first place to look. This is the file that is responsible for the default Hubzilla theme redbasic.
Hubzilla does call a few more css files, though and aggregates them, which may make resolving this way more complicated. These reside in library and come from included external libs. These can / should not be changed as they are heing updated from upstream and that would break.
Thanks for having a look!
If you find and resolve things we can then see what your best way is to get them into the code base.
Link zur Quelle
Mon, 06 Apr 2020 17:19:33 +0200
Profil ansehen
Hilmar R (u-snh)
hi-u@snh.wsring.net
Some of those will not be quit easy to solve at the beginning. For example, html ids most arriving from templates and those will be filled by the php code.
Link zur Quelle
Mon, 06 Apr 2020 17:33:41 +0200
Profil ansehen
To clarify, the css directory full path would be: '/var/www/hubzilla/view/theme/redbasic'? If yes, this directory is empty in my installation. As the acronym suggests, are the library css files higher priority that would over-ride any css files in this 'redbasic' directory?
Link zur Quelle
Mon, 06 Apr 2020 17:36:54 +0200
Profil ansehen
@
Hilmar R (u)
> Hilmar R (u):
Reading your post _after_ writing mine! So the php code would take priority?
Link zur Quelle
Mon, 06 Apr 2020 18:00:32 +0200
Profil ansehen
Hilmar R (u-snh)
hi-u@snh.wsring.net
Not in any case. The templates most contain a skeleton/prefix coding like
<...id="an_id{{$var}}...>
, where is seen a variable, provided by the code the template is called from. Templates are very powerfull, but because of this are also a bit sensitive, especially why error handling with the templates is not very easy and will often show not more then nothing. Some knowledge of the comanche template functions and syntax can be helpful, together with how to apply php. Not enough, some influence arrive from javascript sometimes and somewhere. Hope that does not frustrate, but the trigger to write that was the keyword "novice".
Link zur Quelle
Mon, 06 Apr 2020 18:08:56 +0200
Profil ansehen
Whilst many programmers like Ecma/Javascript, is it viable to reduce the reliance for the Hubzilla system?
Please, where to read more about templates generally and this Comanche function?
Link zur Quelle
Mon, 06 Apr 2020 20:46:20 +0200
Profil ansehen
@
rl
This is very strange, as your hub looks right. Are you sure you are looking in the correct dir? You can see what should be there here:
https://framagit.org/hubzilla/core/-/tree/master/view%2Ftheme%2Fredbasic%2Fcss
Link zur Quelle
Mon, 06 Apr 2020 21:31:14 +0200
zuletzt bearbeitet: Mon, 06 Apr 2020 21:42:50 +0200
Profil ansehen
Hilmar R (u-snh)
hi-u@snh.wsring.net
@
h.ear.t
indeed looks strange.
@rl
The html output on the site with the login is not healthy. Most probably the strange things are not to inspect with a validator. Sure the multiple html ids are not the regular output from hubzilla. How, from where and when did you install hubzilla?
Will inspect.
Link zur Quelle
Tue, 07 Apr 2020 12:39:15 +0200
Profil ansehen
Hilmar R (u-snh)
hi-u@snh.wsring.net
Well, the problem is really complex. Could not locate the specific point of the errors, but the path to is probably
nav_login.tpl
,
navbar-default.tpl
and the code around
include/nav.php
. The problem possibly is caused by some javascript that handles the modal dialogs with the login box. Also, it appears that some
custom elements
of html will apply. But in that case, some formal faults are to see as well. Control of the modal dialogs is obviously with bootstrap.
The problems reside in both hubzilla and zap.
Have reported an issue
W3 validator shows several non unique html id's on login/register/home pages (#
1455)
· Issues · hubzilla / core
Link zur Quelle
1 Gefällt mir
Unbekannt
Konversationsmerkmale
Lädt...
Konversationsmerkmale
Lädt...
Anmelden
E-Mail oder Kennung
Kennwort
Angaben speichern
Anmelden
Registrieren
Zurücksetzen des Kennworts
Entfernte Authentifizierung