Wiki

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

How to hide index.php on Microsoft Windows Server with IIS7

Created 2 years ago by GiulianoHow-tos2 comments – viewed 11,091 times – ( +8 ) – version 1.1
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

Extending an ActiveRecord model

Created about a year ago by BogseyHow-tos3 comments – viewed 11,083 times – ( +2 / -3 ) – version 1.1
Introduction

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

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

YouTube API v2.0 – Browser-based Uploading

Created 2 years ago by VaibhavHow-tos1 comment – viewed 10,816 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

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

Created about a year ago by KonApazHow-tos0 comments – viewed 10,723 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.

How to create a wrapper for a js library

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

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

Created about a year ago by kiran sharmaHow-tos1 comment – viewed 10,413 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 10,411 times – ( +5 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Using SQLite and CDbMessageSource as a module

Created 2 years ago by pheadeauxHow-tos5 comments – viewed 10,344 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.

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

Created about a year ago by Gerhard LiebenbergHow-tos0 comments – viewed 10,311 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.