Wiki

Sorted by commentsX
Displaying 361-370 of 785 result(s).

Profiling user requests

Created 3 years ago by M0kaTutorials3 comments – viewed 3,398 times – ( +1 / -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.

Handling recursive deletion in Yii

Created 4 years ago by JamesBarnsleyHow-tos3 comments – viewed 10,325 times – ( +3 / -1 ) – version 1.1
I www.jamesbarnsley.com 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 6 years ago by bgleeHow-tos3 comments – viewed 26,061 times – ( +9 / -1 ) – 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 3 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 8,377 times – ( +1 / -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/

A simple class to use a different db for a module

Created 6 years ago by tydeas_drTips3 comments – viewed 18,854 times – ( +10 / -1 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?

Extending an ActiveRecord model

Created 4 years ago by BogseyHow-tos3 comments – viewed 17,569 times – ( +2 / -4 ) – version 1.1
Introduction

PHPStorm & NetBeans autocomplete problem

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

Fixing extensions without modifying their code

Created 4 years ago by schmunkTips3 comments – viewed 10,140 times – ( +6 / -1 ) – 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 create a Widget - Recent Comments widget

Created 3 years ago by Nisanth thulasiHow-tos3 comments – viewed 24,963 times – ( +9 / -1 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

I18n / localised routes in Yii

Created 3 years ago by ElecenHow-tos3 comments – viewed 5,264 times – ( +3 / -2 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing