I have been working on Monstra CMS 2.1.0 and I am happy to introduce Monstra CMS 2.1.0 :)
It has a lot of improvements and several fixes for known issues.

Here is a list of major changes:

  • Localization: PT-BR, UK translations added.
  • Default theme: hook "theme_header" added.
  • System Plugin: new action "admin_system_extra_index_template_actions" added.
  • Shortcodes API: new delete() clear() exists() methods added.
    
    // Check if a shortcode has been registered.
    
    if (Shortcode::exists('shortcode_name')) {
    
        // do something...
    
    }
    
    
    
    // Delete shortcode
    
    Shortcode::delete('shortcode_name');
    
    
    
    // Remove all registered shortcodes.
    
    Shortcode::clear();
    
    
  • Options API: new exists() method added.
    
    if (Option::exists('pages_limit')) {
    
        // do something...        
    
    }
    
    
  • Core: new constant VERSION - added.
    
        const VERSION = '2.1.0';
    
    
  • Core: added ability to load: defines, actions, filters, shortcodes for current environment.
    
     boot/
    
      ├── development/
    
      │   ├── defines.php
    
      └── production/
    
          └── defines.php
    
    
  • Defines: deprecated constants: MONSTRA_GZIP_STYLES, MONSTRA_VERSION, MONSTRA_VERSION_ID, MONSTRA_SITEURL, MONSTRA_MOBILE deleted.
  • Box Plugins: used Core::VERSION to compare Monstra CMS version.
  • Installer: use version_compare() function to compare php versions.
  • Installer: Get system timezone with date_default_timezone_get() function.
  • Admin Default Theme: general improvements.
  • Users Plugin: user profile editing fixed.
  • Shortcodes API: bug with similar shortcode names fixed.
  • Site: template() method improvements. Added ability to get template from specific theme.
  • Menu Plugin: added ability to select children pages.
  • Snippets Plugin: added ability to add parameters for snippets.
    
    // PHP Code
    
    Snippet::get('test', array('message' => 'Hello World'));
    
    
    
    // Shortcode
    
    {snippet get="snippetname" message="Hello World"}
    
    
  • Themes Plugin: added ability to add parameters for chunks.
    
    // PHP Code
    
    Chunk::get('footer', array('message' => 'Hello World'));
    
    
  • Pages Plugin: pages expand/collapse feature added.
  • Pages Plugin: pages "access" feature added.
  • Pages Plugin: tab "seo" changed to "metadata"
  • Pages Table: "expand, "access" fields added.
  • Information Plugin: new "Directory Permissions" tab added.
  • Twitter Bootstrap updated to Version 2.2.1
  • MarkitUp! updated to Version 1.1.13
  • Sitemap Plugin: links title issue fixed.
  • Core: Init Site module on frontend only.
  • Core: IDIORM optimization.
  • Site Class: code optimization.
  • Sitemap Plugin: bug with priority fixed.
  • File .gitignore added.
  • Monstra logo updated.
  • README: general updates
  • Pages Plugin: "delete" action fixes.
  • Plugins Manager: add ability to Cleanup minify with new plugin installation or plugin uninstallation.
  • MarkitUp Plugin: unnecessary files removed.
  • XMLDB: select() method fixes.
  • XMLDB: new method existsField() added.
    
    if ($users->existsField('field_name')) {
    
        // do something...     
    
    }
    
    
  • Information Plugin: shows "PHP Built On", "Web Server", "WebServer to PHP Interface" information.
  • Installer: general fixes.
  • Snippets Plugin: view embed codes feature added.
  • Blocks Plugin: view embed codes feature added.
  • Text Helper: method strpSlashes() fixed.
  • Text Helper: new method increment() added.
    
    // Add's _1 to a string or increment the ending number to allow _2, _3, etc
    
    $str = Text::increment($str);
    
    
  • Pages Plugin: method robots() fixes.
  • Pages Plugin: improved page author detection.
  • Pages Plugin: add, edit, delete, clone actions improvements.
  • Users Plugin: apply "content" filter for "about_me" field.
  • Plugin API: Stylesheet and Javascript load() methods - fixed.
  • Pages Plugin: Page editing date issue - fixed.
  • Localization: EN, RU, IT, LT, DE translations fixed.
  • Imformation Plugin: config file(defines.php) checking removed.
  • Box Plugins: general code refactoring.

Download: monstra-2-1-0.zip

Update to Monstra 2.1.0
  1. Download monstra-2-1-0.zip
  2. Unzip the contents to a new folder on your local computer.
  3. Upload /admin/, /monstra/, /public/assets/, /boot/, /plugins/ and /index.php with an FTP client to your host.
  4. Download update_to_monstra_2_1_0.zip
  5. Unzip the contents of update_to_monstra_2_1_0.zip and upload update_to_monstra_2_1_0.php with an FTP client to your host.
  6. Type http://example.org/update_to_monstra_2_1_0.php in the browser.

GitHub: repository { Follow Me / Fork Me! }

Special thanks to: Stanislav Ulver, Martynas Barzda, Yannick Albert, over9k



comments powered by Disqus