This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

cms:onPageNotFound event

Triggered by /controllers/application.php
Author LemonStand eCommerce Inc.

Event handler signature

public boolean event_onPageNotFound()
{return} boolean returns TRUE if the default behavior should be bypassed.
Allows to override the default processing of not found front-end pages. By default, when the browser requests a page not found in LemonStand, the CMS page with the url name "/404" is displayed. Using this event, you can bypass the default behavior returning TRUE from the event handler.