Wiki

Articles in category "tips", sorted by commentsX
Displaying 71-80 of 149 result(s).

Create URL to language switcher anchor with langhandler

Created about a year ago by Anas AbuDayahTips2 comments – viewed 2,649 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

Syntax check

Created 4 years ago by Russell EnglandTips2 comments – viewed 7,217 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created about a year ago by Kartik VTips2 comments – viewed 7,960 times – ( +46 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Getting nulls from database instead of empty strings

Created 4 years ago by samdarkTips2 comments – viewed 10,226 times – ( +13 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

A simple class to use a different db for a module

Created 4 years ago by tydeas_drTips2 comments – viewed 14,729 times – ( +9 ) – 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?

Using MBMenu and Rights to automatically create menu item for your modules

Created 4 years ago by dinhtrungTips2 comments – viewed 12,717 times – ( +1 / -1 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

adding class and links to Ctreeview node

Created 4 years ago by bingjie2680Tips2 comments – viewed 13,118 times – ( +4 ) – version 1.1
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

Step by step for how to full export Yii2 grid to excel

Created 10 months ago by Scott_HuangTips2 comments – viewed 12,446 times – version 2.0
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

Customizing the CMenu Widget

Created 2 years ago by mistrybTips1 comment – viewed 38,403 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

How to Display tooltp(qtip) on CGridview dynamic

Created 2 years ago by Ankit ModiTips1 comment – viewed 6,565 times – ( -1 )
Hi Friends,