Table of Contents |
---|
General ES questions
What is a partial?
All of the views found in the Store and Publisher also consists of a number nested smaller views. Each of these views are referred to a partial, which is defined in a .hbs
file (e.g., header.hbs
).
What is meant by creating the shell of an asset extension?
When extending an asset for the purpose of customizing new asset types, you need to create a specific folder structure for the asset extension. The folder structure for each customized asset type is referred to as the shell of an asset extension. This folder structure is vital for the asset extension model to work. For more information, see Asset Extension.
What are the elements that an asset extension directory contains?
An asset extension directory will contain the following elements:
- A
themes
directory with one or more themes (Optional). - An
asset.js
file (Optional). - A
pages
directory (Optional). - An
apis
directory (Optional).
What is an overriding controller?
When overriding a page, you need to create a copy of the default controller, add it into the pages
directory of the respective asset extension, and thereafter update the controller. The newly updated controller is the overriding controller.
What are the rules that apply when creating a new page in ES with the existing views?
- The controller (
.jag
file) that serves the new page should have the minimum code to invoke the Caramel renderer method. - The file structure in the
renderers
directory should mimic the path to the controller. - The renderer should have the same name as the controller.
For more information on how to create a new page with the existing ES view, see Adding a New Page with the Existing Views.
...
Questions regarding locations of key ES files and directories
...