Wiki

Sorted by commentsX
Displaying 41-50 of 784 result(s).

Handling Bootstrap active tabs in Yii via URL

Created 4 years ago by JamesBarnsleyHow-tos17 comments – viewed 28,039 times – ( +7 / -1 ) – version 1.1
I (www.jamesbarnsley.com) found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

Real-time display of server push data using Server-Sent Events (SSE)

Created 5 years ago by bennounaHow-tos16 comments – viewed 47,468 times – ( +12 / -1 ) – version 1.1
There are several methods and techniques that come handy in the case you need to call an external resource periodically or if you are waiting for a server push, but I present here an easy and straightforward one using HTML5's Server-Sent Events (SSE).

How to filter CGridView with From Date and To Date datepicker

Created 5 years ago by kiran sharmaTips16 comments – viewed 50,068 times – ( +17 / -5 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Theming your Zii Widgets

Created 6 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 52,528 times – ( +20 / -1 ) – version 1.1
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

Use crypt() for password storage

Created 4 years ago by fsbTutorials16 comments – viewed 96,368 times – ( +24 / -1 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Uploading multiple images with CMultiFileUpload

Created 6 years ago by rsinghHow-tos16 comments – viewed 103,696 times – ( +38 / -1 ) – version 1.1
"The documentation for CMultiFileUpload isn't clear!"

Url: hide index.php

Created 6 years ago by HermansHow-tos16 comments – viewed 186,029 times – ( +28 / -2 ) – version 1.1
Maybe it looks simple, but some time ago I need some time to find a solution of this case. I finally got it, and I want to share that I also experienced such cases. So that it can make reference.

Understanding the view rendering flow

Created 5 years ago by dckurushinFAQs16 comments – viewed 197,208 times – ( +96 / -4 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Serve jQuery and jQuery-UI from Google's CDN

Created 5 years ago by YetiTutorials15 comments – viewed 30,369 times – ( +14 / -2 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

By Example: CHtml

Created 7 years ago by jonahTutorials15 comments – viewed 845,313 times – ( +117 / -2 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.