Main Content

Magnolia Community Forums: Get help with Magnolia: Create custom filter area for Apps


  • Mrye
    Mrye
    Full name: Yousoff Effendy
    Posts: 16
    Last post: May 31, 2017 12:07:51 PM
    Registered on: Sep 5, 2016
    Create custom filter area for Apps
    #1 by Mrye on Dec 20, 2016 5:50:10 AM

    How can I create custom filters such as Definition Apps instead of 1 search field ?

  • mgeljic
    mgeljic
    Full name: Mikaël Geljić
    Posts: 69
    Last post: Jul 21, 2017 4:43:24 PM
    Re: Create custom filter area for Apps
    #2 by mgeljic on Dec 20, 2016 9:05:50 AM

    Hi Yousoff,

    You may configure "content tools" underneath the workbench definition.
    https://documentation.magnolia-cms.com/display/DOCS/Workbench+definition

    A somewhat simpler example than the definitions app is the JCR browser app; there the workspace selector is also configured as a content tool.

    Here's its config on the demo:
    https://demo.magnolia-cms.com/.magnolia/admincentral#app:definitions-app:;app~jcr-browser@subApps/browser/workbench/contentTools/browserContextTool:treeview:

    In a typical ContentToolPresenter implementation, you may fire an event on the "subapp" event bus, and listen to such event in your workbench presenter to react to the change (e.g. updating the data container).

    Cheers,
    Mika

  • Mrye
    Mrye
    Full name: Yousoff Effendy
    Posts: 16
    Last post: May 31, 2017 12:07:51 PM
    Registered on: Sep 5, 2016
    Re: Create custom filter area for Apps
    #3 by Mrye on Jan 6, 2017 10:32:11 AM

    Hi,

    Thanks for the suggestion on jcr browser app example. It's working : D

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon https://me.yahoo.com/