View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
12727Bug reportsPluginspublic2018-05-23 13:16
ReporterDenisChenu Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.0.0-beta.x 
Summary12727: Add an event to create menu out of DB
Description

Currently the only way to create menu is to do it via DB (PS : i don't find the way to do, but example on https://manual.limesurvey.org/Add_new_menu_and_view_by_a_plugin didn't work).
I really think it's best to have a way to add it out of DB.

Steps To Reproduce

Out of DB:

  • easy update
  • not removable by user
  • easy language
  • versionning
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)20170927
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2017-09-27 20:26

developer   ~44505

Last edited: 2017-09-27 20:27

PS : tested different way to create plugin menu

https://gist.github.com/Shnoulle/8b2c361b19bbf75f8058aacac62f15c5 : onPluginRegistration seems to never happen, menu is never created
https://gist.github.com/Shnoulle/497f9f6039b7959ef2ae6b98a5830691 : happen and broke (website reseted, don't find the error in apache log or Yii log ????)

PS : i can create it in Yii way … but then : it's really the way to do ? Using Yii ?

DenisChenu

DenisChenu

2017-09-29 12:43

developer   ~44530

@markusfluer when you have time : maybe you can review the 2 gist ? I try creating menu but no way …

LouisGac

LouisGac

2018-05-23 13:16

developer   ~47790

the menu system will be rewritten for ls4

Issue History

Date Modified Username Field Change
2017-09-27 20:04 DenisChenu New Issue
2017-09-27 20:26 DenisChenu Note Added: 44505
2017-09-27 20:27 DenisChenu Note Edited: 44505
2017-09-29 12:43 DenisChenu Note Added: 44530
2017-10-23 10:50 LouisGac Assigned To => LouisGac
2017-10-23 10:50 LouisGac Status new => assigned
2018-05-23 13:16 LouisGac Status assigned => closed
2018-05-23 13:16 LouisGac Resolution open => fixed
2018-05-23 13:16 LouisGac Note Added: 47790