Wiki

Sorted by commentsX
Displaying 151-160 of 786 result(s).

Reference: Model rules validation

Created 8 years ago by krillzipHow-tos7 comments – viewed 760,118 times – ( +128 / -1 ) – version 1.1
This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

Storing your images in your table's blob field and displaying that stored images.

Created 5 years ago by sirin kHow-tos7 comments – viewed 35,504 times – ( +9 / -2 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Show captcha after <N> unsuccessfull attempts

Created 5 years ago by zitterHow-tos7 comments – viewed 23,362 times – ( +15 / -6 ) – version 1.1
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

How To Customize CMenu Output

Created 7 years ago by AngeloTutorials7 comments – viewed 63,602 times – ( +10 / -1 ) – version 1.1
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Additional form data with XUpload

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

A simple go back button widget

Created 5 years ago by CTalaHow-tos7 comments – viewed 25,390 times – ( +8 / -4 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 7 years ago by a110yTips7 comments – viewed 18,401 times – ( +2 / -1 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Created 3 years ago by Kartik VTips7 comments – viewed 42,690 times – ( +39 / -5 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

Handling tabular data loading and validation in Yii 2

Created 3 years ago by Kartik VTutorials7 comments – viewed 41,825 times – ( +44 / -7 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Filter & Sort by Summary Data in GridView Yii 2.0

Created 3 years ago by Kartik VTutorials7 comments – viewed 48,049 times – ( +40 / -5 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.