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:onExtendPageForm event

Triggered by Cms_Page
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onExtendPageForm(Cms_Page $page, string $context)
$page Cms_Page specifies the page object to extend.
$context string specifies the execution context.
Allows to add new fields to the Create/Edit Page form. Usually this event is used together with the cms:onExtendPageModel event. The event handler should accept two parameters - the page object and the form execution context string. To add new fields to the page form, call the add_form_field() method of the page object.