Overview
Creating your own palette or adding your own templates to existing palette can help you save time and effort. PhixFlow is installed with two palettes that can be used to create your own palette items. Additional palettes can be installed, via Template Packages, for more detail on how to do this see About Template Packages.
Creating a Palette
- In the repository navigate to your Application → Palette and select Create New.
- PhixFlow opens a properties tab for the palette. Name the palette and save it.
- Click the Templates icon to display the available templates that can be used in your palette.
- If you have not created any templates yet see Creating Layout Templates.
- The templates can be dragged into into the Component list of your palette.
- Optionally, define logical Palette Groups and drag templates into the components section.
- Optionally, The palette and template components can be moved to a package where you will be able to define the Default Components.
- In the repository expand Packages and select Create New
- Create your package and complete the details,
- If you want to define default components, tick Template
- In the Template Details section, define the defaults you want your palette to use.
- Note you only need to define these if you are creating a Palette that you will use as your default palette.
- When you create a new application and select your package it will automatically create all the associations to use your content. If you add your palette after you have created your application and want to set it as the default palette or just override some of the settings, you will need to:
- Open the properties for your application by double clicking on it
- Click the Styles tab.
- Scroll down to Default Components.
- Set the values as appropriate
- Save your changes and any defaults you have set will now be used.
Adding to a Palette
If you have a component that you want to add to a palette, you must first copy it as a Template; see Creating Layout Templates.
To add a template to a palette:
- Open the repository.
- Navigate to the palette and right-click select edit.
- Drag the Palette tab into the workspace to show the tabs side-by-side.
- From the repository branch → Template, drag a template from the repository into a palette.
Removing Palettes Items
To remove items from a palette, right-click on the item in the palette and click Delete. This removes the component from the palette, but does not remove it from the repository.
Can I Change the Styles of a Palette?
Setting Default Components
For any screen that you design, there are common elements, such as forms, true/false fields, or fields for specific types of data, such as long strings or floating point numbers.
Default Component are set at the application or system level:
- Application Level
- Open the properties for your application by double clicking on it
- Click the Styles tab.
- Scroll down to Default Components.
- Set the require defaults.
- System Level
- Open Administration Menu → System → Configuration
- Scroll down to Default Components.
- Set the require defaults. Note that Application Level defaults will override system one.
Palette Groups
Use palette groups to organise your templates.
Adding a Palette Group
- Click Create New.
- PhixFlow opens the Palette Group properties.
- Set the name and order. Add the components you require.
- Apply and Close.
Removing a Palette Group
To remove a group from the palette, use the Delete in the toolbar.
Pallet Group Properties
Field | Description |
---|---|
Name | Name of the palette group. |
Order | Enter a number to specify where this group appears in the palette. |
Components | This section has a toolbar with standard buttons. Click List templates to open the full repository list of Templates. If you want to see only templates from your application, find your application → Templates. Drag in the templates you want to appear in this group. |
Description | Tooltip Enter a tooltip. This will be displayed when a user hovers their mouse pointer over the palette group. Description Enter a description for this palette group. |
Description
Field | Description |
---|---|
Tooltip | The description that will appear at the tooltip for this palette. |
Description | We recommend you always add a description of this palette. |
Audit Tab
Audit Summary
See the Common Properties page, Audit Summary section.