Wiki

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

Automatically get the SVN Revision Number of your Project

Created 2 years ago by jcagentzeroTutorials1 comment – viewed 4,812 times – ( +3 ) – 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,018 times – ( +8 ) – 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 2 years ago by nabil abdoualiHow-tos1 comment – viewed 15,346 times – ( -2 ) – 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 2 years ago by lgastmansTips1 comment – viewed 9,495 times – ( +3 ) – 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 10,675 times – ( +4 ) – 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 28,309 times – ( +10 ) – 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.

htmlOptions explained for various controls.

Created 6 years ago by WoilTips1 comment – viewed 54,792 times – ( +18 ) – version 1.1
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code:

Functional tests independing from your urlManager settings

Created 6 years ago by RusAlexTips1 comment – viewed 9,238 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:

Open bootstrap modal and load content via Ajax

Created 2 years ago by JbalTeroHow-tos1 comment – viewed 43,545 times – ( +3 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

Making friends' configs, DB credentials and paths with version control

Created 4 years ago by Alexander PalamarchukTips1 comment – viewed 7,371 times – ( +2 / -1 ) – version 1.1
In many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test server and never (generally speaking) - on the production.
tags: config