Wiki

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

Save uploaded file with any filename characters

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 6,851 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/

A simple class to use a different db for a module

Created 5 years ago by tydeas_drTips3 comments – viewed 17,339 times – ( +10 ) – 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 3 years ago by BogseyHow-tos3 comments – viewed 16,088 times – ( +2 / -3 ) – version 1.1
Introduction

PHPStorm & NetBeans autocomplete problem

Created 3 years ago by StagelineTips3 comments – viewed 12,480 times – ( +24 ) – 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 3 years ago by schmunkTips3 comments – viewed 8,950 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 create a Widget - Recent Comments widget

Created 2 years ago by Nisanth thulasiHow-tos3 comments – viewed 21,894 times – ( +8 ) – 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 2 years ago by ElecenHow-tos3 comments – viewed 4,240 times – ( +3 / -1 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing

How to use an application behavior to maintain runtime configuration

Created 5 years ago by zaccariaHow-tos3 comments – viewed 30,576 times – ( +28 ) – 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.

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

Created 3 years ago by Antonio RamirezHow-tos3 comments – viewed 24,463 times – ( +13 ) – 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 ensure unicity to url

Created 5 years ago by zaccariaTips3 comments – viewed 12,979 times – ( +14 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL