Admin modx access to the main page. Admin Panel Modx - User Manual (Instruction)

So, the system is already installed and even functioning. This can be seen in the browser. But if you go to the site now, you will not see anything other than a meager English inscription.

Therefore, let's begin to slowly understand the admin panel.

Where is the MODx admin panel

For authorization in the admin panel, go to http://site.name/manager, while site.name is domain address your site. A simple window will open for you, where you will need to enter the administrator login and password that you specified during installation.

And here she is in front of you - control system MODx Evolution in all its glory. After installation "from scratch" and the first authorization in the admin panel, you will be automatically redirected to the system configuration page (this is where the basic settings are set). After making necessary changes, click the "save" button - otherwise the results will not change.

In the future, you can get to the settings page from the admin panel by successively clicking the Tools - Configuration tabs.

Basic MODx settings

Now it's time to start tweaking the basic system settings. In principle, most of the parameters do not need to be changed, as the system is already user-oriented. But if there is a need to tweak something somewhere, then you will at least roughly know where to look for it. Usually MODx setting it takes no more than a minute, especially since next to each parameter there is a small hint in Russian - this is just a lot of text, but in fact there is almost nothing to do there

Site tab

Site title

Here you must enter the name of your site. In this field, you can write anything you want, or one word, or the name of the domain, or even the name of the site with a small description of it. Because in the future we will make the display of this title in the page title, then, I would advise you to enter short description... Such a description will never be superfluous for search engines.

Control system language

From the drop-down list, you can select the language into which the administrative part of the control system will be fully translated. It's just super convenient. First, you can work with certain language skills with clients from different countries while giving them the opportunity to manage their website in their native language. The list of supported languages ​​is quite large, from Bulgarian to Spanish, and even includes such exotic languages ​​as Japanese, Chinese and others. Secondly, you don’t have to look for localizations of your system into any language or ask various forums for help with translation. Thirdly, the translation provided by the system is a professional, complete translation, that is, absolutely all pages and secondary elements (tooltips, comments, and so on) are translated.

By default, the language you specified when installing MODx is installed. We have Russian-UTF8 by default, leave it unchanged and move on to the next field.

Encoding

Here we set the encoding of the site pages. Select "Unicode (UTF-8) - utf-8" from the dropdown list.

If this option is enabled, then all ampersands (&) in links will be replaced with & in the XHTML format. Don't bother too much here - leave the default "Yes"

First page

Here you need to enter the ID of the page that you want to make the start page, the visitor will get to it when the site loads. By default, this is ID = 1. I advise you to leave it as it is, but keep in mind where you need to make changes in order to temporarily direct the visitor to another page, for example, with a very important information, or news, without changing the main page.

404 error page

Enter the ID of the page that the visitor should go to by typing the address of a non-existent page in the browser, or by clicking on the "broken" link on your site. This can happen periodically, and you have the opportunity to direct such a user to a special page notifying about the absence of a page. To be honest, it is now very fashionable to create an interesting design for 404 error pages, and many in the development of website design, the terms of reference include requirements for the original 404 page.

By default, ID = 1, which means that the person who requested a non-existent page will go to the main page of the site. As long as you have no 404 error page design, you can leave it by default, along the way we will decide what to do with it.

Access Denied Page

ID of the page that visitors should see if they try to go to closed page(403 - access denied). Leave unchanged. The default is one.

Site status

Leave online. If you choose "offline", site visitors will see a message that the site is unavailable and will not be able to view the site itself. This can be useful when carrying out technical work on the site, updating the design, structure, and so on, to restrict access to the site and leave it only to the administrator.

Site-Unavailable Page and Site Unavailable Message

If for some reason you have set the status of the site to "offline", then you can use these fields to set the ID of the page that visitors should see if they try to enter the site. By default, the page is not created, and the visitor will simply see a message about the unavailable site, which you can change in the field "message about the unavailable site"

Register visits

Provides data for the analytics plugin, such as a check box that determines whether to count views of a specific resource. Leave no until we need it.

