Wiki

Sorted by commentsX
Displaying 481-490 of 784 result(s).

Nested inline active fields inside Bootstrap horizontal forms

Created 2 years ago by Kartik VHow-tos2 comments – viewed 36,737 times – ( +42 / -1 ) – 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.

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

Created 5 years ago by dinhtrungTips2 comments – viewed 14,145 times – ( +1 / -2 ) – 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.

Yii for beginners 2

Created 4 years ago by rackyczTutorials2 comments – viewed 54,006 times – ( +32 / -1 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Multilanguage web site controlling by get request and database allowed languages

Created 5 years ago by Igor IvanovicTutorials2 comments – viewed 21,830 times – ( +6 / -1 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

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

Created 5 years ago by pligorHow-tos2 comments – viewed 11,585 times – ( +1 / -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:

adding class and links to Ctreeview node

Created 5 years ago by bingjie2680Tips2 comments – viewed 14,708 times – ( +4 / -1 ) – 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

Using Google Maps in Yii Applications via Jquery

Created 4 years ago by bluyellHow-tos2 comments – viewed 15,339 times – ( +3 / -2 ) – version 1.1

Manage Email Template content from database

Created 2 years ago by Ankit ModiTutorials2 comments – viewed 7,646 times – ( -5 ) – version all
Hi Friends,

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 5 years ago by Revelis Luc BonninHow-tos2 comments – viewed 27,814 times – ( +9 / -2 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be

How to get & store Last Login DateTime in database?

Created 2 years ago by Rohit SutharHow-tos2 comments – viewed 12,965 times – ( +7 / -1 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).