Wiki

Sorted by date (updated)X
Displaying 61-70 of 718 result(s).

Yii for beginners 2

Updated 2 months ago by rackyczTutorials2 comments – viewed 38,044 times – ( +29 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

embedded javascript block in your view with IDE checking or intellisense

Updated 2 months ago by yiqing95Tips0 comments – viewed 1,960 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file:

Check users online, user last activity, user last ip

Updated 3 months ago by frazelliHow-tos3 comments – viewed 3,028 times – ( +1 ) – version 1.1
DbHttpSession

How to translate and do the translations the easy way

Updated 3 months ago by Roman SolomatinHow-tos3 comments – viewed 47,881 times – ( +27 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.
tags: i18n

A simple way to get Yii client-side form validation run when submitting by ajax

Updated 3 months ago by nlacTutorials5 comments – viewed 30,526 times – ( +6 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Add Beautiful Radio/Checkbox Buttons To Grid

Updated 3 months ago by Rohit SutharHow-tos1 comment – viewed 15,745 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

How to get & store Last Login DateTime in database?

Updated 3 months ago by Rohit SutharHow-tos2 comments – viewed 3,207 times – ( +7 ) – 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).

Translation from .txt file

Updated 3 months ago by Yatin MistryTutorials6 comments – viewed 2,024 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

[Updated] How to create & call custom global function in whole application?

Updated 3 months ago by Rohit SutharTutorials8 comments – viewed 3,444 times – ( +5 / -2 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Insert a multirow header in CGridView

Updated 3 months ago by PeppeHow-tos2 comments – viewed 9,864 times – ( +5 ) – 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.