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

If you enter your login or password incorrectly 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".

The simplest solutions:

  1. If for some reason 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:
    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 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 password change.
  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.

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.

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 file system column contains folders and files that still have to be edited, for example, when adding prices or images.

So, the system is already installed and even functioning. This is visible 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 start to slowly understand the admin panel.

Where is the MODx admin panel

To authorize in the admin panel, go to http://site.name/manager, while site.name is the domain address of your site. You will see a simple window 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 the 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 since the system is already user-oriented. But if it becomes necessary to tweak something somewhere, then you will at least roughly know where to look for it. Usually, MODx configuration takes no more than a minute, especially since there is a small hint in Russian next to each parameter - 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 a 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. Firstly, you can work with certain language skills with clients from different countries, while giving them the opportunity to manage their website in their own language. The list of supported languages \u200b\u200bis large enough, from Bulgarian to Spanish, even includes such exotic languages \u200b\u200bas Japanese, Chinese and others. Secondly, you do not have to search somewhere 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 \u003d 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 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 that notifies 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 include requirements for the original 404 page in the terms of reference.

By default, ID \u003d 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

The ID of the page that visitors should see if they try to access the 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 not available 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 checkbox 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 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 the 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 a 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 news feed and security RSS feed

Addresses of MODx RSS feed and Security RSS feed are entered. These feeds will be broadcasted on the main page of the administrative 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 developers and promptly respond to them without leaving the admin panel. The news, however, is broadcast in English, 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 the address of any of your favorite feeds that you periodically read there.

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 kit to .htaccess, after setting the value to "Yes" additional items will appear for further configuring friendly URLs.

Prefix for friendly URLs

We 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 somewhat more complete, so I left them at the default.

Use aliases in URL

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 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 an 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 \u200b\u200bplugin (after saving the configuration settings). To configure the plugin, you need to go to: tab Elements → Manage elements → Plugins → TransAlias \u200b\u200b→ 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 upon registration, 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 a resource, an additional "Keywords" tab will appear, where you can select from a list of keywords those that are suitable for the edited page.

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 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). The HTML editor can be configured on the same tab. 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 learned about 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.

Good! Again I am a phony and for more than a month you have not seen a single post from me. I am getting better. This post will be of interest to developers on the system Modx revolution... In this lesson, I will tell you how to make editing a website easier for an ordinary manager who does not know a bit about websites.

First, let me remind you how to set up the Modx Revo admin panel - I wrote about this in. I have some changes, or rather a simplification of this very admin panel. The fact is that in that access policy ( for those who do not understand - read carefully the post on the link), tabs are indicated that an ordinary manager will not need in any way, but, on the contrary, can enter him into a stupor (for example, such tabs in the menu as "System Setup" or "Source of files"). I propose a new access policy. Feel free to follow all the points that are described in that article, but on the 6th paragraph, leave a check mark only on these parameters:

  • change_password (User can change their password)
  • change_profile (User can edit their profile)
  • class_map (See list of classes in class map)
  • countries (See list of countries)
  • delete_document (Delete and move resources)
  • directory_create (Create directories on filesystem)
  • directory_list (Get a list of subdirectories for a directory on a filesystem)
  • directory_remove (Remove directories in the file system)
  • directory_update (Rename directories in the file system)
  • edit_document (Edit Resources)
  • file_create (Create files)
  • file_list (See a list of files in a specific directory)
  • file_manager (Use file manager)
  • file_remove (Remove files)
  • file_tree (See file tree in left navigation pane)
  • file_update (Change files)
  • file_upload (Upload files to folder)
  • file_view (View file content)
  • frames (Use MODX backend)
  • help (See Help page)
  • home (View Welcome Page)
  • list (Ability to "list" any object) "List" means to get a collection of objects)
  • load (Ability to "load" objects, or be able to return them as an instance of an object in general)
  • logout (Ability to log out as user)
  • menu_site (Show item "Site" in the top menu)
  • menu_tools (Show "Tools" item in the top menu)
  • menu_user (Show item "User" in the top menu)
  • new_document (Create Resources)
  • publish_document (Publish or unpublish resources)
  • purge_deleted (Empty trash)
  • resource_duplicate (Create a copy of a resource)
  • resource_quick_create (Use "Quickly create resource" in the context menu)
  • resource_quick_update (Use "Quickly update resource" in the context menu)
  • resource_tree (View resource tree in the left navigation pane)
  • save_document (Save resources)
  • sources (Manage file sources and file source types)
  • source_delete (Delete source files)
  • source_edit (Edit file source)
  • source_save (Create and save source files)
  • source_view (See source of files)
  • tree_show_resource_ids (Show ID in resource tree)
  • view (Ability to "view" objects)
  • view_document (View Resources)

With such settings, the admin panel will have only everything that a regular manager needs.

