Skip to content
majic3 edited this page Sep 13, 2010 · 6 revisions

Wildflower is a content management system written on CakePHP

Wildflower 1.3 Beta – A CakePHP CMS

Requirements

  • Apache web server with mod_rewrite
  • No problem to run under some other web server like lighttpd or IIS, you just need to emulate the mod_rewrite rules
  • PHP 5.2 or higher (reported to work with 5.1)
  • MySQL 4.1 or higher

Installation

  1. Extract the archive. Place the ‘wildflower’ directory inside your apache document root or some folder under it. Of course you can rename the ‘wildflower’ directory at will*
  2. Create a new MySQL database. Use ‘utf8_unicode_ci’ collation. Into this new database import the SQL dump file ‘app/config/sql/wildflower.sql’.
  3. Edit the app/config/database.php file with your database connection details.
  4. You can start working on your project by modifying the application inside the app directory. Upgrading requires little effort and time (see Upgrading).
  5. The admin area is located under ‘http://your-site/admin’.
  6. Default login/password combination for admin area is admin/admin321 — change this by clicking users (main admin menu far right) click admin user, then click change password.
  7. Review settings in vendors/wf_core.php (more is set in db login goto settings)

The Wildflower Way – or why its not a CakePHP plugin

WF uses the additional MVC paths CakePHP feature. All the Wildflower MVC (models, views, controllers) are located inside the /wildflower directory. Except the app_controller.php, app_model.php and app_helper.php. These are of course essential for proper WF functioning and are found standardly in the /app folder. This architecture enables you to copy any WF MVC file into your /app folder, modify it and Cake will automatically use it. With the core features of Wildflower and some settings can ease the customisation of the site it powers. Adding custom controllers/models/etc, for your custom functionality is simple. Since your app specific code isolated upgrading is simple.

Upgrading

  1. Copy and overwrite all the files with the new version.
  2. Run database migrations. From your working folder launch from the shell: ‘php vendors/ruckusing/main.php db:migrate’. This will update your database to the latest version.
  3. Ensure that customisations within the app directory are updated to reflect changes in either cake or wildflowers codebase

Problems logging in after updating to AuthComponent enabled version? (1.3b1) / need to generate a password to insert directly into DB?

Use the UtilityShell to generate an AuthComponent compatible password hash:

./cake/console/cake wildflower hash myPassword

Insert the result into your database in the ‘password’ field of the ‘users’ table.

or run this sql (get the salt value from – app/config/core.php)

UPDATE users SET password = sha1(concat('salt', 'admin123')) WHERE login = 'admin';

Support & more information

The wf.klevo.sk is out of date, content refers to an old version of WF – updaing soon :)

Wildflower Logo designed by
Oliver Treend.