? ? Failure

User tests: Successful: Unsuccessful:

avatar ggeorgg
ggeorgg
1 Apr 2016

Pull Request for Issue # .
#9692

Summary of Changes

Added possibility to name displayed name of the modul after the current parent menu item.
At the moment it only works when html5 is chosen as menu style.

Testing Instructions

Create a menu like:

  • Menu A (alias: menu_a)
  • Menu B (alias: menu_b)
  • - Sub Menu B1 (alias: submenu_b1)
  • -- Sub Sub Menu B11 (alias: submenu_b11)
  • -- Sub Sub Menu B12 (alias: submenu_b12)
  • - Sub Menu B2 (alias: submenu_b2)
  • -- Sub Sub Menu B21 (alias: submenu_b21)
  • -- Sub Sub Menu B22 (alias: submenu_b22)
  • - Sub Menu B3 (alias: submenu_b3)
  • -- Sub Sub Menu B31 (alias: submenu_b31)
  • -- Sub Sub Menu B32 (alias: submenu_b32)

Create a menu modul, change the modul style to html5, set the modul active and choose a position on your webpage.
Base entry = current
Choose first stage = 3
Set "Use parent menu entry as modulname" to true

avatar ggeorgg ggeorgg - open - 1 Apr 2016
avatar ggeorgg ggeorgg - change - 1 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Apr 2016
Labels Added: ? ?
avatar wojsmol
wojsmol - comment - 1 Apr 2016
avatar bembelimen
bembelimen - comment - 1 Apr 2016

I don't like the idea, that you add code for a specific module in a general approach like a module chrome. Especially you load the parent menu item regardless if you have a parent id or if you have another module type loaded...

If you need this function, just create your own module chrome in your own project.

avatar brianteeman
brianteeman - comment - 1 Apr 2016

This really isnt a good solution to go into the core of Joomla as there is no way to know what module chrome is being used by a template.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9705.

avatar ggeorgg
ggeorgg - comment - 1 Apr 2016

Ok, thanks for your comments!
Maybe I will try to implement a modul which can do this. (I am quite new to this and I have never done this before, but I think it can't be too hard)

avatar ggeorgg ggeorgg - change - 1 Apr 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-04-01 22:40:08
Closed_By ggeorgg

Add a Comment

Login with GitHub to post a comment