This cheat sheet includes code templates for use not only in your app but also in the browser console. To get started and benefit the most from it, see Working in the Browser Console.
This cheat sheet includes code templates for use not only in your app but also in the browser console. To get started and benefit the most from it, see Working in the Browser Console.
Variables: o
CMS object, w
widget, x
CMS object or widget, a
array, i
image object
Defining a widget class
Defining a widget component
Providing the editing configuration for a widget (optional)
See Using the Example App as the Foundation of a New Website for detailed instructions.
Publishing the working copy after executing the code below will remove everything.
After the above code has been executed, you will receive an error until you define at least a page with the path “/” in your project. Also, for making searches work, a search results page is required: