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

Login Form With email or Whatever

Created about a year ago by nabil abdoualiHow-tos1 comment – viewed 9,893 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Rendering a view file in a console application

Created 3 years ago by TompiHow-tos1 comment – viewed 9,850 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 2 years ago by mistrybHow-tos1 comment – viewed 9,835 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

An important tip when you are using CArrayDataProvider.

Created 3 years ago by sirin kTips0 comments – viewed 9,743 times – ( +8 / -1 ) – version 1.1
Yii ‘s CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “ is not defined”.

Publish yii webapp using Git push

Created 3 years ago by rootbearHow-tos6 comments – viewed 9,677 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

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

Created 4 years ago by pligorHow-tos2 comments – viewed 9,665 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:

Update related models of a model using listBox and checkBoxList in the form

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,651 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

Upload Files to Rackspace Cloud Files CDN

Created 2 years ago by StephenMiracleTutorials0 comments – viewed 9,629 times – ( +2 ) – version 1.1
** I actually made this into an extension for easier use. You can view the extension:

Application-driven database with CDbMigration and an extended CActiveRecord

Created 4 years ago by Tudor IlisoiOthers0 comments – viewed 9,626 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Created about a year ago by kalpitHow-tos2 comments – viewed 9,604 times – ( +2 / -2 ) – version 1.1
Today i want to share with you is "How can we write HTML Code in view files? I am writing this article because many times we can not use CActiveForm to design our form...
tags: views, tutorial