MODx — search in admin part or Doc Finder 1.6
Search admin panel
So, looking at Extraz on the official MODx site I found is pretty old module called “Doc Finder 1.6”. What kind of animal I didn't know, but the name intrigued... After fruitless searches on the Internet (for the use of this module, Russian speaking colleagues), it became clear that it is not very popular and about him several times, writes S. Zuev from the site cad.kurganobl.ru, and something about the old version and only partly translated.
In General, I decided that maybe it's for someone else besides me, therefore, established and the most Russified is a miracle.
Let's start in order:
1. What is it for?
In order that easy to find any documents, snippets, chunks, modules and so on key words and replace words and lines in these documents, snippets, etc., etc.
Advantages:
A) I, in General, great tool!
B) user-friendly interface that will allow you to use the module, not only You, but also those who are “not the same”
C) a variety of settings of search:
search using regular expressions and Boolean operators, search by date range of creation and last edit, search by different fields, different document types etc.
G) user-friendly display information
D) history of searches and replacements (a trifle, but nice!)
2. Where can I see a Demo?
You can here trymodx.com
Login: demo_user
Password: demo_user
3. Installation
Only 6 steps:
0.Swing the module here
1.Copy the entire folder into the directory docfinder /assets/modules/.
2.Open in the admin section of the Module (Modules) > Manage modules (Manage Modules).
3.Create a new module called Doc Finder 1.6 (so suggests the author of the module, but personally I liked it more simply: Search documents).
4.Insert include($modx- > config['base_path']."assets/modules/docfinder/index.php"); code in a new module.
5.Save the module.
6.Updated admin area and observed a new module.
4. Russification
Dear Zuev Russified module, but how to download it on his page I have not found, the module is too old already, but still to the point:
“some of the words we translate not steel — they are used not only for display, but as arguments to functions.”
So this:
Well, so I decided to take matters into their own hands and added a translation and arguments so that it would not impair the operation of the module, but that would be all in.
Did a bunch of different test documents like pages and templates, modules and other things to see, what, in the end, the arguments generally are. Moved everything I found and in any case, even left and the original title if you can't find alternatives in Russian.
What I get:
and
And so, the files which need to change:
1. functions.php
2. template.php
And very lazy: ready, you can say, Assembly (in the folder ENG — original files)
If there are comments on the transfer or sale of Russification "function arguments", but say, I will try to correct as quickly as possible.
Комментарии
Отправить комментарий