Wiki

Sorted by commentsX
Displaying 561-570 of 786 result(s).

How to limit number of guest page views

Created 3 years ago by PeRoChAkHow-tos1 comment – viewed 5,155 times – ( +3 / -1 ) – version 1.1
In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.

Facebook DeAuthorize callback URL and its response data.

Created 5 years ago by sirin kTutorials1 comment – viewed 14,379 times – ( +3 / -1 ) – version 1.1
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

embed a view file of the class which implement the CAction.

Created 6 years ago by DavidhhuanTutorials1 comment – viewed 8,979 times – ( +1 / -2 ) – version 1.1
In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views

Yii code completion and calltips in Komodo Edit

Created 6 years ago by viterTips1 comment – viewed 12,119 times – ( +6 / -1 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

Automatically get the SVN Revision Number of your Project

Created 3 years ago by jcagentzeroTutorials1 comment – viewed 5,410 times – ( +3 / -1 ) – version all
When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

More security in your applications with Yii and PHPIDS

Created 6 years ago by Rafael GarciaHow-tos1 comment – viewed 14,692 times – ( +8 / -1 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Login Form With email or Whatever

Created 3 years ago by nabil abdoualiHow-tos1 comment – viewed 17,456 times – ( -3 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Update Gridview with Dropdown Selection

Created 3 years ago by lgastmansTips1 comment – viewed 10,699 times – ( +3 / -1 ) – version 1.1
I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

Preventing CJuiTabs from hiding drop-down CMenu items

Created 6 years ago by Steve FriedlTips1 comment – viewed 11,180 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.

Search method of a model for filters when using dates - unixtimestamp in database

Created 6 years ago by MukkeTips1 comment – viewed 29,553 times – ( +10 / -1 ) – version 1.1
I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.