Loading...
 
Skip to main content

Wrong link on "Add module" button and Edit module tab label isn't accurate

Status
Closed
Subject
Wrong link on "Add module" button and Edit module tab label isn't accurate
Version
29.x
30.x
Category
  • Usability
  • Developer Training
  • Easy for Newbie Dev
Feature
Admin Interface (UI)
Modules
Resolution status
Fix on the Way
Submitted by
Gary Cunningham-Lee
Volunteered to solve
Ushindi Gedeon
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

On tiki-admin_modules.php, the "Add module" button should link to the first tab "Edit module", not "Custom modules", because in most cases an existing module will be assigned, not a new custom one created. (The Edit module tab content contains the heading "Assign new module", which reflects that process.)

  • So the "Add module" button link should be tiki-admin_modules.php?edit_assign=0&cookietab=1, not tiki-admin_modules.php?edit_assign=0&cookietab=2.
  • Thinking about it more, it seems like the first tab label should be "Configure new module", not "Edit module", to better reflect the content of the tab. Modules are edited after being assigned, from their actions link, not in this tab, or else are edited as custom modules, but again not here.
  • The "Assign new module" heading in the first tab content can then be removed, as it would be redundant.

I believe the button link issue is a regression but I don't know when it happened offhand.

Another thing, after selecting the module to assign, the page refreshes to an "Edit module" tab and there's a heading "Edit this assigned module: login_box". This is a smaller issue, maybe, but this heading is incorrect because the module is not yet assigned, which might confuse new users. To be accurate, it should be "Edit module: login_box".

Solution
Workaround
Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
8807
Created
Thursday 14 August, 2025 05:54:12 UTC
by Gary Cunningham-Lee
LastModif
Tuesday 28 October, 2025 11:05:14 UTC


Collapse/expand modules below
Show PHP error messages