Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 91-100 of 352 result(s).

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

Created about a year ago by robregonmHow-tos2 comments – viewed 8,427 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.

Simple Share Widget for Facebook, twitter and google+

Created 4 years ago by softarkHow-tos4 comments – viewed 21,606 times – ( +10 ) – version 1.1
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.

A Multi-Tenant Strategy using Yii and MySQL

Created 2 years ago by JFReyesHow-tos9 comments – viewed 20,021 times – ( +10 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

How to hide index.php on Microsoft Windows Server with IIS7

Created 3 years ago by GiulianoHow-tos2 comments – viewed 18,670 times – ( +10 ) – version 1.1
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

How to implement cron in Yii 2

Created 2 years ago by hemcHow-tos10 comments – viewed 36,851 times – ( +10 ) – version 2.0
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
tags: cron, yii2, console

yii vim eclimd how it works

Created 5 years ago by RusAlexHow-tos1 comment – viewed 8,817 times – ( +10 ) – version 1.1
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

Load the Yii-Bootstrap Extension on Specific Actions

Created 3 years ago by chuntleyHow-tos5 comments – viewed 19,361 times – ( +10 ) – version 1.1
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter

Integrating ZF2 into Yii - use case demonstrated

Created 3 years ago by BoazHow-tos2 comments – viewed 7,180 times – ( +10 ) – version 2.0
I needed to use a class from ZF2 in my Yii project. I've read probably all there is about this subject and still I needed lots of trial & errors to get it working, probably due to my lack of experience working with namepsaces and ZF2 in general. Also, the resources on the web are all partial, at best. Most simply refer to ZF1 where things are technically different. When I got it all working I decided to record my findings and that's how this article was born. The below recipe is what worked for me, accompanied by relevant comments. References: This article is partially based on this guide page. Be sure also to consult Zend Framework 2 documentation.

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 4 years ago by ibo_sHow-tos2 comments – viewed 46,221 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

javascript + tabular input

Created 5 years ago by zaccariaHow-tos4 comments – viewed 30,921 times – ( +14 / -1 ) – version 1.1
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.