Number of best indicators

The number of the best indicators in statistics reports. Leave the default - 10.

Default template

You need to choose a template that will be applied to the new resources by default. When editing a resource, you can install any template. Initially, the "Minimal Template" template is created and set by default. We'll leave it as it is for now, we'll change it later or create a new one.

Publish by default

While working on local computer, you can set the value to "Yes" so that new pages are immediately published after saving. But when managing a ready-made website published on the Internet, it is better to set "No" so that you can modify the publication after saving, make preview, correct errors, if any, and, only after that, check the "Publish" checkbox in the page settings. This way you can avoid viewing intermediate versions of your publications by site visitors.

"Cached" by default

Select Yes to have new resources cached by default after creation.

A few words for beginners about what caching of Internet pages is and what it is for. Web page caching is the process of storing frequently requested documents on (intermediate) proxy servers or the user's machine, in order to prevent them from constantly downloading from the source server and reduce traffic. Alternatively, web pages can be cached using the CMS of a particular site to reduce the load on the server with high traffic. This means that when the user reloads the same page, it will be partially taken from the cache, and loading will take less time.

Searchable by default

In most cases, you will need to create pages that are searchable on the site, so leave the value "Yes". With this parameter, you can hide various service pages from the internal search engine on your site.

Add to default menu

Leave "Yes" to enable automatic adding of the item to the menu.

Content-Type

Here you can add Content-Type for the site. You can not add anything for now.

Difference in time

Select the correction (number of hours) between the time at your location and at the location of the server. This parameter can be set after publishing the site on the Internet. For example, if I am in Perm, and the server is located in Germany, then I can enter an amendment of 5 hours (the difference in time zones) to synchronize the time.

Server type

The default is "http", if you intend to use https connections on your site, indicate it here.

Note: https (Hypertext Transfer Protocol Secure) is an extension to the http protocol that supports encryption. Provides protection of transmitted data and is used to provide authentication and secure connection. It is widely used, for example, in payment systems in online stores in order to encrypt the transmitted data about credit cards. Currently, https is supported by the most popular browsers.

Check server headers HTTP_REFERER

Leave the default - "Yes".

RSS feed of news and rss feed security

Addresses of MODx RSS feed and Security RSS feed are entered. These tapes will be broadcast on home page admin panel on the MODx News and Security News tabs. They will broadcast news about the release of new versions of MODx or about discovered vulnerabilities. It is very convenient, you can follow all updates and warnings from the developers and quickly respond to them without leaving the admin panel. The news, however, is broadcast on English language, but even a superficial knowledge should be enough for you to understand them. If you do not want to use this RSS feature, you can delete the addresses of the RSS feeds, or enter there the address of any of your favorite feeds that you periodically read.

Friendly URLs Tab

Use friendly URLs

Select Yes. This parameter allows you to allow the use of friendly URLs on the site. It is for this parameter to work that at the very beginning of the installation we renamed the ht.access file included in the MODx distribution to .htaccess, after setting the value to "Yes" additional items will appear for further configuring friendly URLs.

Prefix for friendly URLs

Leave this field blank.

Suffix for friendly URLs

Here you can specify a friendly URL suffix, which will be separated by a period from the page alias. In particular, it looks like a file extension, e.g. .html, .htm, .php and others. Html is set by default, but you can change it or remove it altogether. But in my opinion, with the presence of this suffix, the URLs of the pages seem to be somehow more complete, so I left it at the default.

Use URL aliases

Select the "Yes" item, then the value entered in the "Alias" field will be used as the page alias when editing the page. For example, about will be entered in this field and you have left the suffix for friendly URLs as .html, so the URL of this page will look like this - http: //your_site/about.html. If the "Alias" field is left blank, then the URL will be generated based on the document ID and will look like http: //your_site/2.html, where 2 is the page identifier.

Use nested URLs

Select Yes to get the nested URL structure. For example, if the child resource is named “child” and the parent resource is named “parent,” we get a URL like this: http://example.com/parent/child.

