Wiki

Sorted by ratingX
Displaying 571-580 of 771 result(s).

Multilanguage Lorem Ipsum Text Generator

Created 3 years ago by yasenHow-tos2 comments – viewed 6,422 times – ( +2 ) – version 1.1
Taking futher the idea from Piotr MaseĊ‚kowski - http://www.yiiframework.com/extension/elipsum/ here's how to generate multilanguage Lorem Ipsum text. This example uses English and Bulgarian sample paragraphs. Create a class in /protected/components/LoremIpsum.php. Wall of text incoming wohoo...

Insert a model record using CGridview

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,941 times – ( +2 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Update specific cgridview html row after AJAX request

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 10,542 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

Prevent asset publishing for CListView

Created 5 years ago by MikeHow-tos2 comments – viewed 8,800 times – ( +2 ) – version 1.1
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets

Upload Files to Rackspace Cloud Files CDN

Created 3 years ago by StephenMiracleTutorials0 comments – viewed 10,612 times – ( +2 ) – version 1.1
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

Sort and save order of model-elements drag & drop

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 6,077 times – ( +2 ) – version 1.1
Suppose you have Products,Categories and each product belongs in many categories

Sub-domains with different databases in Yii!

Created 5 years ago by jwerdHow-tos4 comments – viewed 15,097 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Yii 1.1: How To add id or class to CMenu items ?

Created about a year ago by Louis GacHow-tos0 comments – viewed 10,752 times – ( +2 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

an easy way to required multi columns(At least one cannot be blank)

Created 4 years ago by 1065227709Tips0 comments – viewed 6,259 times – ( +2 ) – version 1.1
in model add the following code:
tags: rules

Enhance security of cookie-based login

Created about a year ago by darkheirHow-tos0 comments – viewed 6,690 times – ( +2 ) – version 1.1
Enhance security of cookie-based login