Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 71-80 of 342 result(s).

Additional form data with XUpload

Created 2 years ago by AsgarothHow-tos7 comments – viewed 31,197 times – ( +9 ) – version 1.1
In this article you'll learn how to send additional form data when uploading files using XUpload widget

Save and Display Date/Time Fields in different formats in Yii2

Created about a year ago by Kartik VHow-tos10 comments – viewed 30,688 times – ( +37 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

Displaying, Sorting and Filtering Model Relations on a GridView

Created about a year ago by Antonio RamirezHow-tos4 comments – viewed 30,544 times – ( +21 / -1 ) – version 2.0
One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data.

Integrating HybridAuth directly into Yii without an extension

Created 2 years ago by biz devHow-tos8 comments – viewed 30,526 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Using the jqueryslidemenu plugin with CMenu

Created 4 years ago by Antonio RamirezHow-tos0 comments – viewed 29,314 times – ( +18 / -1 ) – version 1.1
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 2 years ago by rAWTAZHow-tos0 comments – viewed 29,009 times – ( +7 ) – version 1.1
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 3 years ago by c@cbaHow-tos3 comments – viewed 28,792 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

javascript + tabular input

Created 4 years ago by zaccariaHow-tos4 comments – viewed 28,702 times – ( +14 / -1 ) – version 1.1
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

How to generate Yii-like Documentation

Created 4 years ago by AsgarothHow-tos9 comments – viewed 28,477 times – ( +46 ) – version 1.1
Something a good application cant miss is documentation, and what would be better than some nice formatted HTML documentation that can be auto-generated from your code, we know several tools that already do this like phpDocumentor, but today we are introducing Yii Docs Generator which is a modification of the code that Yii itself uses to generate its documentation, thank phpnode for this wonderful work.
tags: doc

AssetManager: clearing browser's cache on site update

Created 3 years ago by dhampikHow-tos4 comments – viewed 27,993 times – ( +19 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.