View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Add new item in the left menu - ProjeQtOr
 
 

Add new item in the left menu

More
11 May 2015 17:27 - 11 May 2015 17:27 #1 by FTav
Hello,

I am trying to add a new item in the left-side menu. I have manually added this new item in the menu table in the database thanks to the following command :
INSERT INTO menu (id, name, idMenu, type, sortOrder, level, idle) VALUES (‘135’, ‘menuActionTree’, ‘0’, ‘object’, ‘21’, ‘0’);
(By the way, was it the best way to do it?)

I have set the access rights in the parameters so that every user can see it.

Now I would like to change the name that is displayed (“[menuActionTree]”) into “Action Tree”. How should it be done ? Where do I set the name for every language ?

Attached to this post, a screenshot of what I have right now.

Thank you for your answers,

Kind regards,

FTav
Attachments:
Last edit: 11 May 2015 17:27 by FTav.

Please Log in or Create an account to join the conversation.

More
13 May 2015 09:44 - 13 May 2015 11:06 #2 by murtuza
You have to add this line

menuActionTree: "Action Tree",
in

tool->i18n->en->lang.js file

and for icon you have add/insert three icon named
iconActionTree32.png
iconActionTree16.png
iconActionTree22.png
in
view->css->images
folder
Last edit: 13 May 2015 11:06 by murtuza.

Please Log in or Create an account to join the conversation.

More
13 May 2015 12:42 #3 by FTav
Replied by FTav on topic Add new item in the left menu
Thank you for your answer.

I did exactly what you said, including adding the 3 icons. Only the icon in the top bar menu is showing.

Concerning the left-side menu, when I add the line : menuActionTree: "Action Tree", nothing changes and I get 2 errors :
  • "dojo/parser::parse() error" ReferenceError: menuStore is not defined
  • "Error parsing in _ContentSetter#undefined" ReferenceError: menuStore is not defined

Any idea how to fix it ?

Kind regards,

FTav

Please Log in or Create an account to join the conversation.

More
13 May 2015 14:02 - 13 May 2015 14:02 #4 by murtuza
in which file you add this line???
give me screen shot of that file
Last edit: 13 May 2015 14:02 by murtuza.

Please Log in or Create an account to join the conversation.

More
13 May 2015 14:26 #5 by FTav
Replied by FTav on topic Add new item in the left menu
Sure, here it is !
Attachments:

Please Log in or Create an account to join the conversation.

More
13 May 2015 14:43 #6 by murtuza
add this line at line no 1140 and try again

i solved this error like this
The following user(s) said Thank You: FTav

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.