Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 71-80 of 354 result(s).

Using Bootstrap with LESS

Created 4 years ago by Chris83How-tos1 comment – viewed 45,388 times – ( +14 / -1 ) – version 1.1
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.

Integrating HybridAuth directly into Yii without an extension

Created 4 years ago by biz devHow-tos8 comments – viewed 40,172 times – ( +14 / -1 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Using the jqueryslidemenu plugin with CMenu

Created 6 years ago by Antonio RamirezHow-tos0 comments – viewed 33,277 times – ( +18 / -2 ) – version 1.1
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 2 years ago by Wade ShulerHow-tos2 comments – viewed 56,375 times – ( +17 / -2 ) – version 2.0
I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and yii2 configuring different sessions for backend and frontend in yii advanced application template, there are still steps missing. It is funny how the 2nd one says it is an extension of the first one's article. So I guess, my wiki guide here is yet a 3rd and more complete extension of both of them. I also found a few StackOverflow questions and blog posts regarding this topic. None of them fully worked, and must be missing some magic sauce!

Pjax on ActiveForm and GridView - Yii2

Created 2 years ago by SreenadhHow-tos6 comments – viewed 84,253 times – ( +13 / -1 ) – version 2.0
Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 5 years ago by RutgerHow-tos3 comments – viewed 27,295 times – ( +13 / -1 ) – version 1.1
This solution requires Yii 1.1.9 or above

jQuery UI Datepicker

Created 4 years ago by softarkHow-tos11 comments – viewed 77,287 times – ( +13 / -1 ) – version 1.1
We all love the convenient gadget, namely jQuery UI Datepicker as an input element for date. Yii supports it as CJuiDatePicker. Let's see how to use it.

Limit a CGridView field to some preset length.

Created 4 years ago by le_topHow-tos1 comment – viewed 13,311 times – ( +13 / -1 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

YiiBooster: How to implement files and images upload on TbRedactor Widget

Created 4 years ago by Antonio RamirezHow-tos3 comments – viewed 25,889 times – ( +13 / -1 ) – version 1.1
I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial.

How to create a wrapper for a js library

Created 6 years ago by zaccariaHow-tos2 comments – viewed 14,916 times – ( +16 / -2 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify