snh.wsring.net
Login
Register
snh.wsring.net
Login
Register
System Apps
Directory
Help
Language
Random Channel
Report Bug
Search
Improve accessibility to web standards
View Profile
rl
via
Zotlabs|Hubzilla Development
Sat, 04 Apr 2020 18:21:28 +0200
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 to Source
2 Likes
emaxmax
Emanuel
show all
11 Comments
View Profile
hEARt PhoniX
Sun, 05 Apr 2020 11:44:22 +0200
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 to Source
View Profile
rl
Mon, 06 Apr 2020 11:23:32 +0200
Sorry about your time loss; any way a novice could help?
Link to Source
View Profile
hEARt PhoniX
Mon, 06 Apr 2020 14:05:46 +0200
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 to Source
View Profile
Hilmar R (u-snh)
Mon, 06 Apr 2020 17:19:33 +0200
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 to Source
View Profile
rl
Mon, 06 Apr 2020 17:33:41 +0200
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 to Source
View Profile
rl
Mon, 06 Apr 2020 17:36:54 +0200
@
Hilmar R (u)
> Hilmar R (u):
Reading your post _after_ writing mine! So the php code would take priority?
Link to Source
View Profile
Hilmar R (u-snh)
Mon, 06 Apr 2020 18:00:32 +0200
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 to Source
View Profile
rl
Mon, 06 Apr 2020 18:08:56 +0200
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 to Source
View Profile
hEARt PhoniX
Mon, 06 Apr 2020 20:46:20 +0200
@
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 to Source
View Profile
Hilmar R (u-snh)
Mon, 06 Apr 2020 21:31:14 +0200
last edited: Mon, 06 Apr 2020 21:42:50 +0200
@
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 to Source
View Profile
Hilmar R (u-snh)
Tue, 07 Apr 2020 12:39:15 +0200
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 to Source
2 Likes
emaxmax
Josemar Müller Lohn
Conversation Features
Loading...
Conversation Features
Loading...
Login
Email or nickname
Password
Remember me
Login
Register
Password Reset
Remote Authentication