Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 3.39 KB

INSTALL.md

File metadata and controls

43 lines (30 loc) · 3.39 KB

Installation Instructions for FSEN

  1. Get the source of FSEN from GitHub or download the source code tarball and extract the tarball in a working directory.

  2. Make sure that you have installed Concrete5 V5.6.3.2 correctly. Note that the account accessing your MySQL database instance should have CREATE VIEW privilege. This is important because the default installation of Concreate5 does not have this set on.

  3. Copy files in concrete/ directory to your Concrete5 installtion and replace the old ones. We have some fixes and enhancenments for the original Concrete5 release (See section below) and update the jQuery and other dependencies to be the latest version.

  4. Copy files in config/, blocks/, controllers/, single_pages/, helpers/, models, tools/, themes/, elements/, jobs/, js/, libraries/, and page_types/ to the corresponding directories of your Concrete5 installation.

  5. Make a sub-directory called fsen/ in files/ directory of your Concrete5 installation tree. And make a directory called sections/ in files/fsen/ directory. All sections generated by users will be stored here.

  6. Define the following constants in your config/site.php file:

    define('SYSTEM_PROJECT_SHORTNAME', 'sys');
    define('EMAIL_DEFAULT_FROM_ADDRESS', '');		# the email address used to send notification emails to users.
    define('EMAIL_DEFAULT_FROM_NAME', 'FSEN Daemon');
    
  7. Run install.php in tools/ directory in your browser to intall FSEN blocks, themes, singl pages, and other things:

    http://<www.examples.com>/index.php/tools/install.php
    
  8. Other Concrete5 settings:

    • Enable Pretty URLs (Dashboard -> SEO & STATISTICS > Pretty URLs).
    • Setup correct SMTP method (Dashboard -> EMAIL > SMTP Method).
    • Enable cache (Dashboard -> OPTIMIZATION -> Cache & Speed Settings.
    • Set Mobile Theme as Full Stack Style Mobile (Full Dashboard -> Themes).
  9. Create database triggers in your database instance. Because some limitations of non-super-user to drop/create triggers on a MySQL instance, we do not include the triggers creation in the installation script. You need to install the triggers mannly. The source code to create the triggers included in the db.sql file in the top directory of the source tree of FSEN.

  10. Visit the home of your site and sign up a new account. The first user account will be the owner of the SYSTEM project.

Some fixes and/or enhancements for Concrete5 V5.6.3.2

  1. Upgrade Bootstrap to the latest version (V3.3.1).
  2. Upgrade jQuery, some plugins of jQuery, and jQuery UI to be the latest version (v1.10.2).
  3. Enhance to have full-page cache support when you have a theme for mobile device.
  4. Use md5 hash value as the file name of the full page file.
  5. Fix for non-root single pages can have template file in a specific theme.

Important Notes

  1. Currently, we have not written FSEN as a package of Concrete5. We will do this in the future. Therefore, you need to install FSEN on a clean Concrete5 installation, in order to avoid some confilicts.

  2. After you have installed FSEN, please remove install.php from your system or just add a line as below in the top of the file.

     exit (0);
    
  3. FSEN uses the PRO edtion of GLYPHICONS and modify the Bootstrap v3.3.1 CSS file to include the icons in Glyphicons Pro edition. So you may need to buy the Pro edition of Glyphicons. Or you can use the un-modified Bootstrap CSS file.