If you publish Dynamic Sites, you can use the top-level Multi-Sites page which lists all the Model Sites you have access to.
By default, these Sites are shown with an Evolve logo, but you can change it to an image of your choice.
To use your own custom image for a Site on the Multi-Sites page:
Create a new PNG image file
Ideally the dimensions should be 200 x 130 pixels, however if the image is larger, it will be scaled down automatically in the page
Name the image file with the same name as the Site URL Name used for your Site
You can find this value on the Deployments > [server-name] > [model] node in Evolve Designer
For example: m48yxeuv.png
Place the image at the following location on your Evolve web server machine
<evolve-install-path>\Data\Common\images\sites
Usually <evolve-install-path> is: C:\Casewise\Evolve\
Publish your Site, ensuring you choose the Theme & Pictures option if you do not do a full Dynamic Site generation.
You may need to clear your browser cache in order to see the new image immediately.
When you create an Index Page or a Create Object Page in your Site, you can choose an image for that page which is used as an icon in the menu.
While Evolve ships with a set of default images for this purpose, you can also use your own icons if you wish.
Any custom images you add are available to be used on any Site you create in Evolve.
|
Custom icons must be .png files and the recommended size is 128px x 128px. |
---|
The easiest way to create a custom image is to copy and edit an existing one. This ensures it is the correct size and format and will fit neatly into your Evolve Site.
To use a custom icon:
In Windows Explorer, navigate to <your-evolve-install-path>\Site\bin\webDesigner\images\views\sources\custom
NB: If the custom folder does not exist, you can create a folder of this name in the sources folder
Create a copy of one of the existing images from the path \Site\bin\webDesigner\images\views\sources\CW
into the custom folder. Then rename the file - e.g. mytest.png
Open the image in an image editing application to change it
If you want to use color transformation with the image, you must make sure the parts you want to change are kept in black, and you should keep the circle and only edit the middle of the graphic
Save the image.
Your icon will now be available in the Custom Image field on your pages.
Style information should always be contained in a file separate to the functioning code. In Evolve this can be produced in one of two ways.
Each new visualization / layout should have its own stylesheet with the filename the same as it’s matching JavaScript file, this file should be placed in the same folder as the JavaScript file.
CSS
Language: CSS
File Extension: .css
Reference: www.w3schools.com/css/
CSS is the most common format for producing stylesheets in web development, this method requires no building of the code but does not give you access to the global style variables that are available through Evolve.
For more information on CSS development see the reference linked above.
LESS
Language: LESS
File Extension: .less
Reference: lesscss.org
Tools: winless.org/
LESS lets you to be more flexible with the styles you write and allows the use of methods & variables (amongst other things) when developing a style file. This LESS file is then compiled to a CSS output.
Through less you can gain access to global theme variables by adding the following to the top of your style file. See LESS: Global Variables for a full list of variables available.
@import "../variables";
LESS files are automatically compiled by Evolve when they are placed in the correct location and ‘Apply Themes’ is run through Evolve Designer. To compile LESS files outside of Evolve and learn more about LESS and its development take a look at the tools and references above.
Welcome to the CW Evolve Advanced Customization Guide.
Who is this guide for?
This guide is for CW consultants or advanced users of Evolve - those interested in extending the basic capabilities of Evolve by creating custom layouts or visualizations, or changing the appearance of Evolve Sites.
What do you want to do?
Getting Started
To prepare for customizing Evolve, see
Get Ready For Development.
Layouts
To create custom layouts, see Creating Custom Layouts.
Visualizations
To create custom visualizations see Custom Visualizations.
CSS & JavaScript
To create custom CSS or JavaScript see Custom CSS & JavaScript
Styles
To learn about style development, see Style Development
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center