View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12174 | Feature requests | Plugins | public | 2017-03-07 16:29 | 2023-08-16 18:04 |
Reporter | DenisChenu | Assigned To | |||
Priority | none | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 12174: A global beforeMenuRender | ||||
Description | In 2.6 : we have https://manual.limesurvey.org/BeforeAdminMenuRender for the top menu => I think we need a global event, starting by some and add new menu after. event : beforeMenuRender
| ||||
Additional Information | After we can remove beforeToolsMenuRender with API broker (then 4.0) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Story point estimate | 20 | ||||
Users affected % | 20 | ||||
related to | 18654 | new | Make all menus changeable via plugin events (or a global registry) |
Just for your advice/idea here ? Alternative : construct an extension/menu but : this take really more time (and we don't have submenu event) |
|
|
|
|
|
For 1 : i really think allowing entry everywhere is a must have. If not : need : Token menu/Response menu/Statistics menu/Question view/Group view |
|
OK, I agree with this design then. Do we need it? Don't know. :) What's the use-case? Do we have any idea on what the plugin system should NOT be able to do? Well, it's the only way to extend LS, for now, so. :P |
|
Use case : some example
PS : we need 2 things
|
|
Wow, OK. " - A way to call 'specic admin part' : for example : call token view except content. " How is this different than to render a side-body? |
|
sidebody add 'Survey menu' if surveyid is set, we need side body with 'token menu' or 'reponse menu' or ..... |
|
Bah. Those menus should be removed anyway... Or at least be collapsed into one bigger drop-down menu. But OK, I get your point. |
|
You mean this 2 menu (for example) ???? I didn't get it and don't remind of any discussion to remove this specific menu, and what replacement must done |
|
Yeah, but that's just me, there's no discussion about it. See my screenshot in the IRC of the Yahoo user settings web site. You think the side-body event can be modified to configure which menu to show? |
|
Yes, maybe : what 'layout' must be used. default But if we remove all if this in 6 month : i didn't work on it .... |
|
Hm, I don't know if we have any concrete plans for the admin interface at this point. |
|
Personally, I'd prefer if LS 4 was Louis doing question object types, but that's only me. |
|
Markus has expressed a wish to modify the admin interface. No idea if that will happen. |
|
Maybe we should bring it up on the next team meeting, so we can guarantee some stability? |
|
Example of usage (private plugin, based on https://framagit.org/SondagePro-LimeSurvey-plugin/statsPivotTable) |
|
Another example Adding via script |
|
Ye. Five years later... Louis wanted to do a database-based menu system, Markus did some menu database tables, but they're kind of weird and maybe bloated... Not sure now. |
|
Survey menu currently . But hacking, doing it via my own way ;) |
|
'addSurveyId' => true, I smell a security issue here, if it's possible to add all three of those in one URL....... |
|
One problem with putting all menus in db is that every time we change a link or translation, we have to do a db update. A possible solution: 1) Add a new menu service provider, from which all menus come from, in form of classes like Menu and MenuItem |
|
NB, I'm using service locator pattern in the plugin update system |
|
This need to be improved (there are some TODO) |
|
Please do not fetch menu items from database. Always add and remove items via event |
|
+1 |
|
As expressed in ticket 18654, I prefer a global registry class rather than multiple events. But maybe one global event could work too, actually. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-07 16:29 | DenisChenu | New Issue | |
2017-03-07 16:31 | DenisChenu | Assigned To | => ollehar |
2017-03-07 16:31 | DenisChenu | Status | new => feedback |
2017-03-07 16:31 | DenisChenu | Note Added: 43190 | |
2017-03-08 09:36 | ollehar | Note Added: 43211 | |
2017-03-08 09:37 | ollehar | Note Added: 43212 | |
2017-03-08 09:38 | ollehar | Note Edited: 43212 | |
2017-03-08 10:39 | DenisChenu | Note Added: 43213 | |
2017-03-08 10:39 | DenisChenu | Status | feedback => assigned |
2017-03-08 10:39 | DenisChenu | Assigned To | ollehar => |
2017-03-08 10:39 | DenisChenu | Status | assigned => new |
2017-03-08 10:48 | ollehar | Note Added: 43214 | |
2017-03-08 11:03 | DenisChenu | Note Added: 43216 | |
2017-03-08 11:05 | ollehar | Note Added: 43217 | |
2017-03-08 11:12 | DenisChenu | Note Added: 43218 | |
2017-03-08 11:21 | ollehar | Note Added: 43219 | |
2017-03-08 11:24 | DenisChenu | File Added: Capture du 2017-03-08 11-23-08.png | |
2017-03-08 11:24 | DenisChenu | File Added: Capture du 2017-03-08 11-23-34.png | |
2017-03-08 11:24 | DenisChenu | Note Added: 43221 | |
2017-03-08 11:30 | ollehar | Note Added: 43222 | |
2017-03-08 11:33 | DenisChenu | Note Added: 43223 | |
2017-03-08 11:41 | ollehar | Note Added: 43224 | |
2017-03-08 11:41 | ollehar | Note Added: 43225 | |
2017-03-08 11:43 | ollehar | Note Added: 43226 | |
2017-03-08 12:28 | ollehar | Note Added: 43227 | |
2017-03-14 15:03 | DenisChenu | File Added: Capture du 2017-03-14 15-00-13.png | |
2017-03-14 15:03 | DenisChenu | Note Added: 43282 | |
2022-06-06 16:20 | ollehar | Issue Monitored: ollehar | |
2022-06-06 16:20 | ollehar | Bug heat | 4 => 6 |
2022-06-07 12:19 | DenisChenu | Note Added: 70270 | |
2022-06-07 12:19 | DenisChenu | File Added: Capture d’écran du 2022-06-07 11-46-42.png | |
2022-06-07 12:21 | ollehar | Note Added: 70271 | |
2022-06-07 12:24 | DenisChenu | Note Added: 70272 | |
2022-06-07 12:40 | ollehar | Note Added: 70274 | |
2022-06-07 16:47 | ollehar | Note Added: 70283 | |
2022-06-07 16:50 | ollehar | Note Added: 70284 | |
2022-06-07 16:50 | ollehar | File Added: image.png | |
2022-06-07 17:17 | DenisChenu | Note Added: 70285 | |
2023-02-06 09:38 | 2BITS_PL | Issue Monitored: 2BITS_PL | |
2023-02-06 09:38 | 2BITS_PL | Bug heat | 6 => 8 |
2023-02-10 08:01 | DenisChenu | Note Added: 73786 | |
2023-02-10 11:43 | ollehar | Story point estimate | => 20 |
2023-02-10 11:43 | ollehar | Users affected % | => 20 |
2023-03-06 18:35 | bismark | Note Added: 74058 | |
2023-03-06 18:35 | bismark | Bug heat | 8 => 10 |
2023-03-07 14:52 | DenisChenu | Note Added: 74064 | |
2023-08-16 18:04 | ollehar | Relationship added | related to 18654 |
2023-08-16 18:04 | ollehar | Note Added: 76628 |