Wiki

Sorted by viewsX
Displaying 571-580 of 784 result(s).

Profiling using XDebug

Created 4 years ago by le_topHow-tos1 comment – viewed 10,956 times – ( +3 / -1 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Show raw SQL query

Created 6 months ago by dariooFAQs0 comments – viewed 10,928 times – ( +2 / -1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

Preventing CJuiTabs from hiding drop-down CMenu items

Created 6 years ago by Steve FriedlTips1 comment – viewed 10,924 times – ( +4 / -1 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

Check users online, user last activity, user last ip

Created 2 years ago by frazelliHow-tos5 comments – viewed 10,883 times – ( +5 / -1 ) – version 1.1
DbHttpSession

How to change Migration Table name and use defined prefix.

Created 4 years ago by JorgeeHow-tos1 comment – viewed 10,838 times – ( +3 / -1 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

model rules depended by user roles-permissions

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 10,821 times – ( +3 / -1 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

How to make use of a fragment cache

Created 8 years ago by dalipTutorials0 comments – viewed 10,810 times – ( +1 / -1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache

Using the jamselect widget with min and max values

Created 6 years ago by got 2 doodleHow-tos0 comments – viewed 10,706 times – ( +2 / -1 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

Using recaptchlib in your projects

Created 6 years ago by Antonio RamirezHow-tos2 comments – viewed 10,665 times – ( +5 / -1 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

Shrink Yii, help your IDE and speed up copying

Created 5 years ago by dckurushinTips4 comments – viewed 10,621 times – ( +10 / -10 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half