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 icon to display the available templates that can be used in your palette. Templates
- If you have not created any templates yet see Creating 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 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 . This removes the component from the palette, but does not remove it from the repository. Delete
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.
Learn More
Pallet: for pallet and pallet group properties.