Zotlabs.org
Login
Zotlabs.org
Login
Channel Apps
Channel
About
Photos
Files
Calendar
System Apps
Directory
Help
Language
Like Us
Random Channel
Report Bug
Search
Support Hubzilla
Improve accessibility to web standards
View Profile
Sat, 04 Apr 2020 16:21:28 +0000
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
Unknown
show all
11 Comments
View Profile
hEARt PhoniX
Sun, 05 Apr 2020 09:44:22 +0000
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
Mon, 06 Apr 2020 09:23:32 +0000
Sorry about your time loss; any way a novice could help?
Link to Source
View Profile
hEARt PhoniX
Mon, 06 Apr 2020 12:05:46 +0000
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-462)
Mon, 06 Apr 2020 15:19:33 +0000
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
Mon, 06 Apr 2020 15:33:41 +0000
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
Mon, 06 Apr 2020 15:36:54 +0000
@
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-462)
Mon, 06 Apr 2020 16:00:32 +0000
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
Mon, 06 Apr 2020 16:08:56 +0000
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 18:46:20 +0000
@
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-462)
Mon, 06 Apr 2020 19:31:14 +0000
last edited: Mon, 06 Apr 2020 19:42:50 +0000
@
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-462)
Tue, 07 Apr 2020 10:39:15 +0000
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...
older
Conversation Features
Loading...