This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery(document).ready(function(){ | |
| jQuery('#contacts_form').on('submit',function(){ | |
| form_id = $(this); | |
| jQuery.ajax({ | |
| type: 'POST', | |
| url: '/ajax/contacts', | |
| data: new FormData($(this)[0]), | |
| dataType: 'json', | |
| cache: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Установка | |
| composer create-project evolutioncms/evolution . | |
| cd core | |
| composer update | |
| cd ../install | |
| php cli-install.php --typeInstall=1 --databaseType=mysql --databaseServer=localhost --database="DBNAME" --databaseUser="DBUSER" --databasePassword="PASS" --tablePrefix="evo_" --cmsAdmin=admin --cmsAdminEmail="MAIL" --cmsPassword=”EVOPASSWORD” --language=ru --removeInstall=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // ключи только в нижнем регистре | |
| // если нет какой-то языковой версии, то просто удаляем из массива вместе с ключом | |
| return [ | |
| [ | |
| 'keys' => ['doclister', 'доклистер', 'doc lister', 'док листер', 'дитто', 'ditto', 'dito', 'дито'], | |
| 'doc_links' => [ | |
| 'ru' => '<a href="https://github.com/evocms-community/docs/tree/master/ru/04_%D0%9A%D0%BE%D0%BC%D0%BF%D0%BE%D0%BD%D0%B5%D0%BD%D1%82%D1%8B/DocLister">DocLister</a>', | |
| 'en' => '<a href="https://github.com/evocms-community/docs/tree/master/en/04_Extras/DocLister">DocLister</a>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # basic script, before use need change logins,passwords in this script | |
| # put this script in project folder and run: sh evo.sh | |
| #variables | |
| EVO_VERSION="3.x-dev" | |
| INSTALL_TYPE=1 | |
| DATABASE_TYPE="mysql" | |
| DATABASE_SERVER="localhost" | |
| DATABASE_NAME="DB" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PageBilder | |
| container.pbcontent.php | |
| <?php | |
| return [ | |
| 'title' => 'Контент', | |
| // 'show_in_templates' => [ 3 ], | |
| // 'show_in_docs' => [ 2 ], | |
| // 'hide_in_docs' => [ 10, 63 ], | |
| // 'addType' => 'images', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tabs: | |
| [ | |
| {"caption":"Tab Title", "fields": [ | |
| {"field":"title","caption":"Name"}, | |
| {"field":"description","caption":"Description","inputTVtype":"textarea"}, | |
| {"field":"imageTV","caption":"Photo","inputTV":"imageTV"} | |
| ]} | |
| ] | |
| Table: |