Wiki

Sorted by commentsX
Displaying 311-320 of 683 result(s).

Profiling user requests

Created 2 months ago by M0kaTutorials3 comments – viewed 930 times – ( +1 ) – version 1.1
How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.

Render a form in a Modal Popup using ajax

Created 2 months ago by thiagoc7How-tos3 comments – viewed 4,463 times – ( +4 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

Handling recursive deletion in Yii

Created about a year ago by JamesBarnsleyHow-tos3 comments – viewed 6,517 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

Converting an Artisteer Theme to Yii

Created 3 years ago by bgleeHow-tos3 comments – viewed 20,434 times – ( +9 ) – version 1.1
There are two approaches to converting an Artisteer theme. The first is to simply copy an existing Artisteer – based Yii theme, overlay the CSS and images, then make any necessary tweaks to the layout files. This is undoubtedly the fastest route, but won't teach you as much as doing it from scratch. That's ok. Sometimes getting the job done is the top priority. The second approach is more general and will apply to some extent to other HTML templates that you may want to convert. I'll be covering the first approach in detail, while the second will be more of a general discussion.

Save uploaded file with any filename characters

Created 2 months ago by KonApazHow-tos3 comments – viewed 1,173 times – ( +1 ) – version 1.1
First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/

Bootstrap Yii cGridView add popup button

Created 2 months ago by Arockia JohnsonHow-tos3 comments – viewed 1,713 times – ( +2 ) – version 1.1
Hi,

Extending an ActiveRecord model

Created about a year ago by BogseyHow-tos3 comments – viewed 10,072 times – ( +2 / -3 ) – version 1.1
Introduction

Fixing extensions without modifying their code

Created about a year ago by schmunkTips3 comments – viewed 5,433 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

How to use an application behavior to maintain runtime configuration

Created 3 years ago by zaccariaHow-tos3 comments – viewed 22,954 times – ( +27 ) – version 1.1
In this tutorial will be explained a method to manage some configuration runtime. This excellent tutorial follows a similar approach, but requires to write a masterclass which all controllers are supposed to extend, following this wiki you can achieve the same by only editing the configuration.

A simple way to get Yii client-side form validation run when submitting by ajax

Created about a year ago by nlacTutorials3 comments – viewed 24,828 times – ( +5 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.