Database Join Element - Front-end Add - and "Edit" button?

hominid4

Member
Well, I've worked with Fabrik pretty much since the inception and I can't find this setting - HA!

I have a Database Join element with the 'Add option in front end' turned on and it shows the normal 'Add' button next to the element, but also there's a 'Edit' button that I haven't seen before (shown in attachment). I'm thinking my client made a setting change, but he doesn't know and I can't find it.

Could someone please point me to where to turn off the 'Add option in front end' "Edit" button for the 'Add option in front end' so to have the Add button only?

Thanks!
 

Attachments

  • databasejoin-element-frontend-option.png
    databasejoin-element-frontend-option.png
    63.6 KB · Views: 35
Last edited:
That particular edit button appears to be always there if the user has edit permission and "Add option" is on. There's no separate config setting for it.
However, you can create a layout override of /plugins/fabrik_element/databasejoin/layouts/fabrik-element-databasejoin-form-front-end-select.php and do what you want with it. Or, of course, simply hide it with CSS, or remove it from the DOM with JS.
 
Thanks for the info and confirmation that it is not a setting; I'll hide it with CSS for now. Really strange however, I'm unable to show that Add button on any of my other sites with the same setup (me as Super User, the Add option turned on, and similar install) - all my other sites only show the Add button. I don't want it on this site but that'd be handy to have on some of my other sites, I'll continue to play around with it when I have more time. Thanks again.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top