Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 131-140 of 182 result(s).

How to: use github for download yii, create new app, and store our modules or extensions.

Created 11 months ago by sensorarioHow-tos1 comment – viewed 4,700 times – ( +7 )
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

How to render a view in Fancybox using ajax

Created 10 months ago by rix.rix.How-tos1 comment – viewed 10,091 times – ( +5 / -1 )
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

How to customize error handling in console-mode applications

Created 2 years ago by Steve FriedlHow-tos1 comment – viewed 5,641 times – ( +3 )
One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor them.

YouTube API v2.0 – Browser-based Uploading

Created 8 months ago by VaibhavHow-tos1 comment – viewed 4,795 times – ( +5 )
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.

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

Created 8 months ago by GiulianoHow-tos1 comment – viewed 4,013 times – ( +7 )
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.

More security in your applications with Yii and PHPIDS

Created 2 years ago by Rafael GarciaHow-tos1 comment – viewed 8,671 times – ( +7 )
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

yii vim eclimd how it works

Created 2 years ago by RusAlexHow-tos1 comment – viewed 5,443 times – ( +10 )
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

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

Created 6 months ago by kiran sharmaHow-tos1 comment – viewed 3,930 times – ( +4 / -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 use YiiBooster Bootstrap Gallery

Created 5 months ago by Antonio RamirezHow-tos1 comment – viewed 7,942 times – ( +4 )
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

Configuring controller access rules to default-deny

Created 2 years ago by Steve FriedlHow-tos1 comment – viewed 29,448 times – ( +10 )
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.