Forums

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

This topic contains 0 replies, has 1 voice, and was last updated by  marko.milojevicj 4 months, 3 weeks ago.

  • Creator
    Topic
  • #35326

    marko.milojevicj
    Participant

    Hello.

    For some time, I’m trying to customize default settings for Oro Platform application.
    For example, I’m trying to set initial values into oro_config_value table (eg. sidebar_left_active, sidebar_right_active, enabled_localizations).

    Is it possible to do it?

    Thanks!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #35513

    igalayev
    Participant

    Hello, you can do it with help of data migrations.

    More on working with configuration you can read here https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/ConfigBundle/README.md

    So to change sidebar values you have to create this migration and load it:

    Similar approach works with enabled localizations, create data migration and pass an array of enabled localizations’ ids. Here’s a sample code of adding English (Canada) localization to enabled localizations.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

ssossossosso