Fullscreen
Loading...
 
Skip to main content

Module editing: Names that don't make sense

Status
Open
Subject
Module editing: Names that don't make sense
Version
18.x
Category
  • Consistency
Feature
Admin Interface (UI)
Modules
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

/lib/modules/modlib.php has some names that really do not make sense, in any language, including English, because they do not fit the descriptions. Remember that on the GUI the names will serve as a headline for the description:

Copy to clipboard
'category' => [ 'name' => tra('Category'), 'description' => tra('Module displayed depending on category. Separate multiple category IDs or names by semi-colons.'), 'section' => 'visibility', 'separator' => ';', 'filter' => 'alnum', 'profile_reference' => 'category', ], 'nocategory' => [ 'name' => tra('No Category'), 'description' => tra('Module is hidden depending on category. Separate multiple category IDs or names by semi-colons. This takes precedence over the category parameter above.'), 'section' => 'visibility', 'separator' => ';', 'filter' => 'alnum', 'profile_reference' => 'category', ],

Why is an option to hide a module, based on category, named "no category"? In the code and in the GUI? Actually, when someone wants to use that feature, he or she has to set a category and list it here, so "no category" doesn't make any sense at all. In no language.

Importance
3
Easy to solve?
10 easy
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7507
Created
Saturday 22 August, 2020 11:08:25 UTC
by hman
LastModif
Saturday 22 August, 2020 11:08:25 UTC


Show PHP error messages