Difference between revisions of "Site settings"
|Line 75:||Line 75:|
Revision as of 17:48, 7 November 2013
Inside this section it is possible to edit almost all settings that were chosen at the creation of the site. The Settings section can be reached by selecting the path
from the Site dashboard page.
The following page opens, that enables the Site Admin to edit inside the areas: "Main", "Users", "Mail Config" and "Redirect".
The "Main" area allows 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|
|Domain Name*||Name of the domain of the site|
|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 button, or to change settings of currently used languages.
The Add Language option allows the selection of one or more languages from the ones added in the Company settings languages section.
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:
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 synchronize or delete one language by using the two icons at the right of each row.
By clicking over the button 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 the Companies part of Z-CMS.
Mail Server Configurations can either be created and stored or can be added as a subset of configurations stored in the General Mail configurations.
Example: configure and sending a mail
Consider that a valid Mail Server Configuration is available with "[official]" as its "Settings Name".
Z-CMS mail tag zcms:email should be placed in a Widget with relevant parameter values properly set as given below:
<zcms:email to="firstname.lastname@example.org;email@example.com" from="firstname.lastname@example.org" subject="Letter" config="office" message="Message Message" template="" type="html"> </zcms:email>
Note: Mail Server Configuration "Settings Name" "[official]" is to be used as the value for the "config" attribute of the Z-CMS e-mail tag.
Parameter values can also be set as shown in below samples:
<zcms:content name="user"> <zcms:email to="[zcms:attribute:email]" from="email@example.com" subject="Letter" config="office" message="Message Message" template="" type="text"> </zcms:email> </zcms:content>
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="firstname.lastname@example.org;email@example.com " /> <zcms:param name="from" value="firstname.lastname@example.org" /> <zcms:param name="subject" value="Letter" /> <zcms:param name="message" value="Message Message" /> </zcms:email>
Here, zcms:param is used to set the parameter values.
The Widget can then be included suitably in a webpage for email sending process.