Wiki

Articles in category "how-tos"X
Displaying 231-240 of 353 result(s).

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 3 years ago by rAWTAZHow-tos0 comments – viewed 34,567 times – ( +7 ) – version 1.1
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

Integrating Wordpress and Yii,Working Out The Details.

Created 3 years ago by drumaddictHow-tos4 comments – viewed 21,521 times – ( +8 ) – version 1.1
This article is based on fr0d0z's article Integrating Wordpress and Yii: still another approach, using Yii as the router/controller and provides more details on how to set up this integration.To be more specific,the idea is not to use any main.php layout in Yii's controllers.This gives the advantage that we do not need to modify any Yii code when we switch a theme in WordPress admin panel,provided we have done a very basic setup which I explain below.
tags: wordpress

YouTube API v2.0 – Browser-based Uploading

Created 3 years ago by VaibhavHow-tos1 comment – viewed 14,451 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.

Entire Messages into javascript object

Created 4 years ago by markuxHow-tos0 comments – viewed 6,129 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

How to use Multiple instances of the same model in the same form

Created 4 years ago by kiran sharmaHow-tos21 comments – viewed 51,462 times – ( +22 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Extending CJuiDialog

Created 4 years ago by dstudioHow-tos0 comments – viewed 11,017 times – ( +2 / -2 ) – version 1.1
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

How to render a view in Fancybox using ajax

Created 4 years ago by rix.rix.How-tos1 comment – viewed 22,111 times – ( +7 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

How to create front and admin side login form

Created 4 years ago by vibhaJadwaniHow-tos8 comments – viewed 72,533 times – ( +6 ) – version 1.1
In this WIKI you can learn how to create front and admin login form, using database.

Alternative wildcard characters CDbCriteria

Created 4 years ago by maigretHow-tos0 comments – viewed 7,213 times – ( +3 ) – version 1.1
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

Publish yii webapp using Git push

Created 4 years ago by rootbearHow-tos6 comments – viewed 10,881 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git