Wiki

Sorted by viewsX
Displaying 441-450 of 784 result(s).

Create sitemap.xml file dynamically on root folder with one hit

Created 4 years ago by kiran sharmaHow-tos1 comment – viewed 16,540 times – ( +5 / -6 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

Sub-domains with different databases in Yii!

Created 6 years ago by jwerdHow-tos5 comments – viewed 16,528 times – ( +2 / -1 ) – version 1.1
Sub-domains with different databases in Yii!

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 4 years ago by LuizTips1 comment – viewed 16,517 times – ( +7 / -1 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

Insert a multirow header in CGridView

Created 3 years ago by PeppeHow-tos2 comments – viewed 16,432 times – ( +6 / -1 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

Managing constants easily

Created 5 years ago by briiC.lvTips4 comments – viewed 16,398 times – ( +4 / -1 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

Changing Controllers Name

Created 6 years ago by TrejderHow-tos0 comments – viewed 16,382 times – ( +5 / -1 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

三步使用cronjobs自动化去执行Yii 控制台任务

Created 5 years ago by Darwin WenTutorials0 comments – viewed 16,331 times – ( +1 / -5 ) – version 1.1
这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

YII SaaS Multi Tenant application with single database

Created 4 years ago by Rajith RTutorials5 comments – viewed 16,290 times – ( +11 / -11 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

Simple Jui Autocomplete in yii2

Created about a year ago by ajithTutorials4 comments – viewed 16,232 times – ( -2 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.