[NOTED] Suggestion: module positions in template deployment descriptor

Locked
scrut
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Tue Oct 11, 2005 3:47 pm

[NOTED] Suggestion: module positions in template deployment descriptor

Post by scrut » Sun Aug 05, 2007 5:25 pm

Every design template supports a different set of module positions and it is very confusing for many users to find the standard set of positions in the backend. Bottom line: if the currently active template does not support module position “X”, then it should not be possible to assign modules to a position “X”.

To inform Joomla of the currently supported module positions, I suggest adding a new tag to templateDetails.xml (which I call deployment descriptor here). For this I suggest the following tag hierarchy:


 
      …
      …
 
      :


holds the name of the supported module position (e.g. “left”)
holds a description of what the designer intended this position to be used for (e.g. “use this for the main menu and the login”)

In the module manager, the drop-down-boxes should now only show those module positions that are supported by the active template(s).

New modules should be assigned the position “none”.

Several issues remain, though:

1. To make sure that the user (site admin) can still use {loadmoduleposition …}, it should still be possible to define new module positions in the backend. The management function for this already exists. Unlike now it should NOT show a standard set of module positions regardless of the template support. Instead, it should show all positions supported by the template but mark them inactive (grey) so that they can’t be edited. All other module position text fields should be empty unless the user creates one.

2. If a user switches from a template that supports the position “XYZ” to a template that doesn’t support this position, all modules assigned to position XYZ should be assigned to the above mentioned position “none”.


I think these alterations would improve the usability by improving Joomlas simplicity.

What do you think?

Thanks

s.
Last edited by masterchief on Mon Aug 06, 2007 9:12 am, edited 1 time in total.

User avatar
masterchief
Joomla! Hero
Joomla! Hero
Posts: 2247
Joined: Fri Aug 12, 2005 2:45 am
Location: Brisbane, Australia
Contact:

Re: [NOTED] Suggestion: module positions in template deployment descriptor

Post by masterchief » Mon Aug 06, 2007 9:14 am

Most of what you ask is in 1.5.  I've noted the need for a description in our new tag.  I don't think we could support changing positions to "none" because if you switched back to your first template, you'd loose all the configuration.  Thanks for thinking about this issue though.
Andrew Eddie - Tweet @AndrewEddie
<><
http://eddify.me
http://www.kiva.org/team/joomla - Got Joomla for free? Pay it forward and help fight poverty.

scrut
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 145
Joined: Tue Oct 11, 2005 3:47 pm

Re: [NOTED] Suggestion: module positions in template deployment descriptor

Post by scrut » Tue Aug 07, 2007 9:22 am

Thanks, masterchief.
In my opinion, can be used in the Module Position Manager as Tooltip: If a user hovers over the name of a module position listed there, the shows up as tooltip. Easy to implement and pretty useful, I think.
Thanks again for your friendly reply.
s.


Locked

Return to “Wishlist Archives - Archived”