Extensions
Go to page:
Simple datetimepicker,based on Martin Milesich timepicker, translated into russian. Спасибо frantic
As of Yii version 1.1.1 the CCheckBoxColumn has no option to be selected by default
myCheckBoxColumn extends CCheckBoxColumn in CGridView and adds the attribute 'checked' to the column properties so that the checkbox column can be selected from row to row depending on the evaluation of this attribute.
'checked' is a string expresion that need to evaluate to true or false, if evaluates to true the checkbox will be selected otherwise will NOT be selected.
This extension is a wrapper to the jquery plugin bookmark (http://keith-wood.name/bookmark.html)
Resources
This extensions allows you to perform REST callbacks to the {@link bit.ly} service and perform several operations such as:
- Shorten a url
- Expand a short url into it's long form
- Validate api login and key
- Get the number of clicks for a short URL
- Check if a domain uses the Bitly.Pro
Resources
NB! July 2010 will be realeased a new version of OvenCMS - stay tuned. Thanks for everybody who is using our CMS or who just looked at it :). We are glad to hear it is get popular ;)
OvenCMS is an open source content management system, built on the YiiFramework (lately was reWritten from CakePHP, becouse CakePHP is extreamely slow) and jQuery library. OvenCMS are ideal for small site but also for large-scale community websites and corporate applications. OvenCMS is fully modularized and has a lot of working modules. Some of them are listed below:
- Users and permissions management
- CMS: navigation and content manager, standalone pages, crosslinking, file or image linking
- Text module (based on FCKeditor + Image And File editor)
- Gallery module
- Event module
- Classified module
- Invoice module (based on fpdf library)
- E-shop module
- Newsletter management (subscription with e-mail validation) module,
- Task module
- News module + RSS generation
- Articles module
- Companies module
Resources
ActiveDateList creates dropdown lists from a date string. For configuration examples, please see the examples for the $displayFormat property.
Resources
WARNING: It has had only minimal testing. Only for brave souls.
Introduction:
HRBAC -> Hierarchical Role Based Access Control 'Hrbac' module is an enhancement of Yii RBAC feature wiht a full Web UI to manage the authorization.
- It reduces the number of db queries when performing an access check
- Add conditions (boolean tests) to auth assignments and auth relationships
Hopefully this is simpler than using bizrules and might help avoid bizrules altogether (so no php needed in database).
- It provides the UI to assign roles and manage the auth items.
- Quick and easy setup of route access control. Do not need to modify any code other than a couple lines in index.php and the config file main.php.
Using HRBAC : General
There are 3 types of authorization items. Roles, Operations or Actions, and Tasks (or Groups of Operations). Roles may contain other auth items and Tasks or Op Groups may contain other groups or ops. You can't create a circular association though.
You may assign any number of auth items to a user. It can be any of the three types but you would mostly want to assign roles.
Any assignment can be made conditional by specifying some conditions or 'bizrules' to the assignment. Note that this condition or rule pertains only to that particular assignment. We can have conditions and bizrules that apply to specific auth items too but more of that later.
'Conditions' are sets of boolean tests to determine if the role applies for that access test. It uses a simple syntax (more later).
'Bizrule' is a PHP code that's saved with the assignment in the database and is 'eval'ed to determine if the assignment applies. The bizrule must return true or false. Personal thought: it's probably not a good idea to use bizrules if it can be avoided.
Each auth item may also have a condition and/or a bizrule associated with it.
The benefit of using conditions or bizrules is that the authorization is effective only when certain conditions are met. For example, you can set it up so that it is effective only for a month, or only for certain sections of your website and so on.
Each user also automatically gets assigned one of these two roles: 'Anonymous User' or 'Authenticated User' depending on whether they are logged in or not.
Each controller may also assign transient roles based on the target object, such as 'Author', 'Owner', 'Manager'.
Hrbac also does route based authorization. So if a user has access to a particular controller e.g. /module_id/controller_id/, he also has access to all the actions within that controller. If another user has access to the module e.g. /module_id/ he has access to all controllers and actions within that module.
Requirement:
A database table with the name 'users' with a primary key column 'id' and a column 'username'.
a. If the username column is named differently, you'd have to do some search and replace :(
b. If the table name is different, just open HrbacModule?.php and change it there.
Browser is a simple wraper for the Browser Class, which is included.
Check the Browser Class often for new browsers or platforms.
This a very, very quick alpha release. Recomendations, comments, bugs are welcome but please use the forum.
Resources
- Join discussion (report bugs, get help)
qtip is widget extension that makes the use easier of the jquery qTip plugin and that also beautify CActiveForm with or without ajax validation enabled. Hints tooltips can also be added easily to CActiveForm's
It uses the qtip jquery plugin built by craigworks
v1.0beta will be available very soon.
