Custom siteInfoMoreMenu item no longer opening custom "page"

In the latest version of Local (Version 8.3.1+6650) my custom addon menu item no longer works. What changes have been done here?

In multiple years it has been working fine with this:

hooks.addFilter('siteInfoMoreMenu', (menu, site) => {
	menu.push(
		{
			label: 'Some label',
			enabled: true,
			click: () => {
				context.events.send(
					'goToRoute',
					`/main/site-info/${site.id}/some-slug`,
				);
			},
		},
	);

	return menu;
});

Hi @kimmenbert

There shouldn’t have been any change that would have impacted this but we can certainly take a deeper look. If you downgrade to the previous version of Local does it work again?

A post was merged into an existing topic: Custom siteInfoMoreMenu stopped working after new update

Anyone had similar experience?

Were you able to test downgrading your Local version since it worked for you previously?

What type of site environment do you use with this? Server/PHP/MySQL

Do you use this across many sites or is it just not working in a single site?

Yes, downgrading makes things work again.

The tool itself is not the problem, it’s the menu item.

It’s not site dependent, it’s across everything.

Do you know of another add-on using the «more» menu?

Thank you for the follow-up details! I’ll share this with the team and we’ll let you know what we find.

A post was merged into an existing topic: Custom siteInfoMoreMenu stopped working after new update

Hey @kimmenbert – Just letting you know that we zeroed in on the issue and will have a fix coming out soon! See:

4 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.