Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. How to use :view_layouts_base_breadcrumb view hook for my plugin

How to use :view_layouts_base_breadcrumb view hook for my plugin

Added by Kiệt Nguyễn about 6 years ago

Hi, I'm developing a plugin for OpenProject. Here are my main page at administration:

I want to add a breadcrumb on the top of it, like so:

I have been inspected the code and seen that it used the :view_layouts_base_breadcrumb hook on layout/base.html.erb to render that breadcrumb. 

How can I use that hook so that my page displays like Administration > Service Pack

Thanks for help!


Loading...