Wiki

Sorted by viewsX
Displaying 501-510 of 786 result(s).

How to get & store Last Login DateTime in database?

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 15,286 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).

Moving the vendor directory for multiple projects

Created 3 years ago by mariosimaremareHow-tos2 comments – viewed 15,186 times – ( +5 / -2 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 3 years ago by edoardo849How-tos2 comments – viewed 15,164 times – ( +6 / -1 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created 5 years ago by Xgamer99Tips3 comments – viewed 15,119 times – ( +1 / -1 ) – version 1.1
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 3 years ago by realteboTutorials0 comments – viewed 15,110 times – ( +2 / -1 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP รจ avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 4 years ago by ezekielnoobHow-tos6 comments – viewed 15,092 times – ( +5 / -1 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

More security in your applications with Yii and PHPIDS

Created 7 years ago by Rafael GarciaHow-tos1 comment – viewed 14,983 times – ( +8 / -1 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 5 years ago by sebTips0 comments – viewed 14,964 times – ( +1 / -2 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

How to ensure unicity to url

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

Bootstrap Yii cGridView add popup button

Created 3 years ago by Arockia Johnson SRHow-tos6 comments – viewed 14,849 times – ( +4 / -1 ) – version 1.1
Hi,