Event for time publishing a page

We have some custom code on page published event. BUT it seems its not working for time published pages. What event do I need to subsrcibe to?

Litium version: 6.3.7

I tried it just now with this code and when I debug I hit my breakpoint when a scheduled publish happens. Can you share some code?

[Autostart]
class PagePublishedEventHandler
{
	public PagePublishedEventHandler()
	{
		ModuleCMS.Instance.EventManager.PagePublished += EventManager_PagePublished;
	}

	private void EventManager_PagePublished(Guid webSiteID, Guid pageID, Guid parentPageID)
	{
		// Handle event
	}
}

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