Allow duplicate aliases

Select Yes to allow duplicate aliases. Note: this parameter must be used in conjunction with the Use Nested URLs feature enabled.

Generate alias automatically

Select Yes to have the system automatically generate aliases based on page titles. That is, even if you leave the "Alias" field empty when editing or creating a page, it will be generated automatically based on the page titles. If the site is in English and the page names are written in Latin, then this checkbox is enough to enable automatic generation of aliases. If the site is in Russian, and, therefore, the page names are written in Cyrillic, you should configure the TransAlias ​​plugin (after saving the configuration settings). To configure the plugin, you need to go to: tab Elements → Manage elements → Plugins → TransAlias ​​→ Tab configuration → Set the Trans table parameter to russian and save.

Users tab

On the Users tab, all parameters can be left unchanged.

On this tab, you can edit the templates of letters sent to users when registering, when changing a password, and so on. You can also configure the number of unsuccessful login attempts that are allowed before the user is blocked (so that attackers do not try to guess your password). To enhance security during authorization, you can enable a security code, while in order to enter the administrator panel, you will need to enter a code that is not recognized by various scripts (shown as a graphic image), in the "Words for generating CAPTCHA codes" field, you can enter words to be used to generate these security graphics.

Interface and Presentation Tab

Show tab with META tags and keywords

Set "Yes", then when editing the resource, an additional tab "Keywords" will appear, where you can choose from the list keywords those that are appropriate for the page being edited.

File path

Enter the physical path to the files folder. The local machine will have something similar: Z: / home / site / www / assets /. When transferring a finished site to a server (if you developed a site on a local computer), this path is not always substituted automatically, therefore, when transferring a site to hosting, I strongly recommend that you check this field and, if necessary, change it to the required one. On the server, this path might look something like / home / site / public_html / assets /.

On the "Interface and Presentation" tab, you can also specify the file formats that can be uploaded to folders with images, flash files and media files through the administrator panel (this is indicated so that only graphic files can be uploaded to the folder with images etc). On the same tab, you can configure HTML editor... Leave everything as default for now.

File Manager Tab

File manager path

Enter the physical path to the root folder for the file manager to work properly. This field also needs to be double-checked for correctness when transferring the finished site to the server. On the local machine, the path may look like Z: / home / site / www /, and on the server / home / site / public_html /.

Files allowed for download

Here you can specify, separated by commas, which extension files can be uploaded to the server through the file manager.

Maximum upload size

Maximum size of uploaded files, value in bytes. Leave the default (1048576), but keep in mind where you will need to change if necessary.

New file permissions and new folder permissions

Leave as default.

Well, that's all. You have become familiar with the basic parameters that you can configure on the system configuration page. You can return to the configuration page any minute, so don't worry if you missed anything.

If you enter your username or password several times (by default 3 times) when entering the site's admin panel, the control system will block you and you will see the inscription "Your access to the control system is blocked by the administrator".

Most simple solutions:

  1. If for some reason you do not know "E-mail account"or there is no access to this mail, you can restore access by changing mail in phpMyAdmin:
    modx_user_attributes and in the field email
  2. We go to the database via phpMyAdmin. Find the table modx_user_attributes
    ;
  3. We exit phpMyAdmin, update the login page for the admin panel, after that you can go to the admin panel with your username and password.

Important: The "modx_" prefix in your database may be different! Depends on the base settings.

How to change MODX Revolution user password via phpMyAdmin

  1. modx_users hash_class put hashing.modMD5, fields salt and cachepwd we clear, and in the field password change the value to:

    Now the password from the control panel is - qwerty

qwerty on safe.

How to unlock a MODX Evolution admin panel user

  1. Click "Forgot your password?" specify "E-mail account" and you will receive a link with password reset by e-mail.
  2. If you do not know the "E-mail account" or there is no access to this mail, you can restore access by changing the mail in phpMyAdmin:
    We go to the database via phpMyAdmin. Find the table modx_user_attributes and in the field email we change the mail to our own and return to step 1 to request a change of password.
  3. We go to the database via phpMyAdmin. Find the table modx_user_attributes and change the contents of the fields to 0 (zero) (if there is something there):
    blocked, blockeduntil, failedlogincount;
  4. Exit phpMyAdmin, update the login page in the admin panel, everything should work.

