Orange Hrm 3.1- 向选项卡添加新的菜单标题 [英] Orange Hrm 3.1- adding new menu title to tab

查看:37
本文介绍了Orange Hrm 3.1- 向选项卡添加新的菜单标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 symfony 框架的新手,我使用的是 orangehrm-3.1.1 我在二级选项卡中添加了一个新的菜单标题,但我不知道如何导航到特定的 href 链接.请帮我完成步骤.

i m new to symfony framework , i m using orangehrm-3.1.1 i have added a new menu title in the second level tab , but i dont know how to navigate to the particualar href link. Please help me out with the steps.

推荐答案

这是我通过数据库添加菜单项的方法.

Here is how I add menu item via database.

要在 orangehrm 中添加菜单,您应该检查 3 个表:

To add a menu in orangehrm there are 3 tables you should check:

  • ohrm_screen
  • ohrm_menu_item(菜单层次结构)
  • ohrm_user_role_screen(特定屏幕的用户角色权限)

首先,将您的链接添加到ohrm_screen,指定您的module_idaction_url(检查ohrm_module 中的module_id).

First, add your link into ohrm_screen, specify your module_id and action_url (Check the module_id in ohrm_module).

然后将屏幕添加到ohrm_menu_item表中.

After that add the screen into ohrm_menu_item table.

然后在 ohrm_user_role_screen 中添加新记录,使用允许的 user_role_id 和您的 screen_idcan_read 字段应该为 1(真)

And then add new record in ohrm_user_role_screen with the allowed user_role_id and your screen_id, the can_read field should be 1 (true)

最后尝试重新登录您的应用程序

And finally try re-login to your application

希望你能听懂我乱七八糟的英语.:p

Hope you can understand my messy english. :p

这篇关于Orange Hrm 3.1- 向选项卡添加新的菜单标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