Wiki

Sorted by date (updated)X
Displaying 101-110 of 777 result(s).

`forceCopy` per Asset Bundle

Updated about a year ago by schmunkHow-tos0 comments – viewed 3,413 times – ( +1 ) – version 2.0
Note: The following document describes a possible workaround, if you have issues with asset publishing. For many people this will just work fine.

Searching and Sorting by Count of Related Items in CGridView

Updated about a year ago by softarkHow-tos13 comments – viewed 42,245 times – ( +31 ) – version 1.1
Let's say we have two models and relation between them:

How to learn Yii?!

Updated about a year ago by fsbTutorials6 comments – viewed 82,012 times – ( +25 ) – version all
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Selecting best language based on Browser language and available languages.

Updated about a year ago by le_topTips0 comments – viewed 4,593 times – ( +2 ) – version 1.1
Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

New Relic Error Alert with Yii

Updated about a year ago by razvanphpTips2 comments – viewed 14,222 times – ( +6 ) – version 1.1
Introduction

BUM - Add Additional Info to a User

Updated about a year ago by AnibalHow-tos1 comment – viewed 16,012 times – ( +1 ) – version 1.1
How to add additional information to a user when using BUM extension?

How to create a custom exception and show it friendly with CJuiDialog

Updated about a year ago by Fábio SalesHow-tos0 comments – viewed 6,190 times – ( +1 ) – version 1.1
Sometimes we need to create our custom exception and show it to the end user through a friendly way . In this article, I'm showing how to do it using CJuidialog.

YII2 Pagination Options

Updated about a year ago by VivekYiiTips0 comments – viewed 5,583 times – ( +1 ) – version 2.0
solution here If we are using default pagination option like
tags: pagination, View, vivs

Using counters with ActiveRecord

Updated about a year ago by marcovtwoutTips9 comments – viewed 27,748 times – ( +14 / -1 ) – version 1.1
Let's say, for example, that you are developing a blog or some kind of CMS and you want to track the number of times each post was viewed (maybe to show a list of the most viewed ones).

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Updated about a year ago by robregonmHow-tos2 comments – viewed 9,277 times – ( +10 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.