Site settings

From GruppoZenit
Revision as of 10:11, 20 September 2013 by Tommotis (Talk | contribs)

Jump to: navigation, search

Z-CMS provides a Settings section inside each site to allow the user to modify the features of the site once it has been created.

Inside this section it is possible to edit almost all settings that were written at the creation of the site. The Settings section can be reached by selecting the label File:Site settings 1.png from the Site dashboard page. The following page opens, that enables the user to edit inside the areas: "Site Settings", "Users", "Mail Config" and Language management.

File:Site settings 2.png

Site Settings allow the user to edit the fields shown in the picture above and summarized inside the following table:

Field ( * denotes mandatory field) Description
Display Name* A unique name to identify the Site in Z-CMS
Context Name* Display name of the context root folder which will be created for the Site in Z-CMS. It is not editable at this point
Comments Comments
Theme Name Can select a theme for the Site from the ones stored at Site Settings/Themes. This enables option for developing web pages based on a particular template inside the selected theme
Error page A webpage in the Site that is already stored

Editing of a Site enables option to set an "Error page" for the website. Visitor will be redirected to the Error page if an unavailable or an invalid page is requested under the particular Site context.



In the lower part of the same page, there is the possibility to add languages to the Site by using the Sites part 3.png button, or to change settings of currently used languages.

The Add Language option allows the selection of one or more languages from the ones created in the Global section Languages from the table shown below:

File:Site settings 3.png

Changing of Language settings for already used languages can be done inside the main page by using the radio buttons provided next to each language as shown below:

File:Site settings 4.png

From this table it is possible to change the default language of the Site, what languages are active for the Site and if there are fallback languages. It is also possible to delete or synchronize one language by using the two icons at the right of each row.


To edit Users that are able to access the specific Site, select the label Sites part 6.png and open the following page:

File:Site settings 5.png

By clicking over the button Sites part 7.png a pop-up window appears where it is possible to select users to add to the Site. Users that appear in the windows are the ones created inside the Users section inside General part of Z-CMS.

Mail Config

Site specific Mail Server Configurations are managed at the point highlighted by label Sites part 8.png. Mail Server Configurations can either be created and stored or can be added as a subset of configurations stored in the General Mail configurations.

Click the button Sites part 9.png and open the following page:

File:Site settings 8.png

At the top of the page there is a radio button that allows the user to set the mail configuration at the Site level or to the Global level.

File:Site settings 9.png

A sample implementation pattern is given below: Consider that a valid Mail Server Configuration is available with ‘[official]’ as it’s ‘Settings Name’  ZCMS email tag <zcms:email> should be placed in a Widget with relevant parameter values properly set as given below: Note: Mail Server Configuration ‘Settings Name’ ‘[official]’ is to be used as the value for the ‘config’ attribute of the ZCMS email tag

<zcms:email to=";" from="" subject="Letter" config="office" message="Message Message" template="" type="html"> </zcms:email>

Note: Parameter values can also be set as shown in below samples:

<zcms:content name="user"> <zcms:email to="[zcms:attribute:email]" from="" subject="Letter" config="office" message="Message Message" template="" type="text"> </zcms:email> </zcms:content>

Note: Here, value for the ‘to’ address parameter is taken from the Content Data for the ‘email’ attribute of a Content Model named ‘user’

<zcms:email config="office" template="" type="html"> <zcms:param name="to" value="; " /> <zcms:param name="from" value="" /> <zcms:param name="subject" value="Letter" /> <zcms:param name="message" value="Message Message" /> </zcms:email>

Note: Here, <zcms:param/> is used to set the parameter values  Widget can then be included suitably in a webpage for email sending process

See also

Personal tools