MinRes theme image

Theme description

A free modern, minimalist, single page theme by Nicolas Meuzard, adapted for Scriptor CMS. I had to make some adjustments and correct CSS issues to make the theme mobile-friendly. The theme contains two parts theme and module components. No HTML knowledge needed to create the website content.

Install Instruction

Download the zip file, unzip it and upload the complete folder minres-module to your server in the directory site/modules/. Next, upload the folder minres-theme to your server in site/themes/. Open your custom.scriptor-config.php file. Add the following configuration:

...
'theme_path' => 'minres-theme/',
'allowHtmlOutput' => true,
...

Now, add the following configuration to modules section in your custom.scriptor-config.php file:

...
'minres' => [
    'menu' => '',
    'position' => 100,
    'active' => true,
    'auth' => true,
    'autoinit' => true,
    'path' =>  'modules/minres-module/MinRes',
    'class' => 'MinRes',
    'display_type' => [],
    'description' => 'MinRes - A Minimal HTML & CSS Resume Template/Module for Scriptor CMS.',
    'install' => true,
    // Theme configuration parameter
    'template' => [
        // Meta data
        'meta' => [
            'title' => 'Resume of Abbie Bradley',
            'description' => 'Resume website of Abbie Bradley, web developer.',
            'keywords' => 'resume, cv, development, design, web application',
        ],
        // Allowed template names to run in this app
        'allowed' => [
            'home'
        ],
        // Define cacheable template names
        'cacheable' => [
            'home'
        ]
    ]
],
...

Finally, add these hooks to the hooks section in your custom.scriptor-config.php:

...
'Pages' => [
   [
       'module' => 'minres',
       'method' => 'Install'
    ]
],
'Pages::beforeRenderEditorPage' => [
    [
        'module' => 'minres',
        'method' => 'renderSelector'
    ],
    [
        'module' => 'minres',
        'method' => 'renderEditorPage'
    ]
],
'Pages::afterCheckAction' => [
    [
        'module' => 'minres',
        'method' => 'checkAction'
    ]
],
...

Log in to the Scriptor's editor and open Pages menu, a MinRes installation page will open. There click the Install button to start the installation, that's it.

Minimum requirements

Compatible with Scriptor: 1.4.10 +
Author: Bigin
Last Updated: 2020-09-10
MinRes: 1.0.0