Wiki

Sorted by viewsX
Displaying 331-340 of 753 result(s).

How to use Smarty renderer in Yii

Created 4 years ago by dongbetaHow-tos2 comments – viewed 17,971 times – ( +4 ) – version 1.1
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

Simple Share Widget for Facebook, twitter and google+

Created 3 years ago by softarkHow-tos4 comments – viewed 17,768 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.

Load the Yii-Bootstrap Extension on Specific Actions

Created 2 years ago by chuntleyHow-tos5 comments – viewed 17,762 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

Two Login in same form in Yii application , with two tables

Created about a year ago by BaluTutorials5 comments – viewed 17,679 times – ( +4 / -7 ) – version 1.1
login links will be

Checking for "expired" sessions/logins on the client side

Created 2 years ago by le_topHow-tos0 comments – viewed 17,535 times – ( +6 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Using cache in CActiveDataProvider

Created 3 years ago by StammTips7 comments – viewed 17,507 times – ( +21 ) – version 1.1
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.

Filter & Sort by Summary Data in GridView Yii 2.0

Created about a year ago by Kartik VTutorials6 comments – viewed 17,488 times – ( +39 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Extension Development (beginner)

Created about a year ago by sefburhanTutorials2 comments – viewed 17,464 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Cron Jobs in Yii

Created 2 years ago by aarondfrancisHow-tos1 comment – viewed 17,411 times – ( +4 )
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 4 months ago by skwordenHow-tos6 comments – viewed 17,311 times – ( +12 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.