Wiki

Sorted by viewsX
Displaying 431-440 of 599 result(s).

How to make use of a fragment cache

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

yii vim eclimd how it works

Created 3 years ago by RusAlexHow-tos1 comment – viewed 6,973 times – ( +10 ) – version 1.1
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 a custom menu using CMenu data-items (flat or tree structure)

Created 6 months ago by KonApazHow-tos0 comments – viewed 6,957 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.

Functional tests independing from your urlManager settings

Created 3 years ago by RusAlexTips1 comment – viewed 6,946 times – version 1.1
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Created 7 months ago by Gerhard LiebenbergHow-tos3 comments – viewed 6,934 times – ( +7 / -1 )
Most of the currently available functions/extensions/behaviors directly or indirectly use timestamps to perform "format" and "timezone" conversions. This creates problems for dates falling outside the timestamp range; and the two forms of conversions must often be done in separate processes. However, by using php's DateTime class (instead of timestamps), we can do both conversions on a single DateTime object (only 2 lines of code) for date, time, timestamp and datetime types - while php takes care of nightmares such as daylight saving times and more importantly, historical changes in timezones and daylight saving times.

Using recaptchlib in your projects

Created 3 years ago by Antonio RamirezHow-tos2 comments – viewed 6,924 times – ( +5 ) – 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.

CGridView keep focus on the control after filtering

Created 2 years ago by jayalaHow-tos2 comments – viewed 6,918 times – ( +5 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

How to use EzComponents in Yii

Created 2 years ago by EhsanjsHow-tos0 comments – viewed 6,913 times – ( +5 ) – version 1.1
change your index.php

Adding a link to a CDataColumn

Created about a year ago by le_topTips6 comments – viewed 6,886 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

XSS safe model content

Created 4 years ago by phirasTutorials2 comments – viewed 6,877 times – ( +4 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.