Wiki

Sorted by viewsX
Displaying 501-510 of 784 result(s).

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

Created 2 years ago by robregonmHow-tos2 comments – viewed 14,406 times – ( +11 / -2 ) – 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 ensure unicity to url

Created 6 years ago by zaccariaTips3 comments – viewed 14,344 times – ( +14 / -1 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

Model validation for field ranges using yii2-field-range extension

Created 3 years ago by Kartik VTips0 comments – viewed 14,281 times – ( +39 / -1 ) – version 2.0
The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

AutoTimestampBehavior

Created 8 years ago by jonahTutorials1 comment – viewed 14,263 times – ( +2 / -3 ) – version 1.1
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

How to: use github for download yii, create new app, and store our modules or extensions.

Created 5 years ago by sensorarioHow-tos1 comment – viewed 14,063 times – ( +8 / -1 ) – version 1.1
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

Facebook DeAuthorize callback URL and its response data.

Created 5 years ago by sirin kTutorials1 comment – viewed 14,054 times – ( +3 / -1 ) – version 1.1
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

PHPStorm & NetBeans autocomplete problem

Created 4 years ago by StagelineTips3 comments – viewed 13,957 times – ( +24 / -1 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

Integrating FirePHP

Created 6 years ago by ricardogranaTutorials5 comments – viewed 13,930 times – ( +8 / -1 ) – version 1.1
Install Firebug plugin for Firefox from here.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 3 years ago by realteboTutorials0 comments – viewed 13,920 times – ( +2 / -1 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP è avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.

How to create/update a model with its related items using Listbox or CheckboxList

Created about a year ago by softarkTutorials1 comment – viewed 13,900 times – ( +4 / -1 ) – version 2.0
Assume we have many categories and many posts.