What is E-Sculptor?

E-Sculptor CMS is a content management system. It allows to change the language of the content to the detected language of the browser.

Main modules

E-Sculptor CMS makes use of the following modules:

Media Storage

Yii2 E-Sculptor module uses the neoacevedo\yii2-storage for image storage.

For the configuration, you must enter with the key file of your instance - for more details to access your instance, see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html -, then modify the following configuration in the components section in backend/config/main.php file, uncommenting your preferred storage (only one storage type can be active at a time):

<?php  ...      'modules' => [          ...          'cms' => [              'class' => neoacevedo\cms\Module::class,              'components' => [                  /**                   * Amazon S3                   */  //                'storage' => [  //                    'class' => 'neoacevedo\yii2\Storage',  //                    'service' => 's3',  //                    'config' => [  //                        'key' => 'YOUR_IAM_ACCESS_KEY',  //                        'secret' => 'YOUR_IAM__SECRET_ACCESS_KEY',  //                        'bucket' => 'your-bucket',  //                        'region' => 'your-region',  //                        'extensions' => 'pdf, jpg, jpeg, gif, png, bmp'  //                    ],  //                    'prefix' => '', // ruta al directorio de imágenes. Ej: images/ (Opcional)  //                ],                  /**                   * Almacenamiento local                   */  //                'storage' => [  //                    'class' => 'neoacevedo\yii2\Storage',  //                    'service' => 'local',  //                    'config' => [  //                        'directory' => '@webroot/web/', // reemplace @webroot por @frontend o @backend según sea el caso. Debe terminar con una barra diagonal.  //                        'extensions' => 'pdf, jpg, jpeg, gif, png, bmp'  //                    ],  //                    'prefix' => '', // ruta al directorio de imágenes. Ej: images/ (Opcional)  //                ]              ]          ],          ...      ],  ...

 

Site Settings

Optionally you can modify the general site settings:

  • Console Host Info: The host info (e.g. http://www.example.com) that is used by admin/request-password-reset command line to prepend to created URLs.
  • Site Name: Site name.
  • Site Description: Site description.
  • Admin Email: Email where mails are sent from in the Contact form.
  • Support Email: Support email that could be shown in the frontend. Optional, can be used as email sender in Contact form, password reset email.
  • User Password Reset Token Expire: Max. time in seconds before password reset token isn't available.
  • Detect Browser Language Selectes the language content for new visitors or tries to detect the default browser language.
  • Display Lang Code In Url: Adds the language code into the URL for SEO.
  • Default Language: Default Language Site if not language is detected from browser, if the site content is not available in the browser's language or if Detect Browser Language is set to "0" (default to "en-US").

 

Themes

The backend has the default AdminLTE theme installed. To change the appearance of the theme, you must enter with the key file of your instance - for more details to access your instance, see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html - and in the backend/config/main.php file, change skin option:

...          'assetManager' => [              'bundles' => [                  'dmstr\web\AdminLteAsset' => [                      'skin' => 'skin-blue',                  ],              ],          ],  ...

By default skin-blue skin is used. The list of available skins is as follows:

"skin-blue",  "skin-black",  "skin-red",  "skin-yellow",  "skin-purple",  "skin-green",  "skin-blue-light",  "skin-black-light",  "skin-red-light",  "skin-yellow-light",  "skin-purple-light",  "skin-green-light"

The public site has 2 predefined themes: tf-violet and material-default both designs with Materialize. You can alternate the themes by editing thefrontend/config/main.php file within the view option, access the theme option and modify the value in front of the theme option.

Cache

Reset admin password

From the terminal of your server, run the following command to send a link to reset the password:

php yii admin/request-password-reset This email address is being protected from spambots. You need JavaScript enabled to view it.

Where This email address is being protected from spambots. You need JavaScript enabled to view it. is the mail of the staff of the site to which you must reset the password.