Wiki

Sorted by viewsX
Displaying 461-470 of 728 result(s).

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 11 months ago by Kartik VHow-tos2 comments – viewed 8,703 times – ( +30 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

ISA hierarchy of tables inside a database and how to implement a single form

Created 3 years ago by pligorHow-tos2 comments – viewed 8,683 times – ( +1 ) – version 1.1
Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench:

Display image on CGridView column and open a fancy-box

Created about a year ago by Ankit ModiTutorials0 comments – viewed 8,661 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page

Our WebApp that will run without downtime during update/upgrade

Created 3 years ago by Pinoy CoderzTutorials3 comments – viewed 8,620 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Using the jamselect widget with min and max values

Created 4 years ago by got 2 doodleHow-tos0 comments – viewed 8,546 times – ( +2 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

Nested inline active fields inside Bootstrap horizontal forms

Created 7 months ago by Kartik VHow-tos2 comments – viewed 8,530 times – ( +33 ) – version 2.0
Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.

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

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

HOW TO: Use token based authentication

Created about a year ago by le_topHow-tos2 comments – viewed 8,441 times – ( +4 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

Rendering a view file in a console application

Created 3 years ago by TompiHow-tos1 comment – viewed 8,439 times – ( +4 / -2 ) – version 1.1
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.

Building Page Specific Menus using CMenu

Created about a year ago by mistrybHow-tos1 comment – viewed 8,402 times – version 1.1
The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.
tags: CMenu