Wiki

Articles in category "how-tos"X
Displaying 91-100 of 309 result(s).

Automatic Parameter Binding to POST vars in Yii2

Created 11 months ago by aarondfrancisHow-tos2 comments – viewed 5,451 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Create a custom menu using CMenu data-items (flat or tree structure)

Created 11 months ago by KonApazHow-tos0 comments – viewed 9,958 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.

BUM - Add Additional Info to a User

Created 11 months ago by fireflyHow-tos1 comment – viewed 4,311 times
How to add additional information to a user when using BUM extension?

How to include Javascript, CSS

Created 11 months ago by InterboyHow-tos2 comments – viewed 291,909 times – ( +7 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Remove Byte Order Mark (BOM) from files recursively

Created 11 months ago by KonApazHow-tos3 comments – viewed 5,247 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 11 months ago by InterboyHow-tos1 comment – viewed 12,806 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

Multiple files uploader with CMultiFileUpload

Created 11 months ago by InterboyHow-tos1 comment – viewed 244,907 times – ( +7 ) – version all
Today I will show you how to handle multiple file upload step by step.

custom sql query results to CDetailView

Created 12 months ago by KonApazHow-tos2 comments – viewed 13,790 times – ( +3 )
This is a bried guide about displaying of custom sql query results.

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

Created about a year ago by Gerhard LiebenbergHow-tos3 comments – viewed 10,678 times – ( +7 / -1 ) – version 1.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.

get summary of related model via STAT relation

Created about a year ago by rootbearHow-tos2 comments – viewed 7,781 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.