# FieldGroup bundle

**URL:** <https://forum.mautic.org/t/fieldgroup-bundle/27418>\
**Category:** 3rd Party Addons\
**Created:** [March 19, 2023, 5:58pm UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418 "2023-03-19T17:58:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 19, 2023, 5:58pm UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/1 "2023-03-19T17:58:00Z")

</div>

Dear Mautic Community,

This bundle enables you to extend Custom Field groups by just modifying one file in the plugin:

\< [GitHub - mzagmajster/mautic-field-group-bundle: Add/edit field groups in Mautic via config params](https://github.com/mzagmajster/mautic-field-group-bundle) \>

In the future I plan to enable adding field groups via Mautic GUI, as well as some other things, so stay tuned 🙂

I suggest you always use master branch when deploying in production enviornment.

Hope someone finds it, useful.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [June 4, 2023, 6:50pm UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/2 "2023-06-04T18:50:40Z")

</div>

Dear Community, it is my pleasure to announce that I have extended field group bundle here: \< [GitHub - mzagmajster/mautic-field-group-bundle: Add/edit field groups in Mautic via config params](https://github.com/mzagmajster/mautic-field-group-bundle) \> in a way, that enables us to add new field groups using the GUI.

I hope you find it useful. See the screenshots below:

1. Create field group

 ![000-create-new-group](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a49dbe83f1827e803292efff6f1882b281aefbd3.jpeg)

1. List field groups

 ![002-list-field-groups](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8501172f4d52255df11c6e9f4ac749e67f0b48da.jpeg)

1. Creating a new custom field

 ![003-new-custom-field](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1aa46e6792a4fc45736ba43a7ff004b03cf4b38e.jpeg)

1. View on the contact.

 ![004-field-on-lead-form](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/44f1e80dd276c412e0f6b31f0b3be7232fa4c132.jpeg)

**Have an idea on how to improve Mautic?**

Reach out and we might just create something awesome!

Best, M.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 4, 2023, 7:15pm UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/3 "2023-06-04T19:15:45Z")

</div>

Thank you so much @mzagmajster ! It’s amazing and fixes a very much needed issue!

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 4, 2023, 6:53am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/4 "2023-07-04T06:53:02Z")

</div>

Perhaps a dumb question - does this plugin work with Mautic’s that are running Docker rather than composer?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [July 4, 2023, 7:07am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/5 "2023-07-04T07:07:12Z")

</div>

It should, I don’t see any reason why it would not.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 4, 2023, 9:18am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/6 "2023-07-04T09:18:00Z")

</div>

No questions are dumb.

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 4, 2023, 9:53am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/7 "2023-07-04T09:53:32Z")

</div>

Struggling to install it. Steps on Github did not work for me so I tried the method I use to install other mautic plugins

```auto
wget https://github.com/mzagmajster/mautic-field-group-bundle/archive/refs/heads/master.zip
sudo unzip master.zip -d /var/www/mautic/plugins
mv mautic-field-group-bundle-master MZagmajsterFieldGroupBundle
php bin/console mautic:plugins:install

```

But no new plugin installed

```auto
0 new plugins were installed and 0 updated.

```

Version 4.4.9. Any guidance on where I am going wrong?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 4, 2023, 11:11am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/8 "2023-07-04T11:11:02Z")

</div>

> [@robm](#):
>
> `sudo unzip master.zip -d /var/www/mautic/plugins`

sudo unzip master.zip -d /var/www/mautic/plugins

Did it create the files for the system user?  
If yes, you need to fix permissions, otherwise the user who runs mautic can’t see them.

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 4, 2023, 11:33am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/9 "2023-07-04T11:33:59Z")

</div>

That did it , chown’ed the folder and it worked

Thanks @joeyk

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [July 4, 2023, 8:28pm UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/10 "2023-07-04T20:28:02Z")

</div>

Hi @robm & @joeyk,

just got a chance to check this out. Glad to see that you managed to resolve an issue @robm and thank you @joeyk for assisting in my absence.

Should you have any further questions do not hesitate to post into the thread, I will respond ASAP.

Regards, M.

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 10, 2023, 10:22am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/11 "2023-07-10T10:22:37Z")

</div>

Hi @mzagmajster

Is there a way to control the order the custom field grps are presentd when editing a contact.

What is happening for me is the new grp I created is now the default grp that is opened when I edit a contact. I would prefer it to default open on core.

The list of field grps down the left of the page when editing a contact has core has no.2 in the list, and my new grp as no.1 I assume this is determining what the default is?

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b0e5c97d4e858ac88638f7ea43f7caf9611f4bd1.png)

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [July 10, 2023, 11:38am UTC](https://forum.mautic.org/t/fieldgroup-bundle/27418/12 "2023-07-10T11:38:54Z")

</div>

Hi,

good point.

I did not think of order when I was first implementing this. I will try to add custom groups to the bottom, if you can just create an issue on GH that would be great.

I will get to this, when I get a chance.

Regards, M.