How to change MODX Evolution user password via phpMyAdmin

  1. We go to the database through phpMyAdmin. In the table modx_manager_users the desired user has a value in the field password change the value to:

    d8578edf8458ce06fbc5bb76a58c5ca4

    When editing, specify MD5 in the phpMyAdmin "Function" column. Now the password from the admin panel - qwerty(above is qwerty password in MD5 hash)

  2. We exit phpMyAdmin, update the login page for the admin panel, enter the username and new password, everything should work.

Do not forget to change the password for the user in the admin panel qwerty on safe.

Many MODx developers already know the answer to how to get out of this situation. However, for beginners who recently got acquainted with the CMS MODx, such a problem often happens (I made this conclusion from the number of requests with a similar problem). If you have a similar situation do not be alarmed, this is not a mistake! This is, so to speak, a defensive reaction of the system to the possibility of guessing a password when entering the administrative part of the site.

The essence of the problem.

The point is to protect yourself from guessing the password when entering the administrative part, CMS MODx provides excellent protection. Its essence lies in blocking the user if the password is entered incorrectly three times in a row. The measure is necessary and extremely useful.

Unlock CMS MODx user

To unblock a user, go to our database, for example, through phpMyAdmin, then find the "modx_user_attributes" table and set the value of the "blocked" field of the required user to "0". The blocking of the user has been removed, we are checking.

We go "your site". "Zone" / manager / and enter your data - login and password. The entrance must be available.

To avoid such a situation, I recommend not using “admin”, “user”, “superuser”, “administrator”, “manager” and other popular logins when installing the system as a username with “admin” rights. Attackers will first of all start working with this phrase as a login. Do not use simple passwords- "qwerty, 12345", it is better that your password contains a combination of upper and lower case letters and numbers.

In order to get to the admin panel of the site on MODX Revolution, you need to go to the address:
your-site / manager... As a result, we get to the page:

We substitute the username and password, and then go to the page

The actual site pages are stored in the leftmost tab (Resources) of the left column of the administrative panel.

You should be aware that by deleting a document in this column, we are moving it to the trash. That is, it can be restored if necessary. To permanently delete it, click on the trash can symbol and confirm the deletion of the document.

The middle tab of the left column contains site templates, plugins, snippets, modules, and custom add-ons. Deleting any document in this column may affect the performance of the entire resource. The deleted document is deleted permanently, without the possibility of recovery. Unless absolutely necessary or without understanding what you are doing, it is not recommended to edit anything in the documents of this tab. If you have any doubts, you should contact the person who implemented it for you.

The third tab "Files", which opens when you click the mouse, also contains important components of the web resource, changing the parameters of which may lead to the inoperability of the site. However the column file system contains folders and files that still have to be edited, for example, when adding prices or images.

1. Login to the site admin panel on Modx

You need to go to the site admin panel (like www.site.ru/manager/), enter your username and password:

Enter your login information: username and password.

2. Modx admin panel

3. Document tree - site pages in the admin area

To edit the required page on the site, you need to select the appropriate document in the document tree.

Example: we want to edit the section "About the Company". To do this, click on the corresponding document in the document tree of the site.

The page for editing the document "About the Company" will open in the workspace of the admin panel.

You can change the information in the text of the page,

after making changes, be sure to click the "Save" button for the changes to take effect.

5. Adding pictures to text

the "Image Options" window opens

select a picture from the server

  1. Selecting a folder
  2. Selecting an image
  3. Click OK

choosing desired parameters(alignment, vert. indent, horiz. indent, border), we see how the picture will be displayed on the page,
example (the picture is displayed on the right, with 10px padding on each edge)

Refresh the page in the browser (press Ctrl and F5) and look at the changes made.