ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Open-Source CRM software Forums OroPlatform OroPlatform – Programming Questions Add button to view in another bundle?

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 2 years, 4 months ago.

  • Creator
    Topic
  • #6590

    Jowo
    Participant

    Can a bundle add a button to another bundles view and make it function?

    For example in OroCRM we have Accounts view and the button “Export Grid”. Let us pretend it does not exist in the Account bundle.

    Is it possible to create another bundle, include this button there and create the export grid functionality?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #6972
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello, Jowo.

    Answer on your question really depends on where you want to put a new button.

    If you need to add a grid action (like “Export grid”) then you have to extend/override exisitng grid and add/replace required actions.

    If you need to add a general button (like “Create account”) then you have to use placeholders (e.g. this one). In fact there are lots of placeholders in default templates and you can use it to inject your code into any page.

    If you need to customize specific page (e.g. view of account) and there are no appropriate placeholder you can extend and override existing template, and put a new button into appropriate block.

    I hope it will help you. If you have some more specific case that you are going to implement – feel free to put it here, we can discuss it.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.