phundament API Manual

Version 2.1
Wiki

yii framework API Manual

Version 1.1
Other documents

Installation phundament2 application (recommended)

1. Download & Extract

2. Run installer
$ ./yiic install
This will create config/local.php

3. Create a database, update credentials in config/local.php

4. Run
$ ./yiic install
Follow on-screen instructions ...

5. Open home URL.

Installation piimodule (stand-alone)

See Wiki Page for installation instructions.

Adding phundament to existing pages/views

$ edit views/site/index.php

Add a cell manager widget:

<?php $this->widget('pii.components.cellmanager.PiiCellManager',array('id'=>'mainCell')) ?>

For some more tweaks update your CSS and download a jQueryUI Theme:

$ edit css/main.css
body, .widgetContent
#page, .widgetContent

Go to jQuery UI Themeroller and download a theme that fits your needs.
*copy the css file to your theme folder into the css directory
*add jquery-ui-1.7.2.custom.css to layouts/main.php

$ edit views/layouts/main.php
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/classic/jquery-ui-1.7.2.custom.css" />

extensions

Besides yii framework, phundament takes advantage of a number of other open source projects.

Please refer to their pages for additional information.

yii-based

srbac

Srbac is a module that adds a graphic web interface for the administration of yii rbac.

image

Provides methods for the dynamic manipulation of images. Various image formats such as JPEG, PNG, and GIF can be resized, cropped, rotated and sharpened.

flash

A small extension based on a modified version of jquery.flash.js, which in turn is a jQuery plugin for embedding Flash movies.

langhandler

This extension will set up your applications target language according to visitors browser setting, accepted languages list and country code passed in url.

3rd party extensions

ckeditor

WYSIWYG HTML editor

mbmenu

OS-style dropdown menu

tweet

Unobstrusive javascript plugin for jQuery 

iepngfix

Display transparent PNGs in Internet Explorer 5.5 and 6



Docs