Martini Webpage Template Editor
The Web Page Template Editor in Martini is a specialized tool designed for creating and editing .gtpl
files. It incorporates features from the service editor and introduces additional functionalities tailored to Web Page templates.
Key Features
- Integration with Service Editor: Shares core functionalities with the service editor.
- Web Page Specific Tools: Equipped with additional tools specifically designed for Web Page template creation and manipulation.
Note
Refer to the service editor documentation for common features.
Adding Steps to a Web Page Template
There are several ways to add tag steps or invoke template steps to your Web Page template:
- Using the Toolbar: Click the green '+' button and select 'Tag' from the dropdown menu.
- [Placeholder for Toolbar Method Screenshot or Snippet]
- Context Menu: Right-click on the step tree and choose Add > Tag from the menu.
- [Placeholder for Context Menu Method Screenshot or Snippet]
- Content-Assist Method: Trigger content-assist, search for the tag or template name, and select it.
- [Placeholder for Content-Assist Method Screenshot or Snippet]
- Drag and Drop: Drag a template file and drop it onto the step tree.
- [Placeholder for Drag and Drop Method Screenshot or Snippet]
Ninja-tip
Content-assist can also facilitate generating tables from model arrays. - [Placeholder for Content-Assist Table Generation Screenshot or Snippet]
Editing Tag Steps
Tag steps in the Web Page Template Editor can be customized through various methods:
Editing Content
- Context Menu: Right-click the tag step and choose 'Edit Content'.
- [Placeholder for Editing Content via Context Menu Screenshot or Snippet]
- Properties View: Use the General tab in the Properties view. Enter the desired content in the 'Content' field.
- [Placeholder for Editing Content via Properties View Screenshot or Snippet]
Editing Name
- Using Context Menu: Right-click on the tag step and select the option to edit the name.
- [Placeholder for Editing Name via Context Menu Screenshot or Snippet]
Editing Attributes
- Properties View: Add or edit attributes in the Attributes tab of the Properties view.
- [Placeholder for Editing Attributes via Properties View Screenshot or Snippet]
- Content-Assist: Use content-assist to type and select the attribute name, following the on-screen prompts for modifications.
- [Placeholder for Editing Attributes via Content-Assist Screenshot or Snippet]
Ninja-tip
Quickly navigate to the tag attribute category in content-assist for efficiency. - [Placeholder for Navigating Tag Attributes via Content-Assist Screenshot or Snippet]