Extensions

Category:
Total 272 extensions.
Go to page:
hijri no review yet   downloaded 69 times
Hijri Date Converter
created by jerry2801, last updated on March 23, 2010

This extension is ...

Resources

state-jui-accordion no review yet   downloaded 83 times
Custom CJuiAccordion extension to enable it to remember state (navigation=true)
created by Angelystor, last updated on March 23, 2010

I was having problems in creating an accordion menu which remembered state. Setting navigation to true in options didn't help.

After some time of debugging, I realised that the default CJuiAccordion class outputs the head sections as links with href as #, which causes navigation not to work. Even if you were to put "<a href='?r=blah'>A Header</a>" as the key, it wouldn't work either as it will create ANOTHER href with #.

So I wrote a quickie custom class to enable accordion menus which remember state.

css-vars no review yet   downloaded 98 times
Use variables in CSS files.
created by gazbond, last updated on March 21, 2010

Yii application component for using variables in CSS. Based on: http://net.tutsplus.com/tutorials/html-css-techniques/how-to-add-variables-to-your-css-files/

haml-and-sass 3 reviews   downloaded 162 times
Haml and Sass
created by Yeti, last updated on September 1, 2010

Haml and Sass have been used in Ruby for sometime to simplify templates (Haml) and make CSS more intelligent, flexible and manageable (Sass). This extension brings Haml and Sass to Yii.

It's kind of two extensions in one as you can use Haml and Sass independently of each other.

Included is PHamlP, a port of Haml and Sass to PHP. This is Haml/Sass V3.x compliant.

Haml

Haml is based on one primary principle. Markup should be beautiful.

Haml is a markup language that’s used to cleanly and simply describe the XHTML of any web document, without the use of inline code. It avoids the need for explicitly coding XHTML into the template, because it is actually an abstract description of the XHTML, with some code to generate dynamic content.

PHamlP comes with a rich set of filters that allow inclusion of javaScript, CSS, Sass, PHP, parsing with Markdown, and more.

PHamlP also provides some [helper methods][http://code.google.com/p/phamlp/wiki/HelperMethods] that can be used from your template, and you can extend the class and define your own.

PHamlP supports for, if, elseif, else, foreach, do, and while blocks.

Read the Haml tutorial then try it for yourself; you probably won't want to go back;

See http://haml-lang.com for details on Haml.

Sass

Sass is a meta-language on top of CSS that’s used to describe the style of a document cleanly and structurally, with more power than flat CSS allows.

It features include nested rules, variables, mixins, and more to make CSS powerful, manageable and DRY.

See http://sass-lang.com/ for details on Sass.

Resources

active-data-provider-with-scopes 2 reviews   downloaded 190 times
Use scopes in CActiveDataProvider
created by Troto, last updated on September 7, 2010

Simple extension that can be used to apply scopes to a CActiveDataProvider

Resources

auth-init-command 3 reviews   downloaded 135 times
AuthInitCommand
created by juniorplenty, last updated on March 18, 2010

This extension provides a yiic shell command that can be used to initialize RBAC DB tables, especially during development. Configuration is provided by an authinit file, that allows Tasks, Operations, and Roles to be defined as array values. I found the SRBAC configuration screens to not sufficiently take advantage of Yii's ability to fully nest RBAC items, and also wanted a way to define configs independent of database tables during development, so that auth config information isn't lost (or needing to be archived) between database resets.

Notes

  • This command is lightly tested - I use it in my daily development, but there may be issues that arise so YMMV, I'll post updates as I make them.
  • Currently this command removes all RBAC information prior to running, including user assignments. Because of this, it's currently only appropriate for development work, or for small sites that can statically define all user assignments in the AuthInitCommand config file.
  • This command is only compatible with CDbAuthManager

Future Features

  • provide option to preserve authassignments, for updating RBAC configuration on production systems

Resources

aii-eclipse-templates 1 review   downloaded 292 times
Eclipse templates for CHtml function
created by aztech, last updated on March 16, 2010

This extension consist templates which you can use in Eclipse. They wraps all CHtml functions

aii-publish-register-behavior no review yet   downloaded 63 times
Aii Publish Register Behavior extension supporting publishing and registering CSS and JS in easy way
created by aztech, last updated on March 19, 2010
google-static-maps 2 reviews   downloaded 263 times
Widget for producing Google Static Maps
created by Alex Muir, last updated on March 18, 2010

A widget that quickly produces Google Static Maps.

Handles most features of the Static Maps API, with the exception of polylines

Resources

firephp-logroute 2 reviews   downloaded 234 times
FirePHP LogRoute
created by Shiki, last updated on March 30, 2010

This extension sends Yii log messages to FirePHP. It inherits from CLogRoute and uses the same method and configuration as the other built-in logging components: CFileLogRoute, CWebLogRoute, etc.

Tested on Yii 1.1.0.

Resources

You can also download from the GitHub page

Go to page: