Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 161-170 of 308 result(s).

How to create a wrapper for a js library

Created 3 years ago by zaccariaHow-tos2 comments – viewed 10,261 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Generate a multi-lever array sub-category for a menu

Created about a year ago by KonApazHow-tos7 comments – viewed 10,258 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

How-To: Create Token Authenticated Web Services

Created 8 months ago by hemcHow-tos1 comment – viewed 10,253 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

Create sitemap.xml file dynamically on root folder with one hit

Created about a year ago by kiran sharmaHow-tos1 comment – viewed 10,033 times – ( +5 / -5 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 9,946 times – ( +5 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Create a custom menu using CMenu data-items (flat or tree structure)

Created 11 months ago by KonApazHow-tos0 comments – viewed 9,846 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

Using SQLite and CDbMessageSource as a module

Created 2 years ago by pheadeauxHow-tos5 comments – viewed 9,791 times – ( +5 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

Using Google Maps in Yii Applications via Jquery

Created about a year ago by bluyellHow-tos2 comments – viewed 9,713 times – ( +2 / -1 ) – version 1.1

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created about a year ago by Gerhard LiebenbergHow-tos0 comments – viewed 9,699 times – ( +4 / -1 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

"safe" and "unsafe" Model validators (massive assignments)

Created about a year ago by KonApazHow-tos4 comments – viewed 9,654 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.