Installation notes DATABASE TABLES 1. open the database via phpmyadmin** a. import mysql dump into the database b. insert permanent pages for top level navigation for each top level pemanent page, fill in these required fields: parent id = '1', short, long title, slug, is_permanent = 1, is_active = 1 **for a dev environ on BRI hosted site, email BRI to ask for a docs.dev and a dev database. for example: "hi BRI, Could you please setup the following? 1) docs.dev for childrensgardensantafe.com, and 2) '_dev' database assigned to the existing user 'childrensgarden' " ***if you are using a database on snorkle (for example to install a site on production.desertelements.com), you will need to login to phpmyadmin on snorkle, and create a database (click 'Databases' in menu at top) CONFIG FILES 2. application/config/config.ini a. set db username, pw, database name** b. update urls to match project c. choose admin url variable, e.g. mp_admin d. update contact info **if you are using a database on snorkle, then the db info for config.ini will be: dbhostname=snorkle-desertelements.brownrice.com dbusername=prodde dbpassword=NwLm2fCVLzPzmWHM dbdatabase= {dbname you created} 3. application/config/front_config a. add popup menu items to the navigation array to match permanent pages in db, above (otherwise the superfish menu and sidebar menus won't work!) 4. htaccess a. if you want browser password during dev, uncomment these 4 lines (in htaccess, the '#' is used to comment a line) and correct the AuthUserFile path #AuthType Basic #AuthName "Please Login for Access" #AuthUserFile /home/domains/domain.com/docs/.htpasswd #Require valid-user b. update the domain c. update admin url to match config.ini 5. application/config/application.php a. add website name, keywords, description UPLOAD VIA FTP 6. after steps 1-5 are complete, upload basecode files to server ------------------------------- ADDING/DELETING CALLOUTS 1. ADD/DELETE callout variable to the MySQL database within the metadata section. 2. ADD/DELETE duplicate of the code blocks that call callout variable: config/admin_config.php application/controllers/home.php in a function called index() application/views/admin/home_content_form.php application/controllers/admin/home_content.php in a function called submit() template/home.php Other changes, after installation 1. CMS config settings based on frontend design in config/admin_config: the pixel dimensions set in the array for $config['design_specs'] are used for the CMS instructions on footer and home text tools in config/uploads.php: the max image dimensions are set for the slideshow in the $config['hp_slideshow_image'] array 2. Styling the CMS css/admin/admin.css line 67 has the call to the company logo in CMS header line 107 has company logo for CMS login page (you'll probably need to adjust the login container height) line 9 the sidebar menu background is a repeating one-pixel jpg to faux-fill the background color for the sidebar. (change the color using photoshop and reupload the jpg) line 81 the sidebar menu is superfish. change the color for the #navigation, and also in the v-menu.css