Removing unnecessary tv-parameters and placeholders from the admin panel

Often, for fairly simple sites (which are the majority), you don't need a bunch of obscure placeholders like "Alias", "Abstract (introduction)" or all "Settings" with a bunch of incomprehensible parameters that are unnecessary for a common man in the street. And you just need "Title" and "Resource content"... Now I will show, using one of my sites as an example, how to set up a simplified admin panel for a manager.

Go to "Form Settings"

Next, click on "Create a new profile"

We name it "manager" and tick the "Active" box. We save

Right-click on the profile and click "Edit"

In the window that opens, click on "User group" and add "manager"

We return to the "Profile" and click on "Create a new set of rules" (I have already created several)

In the "Action" we indicate "Update resource"

Most likely you will already have a template and a page created, and at this stage you will just set up the admin panel, so I advise you to also choose "Refresh resource"and then just copy the parameters to "Create resource"... As you probably already guessed - these are rules for editing a certain template, and "Act" determines when to use these rules: when creating or when editing. If you don't understand - that's okay, then everything will become clear.

In the template, select the template for which you want to set the rules

I will assign rules to the template "Services".

Tip: For me it is very convenient to open two browsers: in one ( Chrome) admin panel under "admin", and in the second ( Opera) under "manager"

Next, edit the newly created rule set

Now the fun begins. If you are in this section for the first time, then you may feel bad from a bunch of incomprehensible parameters. But after a while you will begin to figure out what's what.

Rule Set Information and Resource Fields Tab

The "Rule Set Information and Resource Fields" contains all the parameters that we see in the admin panel

Here they look like this:

for instance modx-resource-content - this is the parameter responsible for the "Resource content". If we uncheck the box, then when editing the "Service" template, we will not see the "Resource content".

All parameters are highlighted in separate blocks. For example, in modx-resource-main-left

included such parameters as:

  • Title (pagetitle)
  • Extended title (longtitle)
  • Description (decscription)
  • Abstract (introtext)

If we uncheck the boxes, they will disappear from the admin panel (unforgettable that this will only happen for a specific template, in this case the "Service" template)

But we will not do that, we'd better decide what placeholders we need and leave only them. In this case, I need a Title, Menu Item, Resource Content and TV parameters that I created myself. I unchecked the following options:

and got this admin panel:

I don't really like that the main tab is called "Document"... It can be renamed in the section "Regions" (how to do it just below)

Regions Tab

"Regions" are responsible for blocks. Let's say modx-resource-settings responsible for the entire blog, where the title, description, template selection, alias, checkmarks "Published" etc. Perhaps for clarity, I will take screenshots, cheat sheets. Let's analyze each block separately:

modx-resource-settings

This is the whole block called "Document"

So here's to rename the block "Document", say in "Basic information" need in "Tab Title" (see the previous screenshot) opposite modx-resource-settings to write "Basic information"

modx-resource-main-left

Left side of the block "Document"

modx-resource-main-right

Right side of the block "Document"

modx-page-settings

This is the whole tab "Settings"

modx-page-settings-left

Left side of the block "Settings"

modx-page-settings-right

Right side of the block "Settings"

modx-page-settings-right-box-left

modx-page-settings-right-box-right

modx-panel-resource-tv

Whole tv-options tab

modx-resource-access-permissions

This parameter does not affect the display of blocks.

Well, with tabs "Regions" we figured it out. Let's continue editing the rulesets for the template "Services"

I need to pull my tv options to the main tab and remove the tab "Settings".

First, remove the "Settings" tab

This is done by unchecking the following regions:

Tab "Settings" disappeared

Now we transfer the tv-parameters to the main tab and remove the "Additional fields" tab

I have tv "Icon" and "Img"... In order to move them to the main tab, you need to in the section "Additional fields" at "Region" specify a new region modx-resource-main-left(this is done by double clicking)

and uncheck the box modx-panel-resource-tv(and at the same time with modx-resource-access-permissions) In chapter "Regions"

Now the admin area looks like this:

We still have two tv parameters: title and snippet... I made them specifically for SEO so that the manager would not see them, but their SEO specialist or I myself used these parameters. Yes, undoubtedly could have been used, say description and introtext for these purposes, but I need to hide them in another tab called SEO optimization (unfortunately, the default placeholders cannot be moved to other tabs)

Create a new tab "SEO optimization"

To do this, go to the section "Regions" and click on the button "Create new tab"

Now we insert this id into additional fields in our tv-parameters title and snippet

And we look at the result:

The result is a clean, easy to administer, tabbed page SEO optimization.

You can learn a lot from this article and perhaps rediscover the benefits of Modx Revolution and find out how flexible it can be in development. That's all for me! Until new posts.

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 login 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 site's document tree.

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 the necessary 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, 10px padding on each edge)

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