Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 61-70 of 322 result(s).

Install, update and use Yii with WAMP server

Created 2 years ago by mrsHow-tos5 comments – viewed 30,337 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Using International Dates

Created 3 years ago by Russell EnglandHow-tos4 comments – viewed 30,195 times – ( +18 ) – version 1.1
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post http://www.yiiframework.com/forum/index.php?/topic/3649-dealing-with-i18n-date-formats/

Client-side form validation using Twitter Bootstrap's Popovers

Created about a year ago by TrejderHow-tos4 comments – viewed 29,604 times – ( +4 / -1 ) – version 1.1
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Created about a year ago by Gerhard LiebenbergHow-tos1 comment – viewed 28,843 times – ( +4 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

Elementary introduction to using jQuery ajax and the yii framework

Created 2 years ago by dhimesHow-tos4 comments – viewed 28,503 times – ( +6 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

Additional form data with XUpload

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

Getting the Most out of APC for Yii

Created 2 years ago by Da:SourcererHow-tos10 comments – viewed 27,853 times – ( +16 ) – version 1.1
The Advanced PHP Cache is a PHP extension which primarily serves as an opcode cache for PHP. The basic idea is to save PHP from re-evaluating the PHP code to intermediate bytecode on each request. Installing and enabling APC already yields a significant performance benefit. However, APC is not a black box that will magically change all for the better. More over it is important to understand that APC needs memory to operate.
tags: caching, apc

Using the jqueryslidemenu plugin with CMenu

Created 4 years ago by Antonio RamirezHow-tos0 comments – viewed 27,760 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.

How to hide /frontend/web in url addresses on apache

Created 2 months ago by raminiousHow-tos8 comments – viewed 27,517 times – ( +9 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Created 5 years ago by mindehHow-tos6 comments – viewed 27,180 times – ( +44 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.