Wiki

Sorted by commentsX
Displaying 171-180 of 726 result(s).

Implementing cron jobs with Yii

Created 4 years ago by samdarkHow-tos6 comments – viewed 56,163 times – ( +30 / -1 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Publish yii webapp using Git push

Created 2 years ago by rootbearHow-tos6 comments – viewed 8,060 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

Using Yii with Oracle through PDO

Created 4 years ago by TrejderTips6 comments – viewed 35,048 times – ( +1 ) – version 1.1
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

Create image thumbnails with php_img_preview

Created 2 years ago by Anas AbuDayahTutorials6 comments – viewed 10,934 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

Using setFlash for displaying various kind of messages

Created 4 years ago by TrejderHow-tos6 comments – viewed 46,061 times – ( +4 / -5 ) – version 1.1
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
tags: flash, error, message

mysql performance tip

Created 2 years ago by sirin kTips6 comments – viewed 7,665 times – ( +2 / -1 ) – version 1.1
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

Update CGridview row separately using ajax request

Created 9 months ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 7,023 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

Hyphenation of routes in URL management

Created 2 years ago by qiangHow-tos6 comments – viewed 15,638 times – ( +18 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

Handling Bootstrap active tabs in Yii via URL

Created 2 years ago by JamesBarnsleyHow-tos6 comments – viewed 17,990 times – ( +7 ) – version 1.1
As a lead developer at Mutable Labs I found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

Bootstrap Yii cGridView add popup button

Created 8 months ago by Arockia JohnsonHow-tos6 comments – viewed 5,305 times – ( +4 ) – version 1.1
Hi,