Extensions - How can I enable them & where can I find documentation?

I’m attempting to find out more about Manager’s extension support. I’ve not used them, and want to.

The guides don’t seem to have any information on extensions.
(Cmd+F search for “extens” produces no results on Guides | Manager)

The forum is lacking any obvious topics about the feature, and the only reference I found is that apparently extensions are visible in the settings. Yet, I do not see it:

Where can I find out more? Thanks.

Version 22.3.18, logged in as administrator, cloud edition.

Here is what I was referring to about it being in the settings area. However, it’s dated December 2021 and a lot may have changed in the following 5-6 months:

Perhaps @kszum knows how to enable them? As they are clearly using extensions in this thread:

Clearing Country drop down field in Business Details settings has enabled Extensions for me. Once done, a section in settings appears where you should be able to add extension for every page in the manager.

Extensions are written in JavaScript and they interact with HTML markup of the page to which they are assigned.

However, from my experience, what you can actually achieve with them is rather limited as there is no reliable way to target particular elements on the page (no IDs or unique class names).

I guess this feature is still in development case.

2 Likes

I will try that, thanks!

Yeah I managed to see that it’s JavaScript based from other forum posts (including your own) already. Fortunately, that’s something I am also comfortable with :slight_smile:

EDIT: That worked, cheers.

EDIT 2: It seems quite arbitrary that it only appears when the country field is not set. Perhaps this is a quirk that lubos is not aware of? I would expect it would always be visible regardless of that field value.

I have discovered that not only does the Extensions option not appear in settings when a country is set, but any extensions that exist do not run either.

I can write a custom extension and have it run successfully, but as soon as I re-select my country from the Business Details page, the extension no longer loads on the page it’s supposed to run on.

@ShaneAU now that we know how to get Extensions activated, could I please ask for some sample code that you are testing with so that I can figure out how to use the function?

I suggest you read this topic

1 Like

Try this:

alert('Extension loaded.')

To write extensions you must use JavaScript. If you’re not familiar with this it’s best to hire someone that can write an extension for you (or use a pre-written one shared in this forum by someone else).

1 Like