Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 61-70 of 354 result(s).

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

Updated about a year ago by robregonmHow-tos2 comments – viewed 10,516 times – ( +11 ) – 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.

How to provide a fallback or mapping for translation messages?

Updated about a year ago by schmunkHow-tos1 comment – viewed 5,563 times – ( +5 ) – version 1.1
Sometimes you want to use exisiting translations for locales, which do not directly match. An example would be a website targeting Germany (de_de), Austria (de_at) and Switzerland (de_ch, fr_ch, it_ch). Although you may have exisiting translations for German (de), French (fr) and Italian (it), there are problems using it directly.

CJuiDatePicker extended for more/better language support

Updated about a year ago by le_topHow-tos0 comments – viewed 3,845 times – ( +1 ) – version 1.1
The number of languages supported by the standard CJuiDatePicker implementation is limited and the language code to use is different from the application's language code. This Wiki shows how to improve on that.

custom sql query results to CDetailView

Updated about a year ago by Rohit SutharHow-tos8 comments – viewed 31,428 times – ( +3 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

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

Updated about a year ago by yiimHow-tos14 comments – viewed 73,411 times – ( +17 ) – 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)

Google style sign out of all other sessions

Updated about a year ago by Rohit SutharHow-tos2 comments – viewed 7,193 times – ( +4 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

How to pass the third parameter to UserIdentity on login authentication

Updated 2 years ago by Rohit SutharHow-tos6 comments – viewed 13,574 times – ( +2 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

How to use Expression in default AccessControl to allow only the owner to do some action

Updated 2 years ago by DineshRHow-tos2 comments – viewed 35,429 times – ( +8 / -1 ) – version 1.1
Hi Everyone

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Updated 2 years ago by YiiJekaHow-tos8 comments – viewed 77,297 times – ( +16 / -1 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

Moving the vendor directory for multiple projects

Updated 2 years ago by mariosimaremareHow-tos2 comments – viewed 10,911 times – ( +5 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.