Content Management System (CMS)

From docs.websky.tech
Revision as of 12:27, 27 November 2020 by I shaletin (talk | contribs) (Created page with "'''Content Management System''' or CMS is a site management system that allows you to update its content. CMS can be commercial and free, with open source and created for a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Content Management System or CMS is a site management system that allows you to update its content.

CMS can be commercial and free, with open source and created for a specific web project - there are many varieties, many overlapping, so accurate classification is difficult.

Content Management System module in Websky

The Module allows the user to design websites where text, graphics, multimedia and other materials can be placed and managed. The System allows managing the content, content output templates, layouts and layout templates, as well as setting up design comparison with functional pages of the booking system.

Simplified structure of CMS Websky

Functionally, the CMS consists of 2 parts:

The administrative part is linked to the agency registered in the booking system and is closed from access by unauthorized individuals. Using the administrative panel as an authorized user, you can edit the content of the website, change the site structure and set up its connection with Websky components.

The front end, in turn, is responsible for generating an HTML stream for viewing by the end user's browser.

CMS administration panel

The administrative part of the CMS consists of 2 independent functional blocks:

  • Content Editor
  • Structure Editor

There is also a settings block for CMS communication with other systems.

CMS Functions

The main final function of the CMS is to generate complete HTML documents of a certain structure, filled with arbitrary content and available for viewing by means of a web browser.

To provide this functionality, the CMS implements the following functions:

  • Organization of a closed administrative section within the Websky system;
  • Mechanism of binding the CMS to a certain agency;
  • Site settings and integration with Websky system;
  • Creation and editing of user content;
  • Creation and editing of the site structure and content blocks;
  • Creating and editing templates;
  • Formation of an output stream in HTML format based on the site structure and user content.

Attention! As you interact with Websky CMS, for the time being only the stylization of the header and the site basement is supported. All Websky CMS modules are outdated functionality and are no longer supported.

User access

The agency manager has full access to the CMS management part. It is also possible to provide access to the editing sections of the site content to arbitrary users registered with the agency.

Distribution of access is performed by the agency manager.

The procedure of granting access to CMS is as follows:

  1. It is necessary to log in under an agency manager account.
  2. Using the administrative panel "Account management" → "Agents and users" → "Management", create a new user for whom the access is planned to be granted.
  3. Go to the CMS section "Site Management" → "Nemo CMS" → "Content Managers", this section displays the list of users who are allowed to change the content of the agency website.
  4. Click the button "Add user" and follow the link "Select".
  5. In the pop-up window, click on the user account created in p. 2. (no access is granted to unregistered users and groups).
  6. Click the "Create" button in the form for adding a user.

This completes the access distribution process. In order to check availability, you need to log out of the system and log in under the user account created in p.2 and used in p.5 respectively. When moving to the administrative panel user, the user gets access to the CMS sections "Site Management" → "Nemo CMS" → "File Manager" for editing the agency site file storage and "Site Management" → "Nemo CMS" → "Modules" for content management.

For security and structural integrity reasons, access to other CMS sections for ordinary users is prohibited.


Path shortening

You can use links of this format to display content by variable:

http://domain/?go=content&page=1&article=2

where "page=1" specifies the page layout, "article=2" outputs the article with ID=2 (the name of the article variable is specified in the properties of the element responsible for output).

However, it is possible to use the following equivalent format as well:

http://domain/1__article__2.html

where "1" - page template ID, "2" - value of the article variable. Attention! Double bottom underscore is used.


If the default page layout is defined and there is no need to add it to the address, you can instead of

http://domain/?go=content&article=1

use

http://domain/article__1.html

When working with the "Content Pages" module, you can use aliases for short page naming. Suppose there is a page with an alias "about". Then you can use either a full form to output this page:

http://domain/?go=frontend&page=about

or shortened one

http://domain/about.html

Summary of page paths with booking system output

To display the engine element and arbitrary content on the content page you need to use the URL of a certain type.

http://domain/?go=search/index&source=frontend&page=home

Where:

  • "search/index" - name of the controller and the booking system action (air ticket search form);
  • "source=frontend" - variable indicating that it is necessary to use the functionality of the content pages module;
  • "page=home" - alias of the content page (you can also specify its ID, for example, page=123);

Engine element on a page is needed only if a layout without an engine element is connected to the page, otherwise the page will have two search forms at once.

For the page with home alias and airline ticket search form you may use short link of the following form:

http://domain/avia_home

where "home" - alias of the content page.

Attention! Content page ID is allowed instead of aliases.

Attention! For pages with hotel search form you can use the prefix hotel_.


Initial CMS Setup Instruction

Primary CMS setup instructions are available in the corresponding article (english version of the article pending).

See also