Difference between revisions of "Site settings"
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Z-CMS provides a Settings section inside each site to allow the | + | Z-CMS provides a Settings section inside each site to allow the [[User management#Site Admin|Site Admin]] to modify the features of the site once it has been created under a [[Companies part|Company]]. |
− | Inside this section it is possible to edit almost all settings that were | + | Inside this section it is possible to edit almost all settings that were chosen at the [[Sites part#Creating a new site|creation]] of the site. |
− | The Settings section can be reached by selecting the | + | The Settings section can be reached by selecting the path <br /> |
− | The following page opens, that enables the | + | [[File:Site settings_n_1.PNG]]<br /> |
+ | [[File:Site settings_n_2.PNG]]<br /> | ||
+ | from the Site [[dashboard]] page.<br /> | ||
+ | The following page opens, that enables the Site Admin to edit inside the areas: "Main", "[[User management#Site users|Users]]", "[[Mail configuration|Mail Config]]" and "Redirect". | ||
− | [[File:Site | + | [[File:Site settings_n_3.PNG|900px]] |
− | + | The "Main" area allows the user to edit the fields shown in the picture above and summarized inside the following table: | |
{|class="wikitable" | {|class="wikitable" | ||
Line 16: | Line 19: | ||
|- | |- | ||
|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 | |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 | ||
|- | |- | ||
|Comments ||Comments | |Comments ||Comments | ||
Line 30: | Line 35: | ||
− | In the lower part of the same page, there is the possibility to add [[ | + | In the lower part of the same page, there is the possibility to add [[Languages]] to the Site by using the [[File: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 | + | 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: | 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: | + | [[File:Sites settings_4.png|900px]] |
− | 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 [[Languages|fallback]] languages. | + | 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 [[Languages#Language Fallback|fallback]] languages. |
− | It is also possible to | + | It is also possible to synchronize or delete one language by using the two icons [[File:Languages_12.png]] [[File:Resources_8.png]] at the right of each row. |
− | == | + | == Users == |
− | To edit | + | To edit [[User management#Site users|users]] that are able to access the specific Site, select the label [[File:Sites part_6.png]] and open the following page: |
− | [[File:Site | + | [[File:Site settings_n_4.PNG|900px]] |
− | By clicking over the button [[File:Sites part_7.png]] a pop-up window appears where it is possible to select | + | By clicking over the button [[File: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 [[ | + | Users that appear in the windows are the ones created inside the Users section inside the [[Companies part]] of Z-CMS. |
Line 60: | Line 64: | ||
Site specific Mail Server Configurations are managed at the point highlighted by label [[File:Sites part_8.png]]. | Site specific Mail Server Configurations are managed at the point highlighted by label [[File: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 [[Mail | + | |
+ | Mail Server Configurations can either be created and stored or can be added as a subset of configurations stored in the [[Mail configuration|Company Mail configurations]]. | ||
Click the button [[File:Sites part_9.png]] and open the following page: | Click the button [[File:Sites part_9.png]] and open the following page: | ||
− | [[File: | + | [[File:Sites settings_6.png]] |
At the top of the page there is a radio button that allows the user to set the mail configuration at the [[Sites part|Site level]] or to the [[Global part|Global level]]. | At the top of the page there is a radio button that allows the user to set the mail configuration at the [[Sites part|Site level]] or to the [[Global part|Global level]]. | ||
− | [[File: | + | [[File:Sites settings_7.png]] |
− | |||
− | |||
− | |||
− | |||
+ | === 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 [[Widgets|Widget]] with relevant parameter values properly set as given below: | ||
+ | |||
+ | <pre style="white-space: pre-wrap; | ||
+ | white-space: -moz-pre-wrap; | ||
+ | white-space: -pre-wrap; | ||
+ | white-space: -o-pre-wrap; | ||
+ | word-wrap: break-word;"> | ||
<zcms:email to="user1@test.com;user2@test.com" from="sender@test.com" subject="Letter" config="office" message="Message Message" template="" type="html"> | <zcms:email to="user1@test.com;user2@test.com" from="sender@test.com" subject="Letter" config="office" message="Message Message" template="" type="html"> | ||
</zcms:email> | </zcms:email> | ||
+ | </pre> | ||
+ | '''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: | ||
+ | |||
+ | <pre style="white-space: pre-wrap; | ||
+ | white-space: -moz-pre-wrap; | ||
+ | white-space: -pre-wrap; | ||
+ | white-space: -o-pre-wrap; | ||
+ | word-wrap: break-word;"> | ||
<zcms:content name="user"> | <zcms:content name="user"> | ||
<zcms:email to="[zcms:attribute:email]" from="sender@test.com" subject="Letter" config="office" message="Message Message" template="" type="text"> | <zcms:email to="[zcms:attribute:email]" from="sender@test.com" subject="Letter" config="office" message="Message Message" template="" type="text"> | ||
</zcms:email> | </zcms:email> | ||
</zcms:content> | </zcms:content> | ||
+ | </pre> | ||
+ | Here, value for the "to" address parameter is taken from the Content Data for the "email" attribute of a [[Content Models|Content Model]] named "user". | ||
− | + | <pre style="white-space: pre-wrap; | |
− | + | white-space: -moz-pre-wrap; | |
+ | white-space: -pre-wrap; | ||
+ | white-space: -o-pre-wrap; | ||
+ | word-wrap: break-word;"> | ||
<zcms:email config="office" template="" type="html"> | <zcms:email config="office" template="" type="html"> | ||
<zcms:param name="to" value="user1@test.com;user2@test.com " /> | <zcms:param name="to" value="user1@test.com;user2@test.com " /> | ||
Line 96: | Line 122: | ||
<zcms:param name="message" value="Message Message" /> | <zcms:param name="message" value="Message Message" /> | ||
</zcms:email> | </zcms:email> | ||
+ | </pre> | ||
+ | |||
+ | Here, '''zcms:param''' is used to set the parameter values. | ||
+ | |||
+ | |||
+ | The Widget can then be included suitably in a webpage for email sending process. | ||
+ | |||
+ | |||
+ | == Redirect == | ||
+ | |||
+ | |||
+ | [[User management#Site Admin|Site Admin]] can specify URLs used in old versions of the website to be redirected to the new site created using Z-CMS. | ||
+ | This feature is useful when the user doesn't want to loose the position acquired by some pages inside web search engines. | ||
+ | |||
+ | |||
+ | Redirection is obtained by using "redirect-new URL" pairs created inside the Site settings part by selecting the "Add redirect URL" button inside the table reported below: | ||
+ | |||
+ | [[File:Site settings_n_5.jpg]] | ||
+ | |||
+ | the following pop-up window opens in which it is possible to define a new "redirect URL – new URL" pair. | ||
+ | [[File:Site settings_n_6.jpg]] | ||
− | + | When somebody uses the URL of the old version of the website, he will be served by the new URL using the redirection feature. | |
− | + | ||
Line 105: | Line 151: | ||
− | * [[ | + | * [[Z-CMS settings]] |
− | * [[ | + | * [[Superadmin settings]] |
− | * [[ | + | * [[Company settings]] |
− | + | ||
* [[Sites part]] | * [[Sites part]] |
Latest revision as of 11:34, 15 November 2013
Z-CMS provides a Settings section inside each site to allow the Site Admin to modify the features of the site once it has been created under a Company.
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 |
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.
Contents |
[edit] Languages
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.
[edit] Users
To edit users that are able to access the specific Site, select the label and open the following page:
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.
[edit] Mail Config
Site specific Mail Server Configurations are managed at the point highlighted by label .
Mail Server Configurations can either be created and stored or can be added as a subset of configurations stored in the Company Mail configurations.
Click the button and open the following page:
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.
[edit] 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="user1@test.com;user2@test.com" from="sender@test.com" 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="sender@test.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="user1@test.com;user2@test.com " /> <zcms:param name="from" value="sender@test.com" /> <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.
[edit] Redirect
Site Admin can specify URLs used in old versions of the website to be redirected to the new site created using Z-CMS. This feature is useful when the user doesn't want to loose the position acquired by some pages inside web search engines.
Redirection is obtained by using "redirect-new URL" pairs created inside the Site settings part by selecting the "Add redirect URL" button inside the table reported below:
the following pop-up window opens in which it is possible to define a new "redirect URL – new URL" pair.
When somebody uses the URL of the old version of the website, he will be served by the new URL using the redirection feature.