# Mautic Plugin - Database Driven Custom Navigation

**URL:** <https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584>\
**Category:** 3rd Party Addons\
**Tags:** development\
**Created:** [October 16, 2020, 2:55am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584 "2020-10-16T02:55:50Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [October 16, 2020, 2:55am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/1 "2020-10-16T02:55:50Z")

</div>

Hey guys,

So we have built a plugin that allows you to add custom navigation items that load within frame or external pages.

My personal object was to be able to embed my commands which I use on the regular, but has a broader scope and flexibility to allow us to add any URL as an internal page or link to external resource.

Let me know your thoughts

[https://github.com/TornMarketing/Mautic-Custom-Navlinks](https://github.com/TornMarketing/Mautic-Custom-Navlinks)

20201015 - Mautic - Database Driven Custom Navigation  
[https://www.youtube.com/embed/Ya48-VxUvD8](https://www.youtube.com/embed/Ya48-VxUvD8)

Shared with love from the Torn Marketing Team  
[https://tornmarketing.com.au](https://tornmarketing.com.au)

---

<div class="post-metadata">

**Author:** ![gary.harrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gary.harrison/32/2864_2.png) [@gary.harrison](https://forum.mautic.org/u/gary.harrison)\
**Post date:** [October 28, 2020, 5:36pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/2 "2020-10-28T17:36:08Z")

</div>

This is brilliant! Thank you for sharing!!!

---

<div class="post-metadata">

**Author:** ![gary.harrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gary.harrison/32/2864_2.png) [@gary.harrison](https://forum.mautic.org/u/gary.harrison)\
**Post date:** [November 9, 2020, 1:20am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/3 "2020-11-09T01:20:43Z")

</div>

Hi - I’ve been unable to get this installed on 3.1.2. Tried all the usual steps (i.e. clearing cache). Any suggestions?

---

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [November 9, 2020, 1:40am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/4 "2020-11-09T01:40:28Z")

</div>

What is the plugin directory folder name?

## Instructions

- Copy folder to the plugin directory
- Rename the plugin directory folder to “CustomNavigationLinksBundle”
- Make sure you have full read/write access to the folder (the plugin will be rebuilding config files in the directory)
- Install Plugin
- Clear cache
- Navigate to plugin via admin menu /s/navlinks/1
- Create new
- Select Location (Admin/Primary)
- Label of the link
- URL of the link
- Nav type (\_blank, iframe)
- Save and Close
- Clear Cache (This will rebuild the config files and update everything)

---

<div class="post-metadata">

**Author:** ![gary.harrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gary.harrison/32/2864_2.png) [@gary.harrison](https://forum.mautic.org/u/gary.harrison)\
**Post date:** [November 12, 2020, 8:56pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/5 "2020-11-12T20:56:09Z")

</div>

Hi,

I followed your instructions and it installed perfectly. Not sure where i went wrong the first time, but thank you for the help and the exciting plugin!

---

<div class="post-metadata">

**Author:** ![alexhammer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexhammer/32/14525_2.png) [@alexhammer](https://forum.mautic.org/u/alexhammer)\
**Post date:** [December 8, 2020, 5:01pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/6 "2020-12-08T17:01:30Z")

</div>

Just stumbled over it and it looks very handy.  
Nice work. Thank you for that!  
I’ll start playing around with it.

---

<div class="post-metadata">

**Author:** ![logprod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/logprod/32/1447_2.png) [@logprod](https://forum.mautic.org/u/logprod)\
**Post date:** [January 25, 2021, 1:10am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/8 "2021-01-25T01:10:26Z")

</div>

Unfortunately, it doesn’t appear to work with 3.2. Plugin doesn’t show up to install.

---

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [January 25, 2021, 1:37am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/9 "2021-01-25T01:37:25Z")

</div>

> [@tornmarketing](#):
>
> - Rename the plugin directory folder to “CustomNavigationLinksBundle”

It does, got it running on 10 setups for the latest

make sure you  
\*Rename the plugin directory folder to “CustomNavigationLinksBundle” \*

then clear your cache, then ping new/install plugin command

---

<div class="post-metadata">

**Author:** ![logprod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/logprod/32/1447_2.png) [@logprod](https://forum.mautic.org/u/logprod)\
**Post date:** [January 25, 2021, 1:47am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/10 "2021-01-25T01:47:57Z")

</div>

Thank you. We’ve got it working. Successful.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [February 10, 2021, 3:17pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/11 "2021-02-10T15:17:55Z")

</div>

Great plugin. Just have one question on how to get it to pull the icon ?

I have added an icon png to media/images/. given it all the correct permissions, am able to access the url from a browser, however plugin is not pulling in icon next to new menu item.

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![ericgr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ericgr/32/5505_2.png) [@ericgr](https://forum.mautic.org/u/ericgr)\
**Post date:** [July 14, 2021, 8:33pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/12 "2021-07-14T20:33:51Z")

</div>

Thank you! This is a much-needed plugin and it works great.

One note, I’m on Mautic 3.3.3 and the only way I could get the icon to work was to use one of the built-in ones that I found referenced in a file called ‘libraries.css’. Once I found that complete list of icons, I just picked on and put the name in the icon field in the plugin and it worked.

Adding the path to an image doesn’t work, either full or relative, because the code is not generating an img tag, but continues to use the span class on the icon.

Here is a screenshot - and thanks, again!

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

---

<div class="post-metadata">

**Author:** ![ericgr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ericgr/32/5505_2.png) [@ericgr](https://forum.mautic.org/u/ericgr)\
**Post date:** [July 28, 2021, 9:23pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/13 "2021-07-28T21:23:15Z")

</div>

\*Added to GitHub Issues also

I’m running Mautic 3.3.3 on ubunto 20.4 on AWS EC2.

I installed the Custom Links a few weeks ago and got it working correctly. However, when I tried to edit it later, the changes would not ‘take’. I tried to add a new link and that would not take either (and yes, there was lots of ‘clearing cache’ going on).

Nor could I delete the custom one I had added earlier. Even when I turned the plugin OFF in the plugins area, I could not get it to go away. In the end, I deleted the CustomNav bundle folder all together and cleared cached. Then it went away.

Then I reinstalled it. I added a new Custom Nav link, hit save, cleared cache again, and it will not show up. But… the ID of the new nav item shows ‘4’, so it seems to still be hanging on to the old install.

Any thoughts? I really like this plugin - just trying to get this one thing working with it!

Thanks

---

<div class="post-metadata">

**Author:** ![ericgr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ericgr/32/5505_2.png) [@ericgr](https://forum.mautic.org/u/ericgr)\
**Post date:** [July 28, 2021, 9:58pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/14 "2021-07-28T21:58:06Z")

</div>

Just wanted to update this. I was finally able to get this working by applying chmod 777 to the CustomNav directory (yes, I realize that is not a great solution). I did not have to do this when I first installed it.

Before applying 777 to it I first changed the owner and group to www-data and matched the permissions of the other Plugins (basically 775). This did not work - even with multiple ‘clear caches’.

So, I just made the directory 777 and it works. That doesn’t seem quite right to leave it like that, but I’m adding my comments here for some future reader!

---

<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:27am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/15 "2023-07-04T09:27:38Z")

</div>

on 4.4.9 changing permissions to 777 worked for me

---

<div class="post-metadata">

**Author:** ![lukegeel101](https://avatars.discourse-cdn.com/v4/letter/l/ea5d25/32.png) [@lukegeel101](https://forum.mautic.org/u/lukegeel101)\
**Post date:** [July 14, 2024, 9:50pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/16 "2024-07-14T21:50:03Z")

</div>

> [@tornmarketing](#):
>
> CustomNavigationLinksBundle

I’m trying to use the custom nav plugin but can’t get it working. Do I change the ‘plugins’ directory to CustomNavigationLinksBundle or just the folder with this specific plugin?

---

<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 15, 2024, 1:02am UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/17 "2024-07-15T01:02:37Z")

</div>

Hi, what is your Mautic version?

---

<div class="post-metadata">

**Author:** ![lukegeel101](https://avatars.discourse-cdn.com/v4/letter/l/ea5d25/32.png) [@lukegeel101](https://forum.mautic.org/u/lukegeel101)\
**Post date:** [July 30, 2024, 10:14pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/18 "2024-07-30T22:14:51Z")

</div>

@joeyk I believe it’s the most recent version

---

<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:** [August 6, 2024, 4:26pm UTC](https://forum.mautic.org/t/mautic-plugin-database-driven-custom-navigation/16584/19 "2024-08-06T16:26:30Z")

</div>

I think the plugin is not Mautic 5 compatible.
