Wiki articles in category Tutorials

Showing 121-140 of 264 items.

Save or Update Multiple related model values in one Tabular input form

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

1 0
1 follower
Viewed: 40 105 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

Created 10 years ago by nineinchnick, updated 5 years ago by samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
24 followers
Viewed: 40 320 times
Version: 1.1
Category: Tutorials

Front-end developer's guide

Created 12 years ago by jonah, updated 12 years ago by waitekk.

This wiki is a work in progress.

10 0
19 followers
Viewed: 40 573 times
Version: 1.1
Category: Tutorials

List with multiple checkbox

Created 13 years ago by matkaz, updated 13 years ago by matkaz.

It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted

4 0
8 followers
Viewed: 40 634 times
Version: 1.1
Category: Tutorials
Tags:

Starting your Yii Project Reference Guide (with Git VCS in Linux)

Created 12 years ago by marcanuy, updated 12 years ago by marcanuy.

I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

16 0
12 followers
Viewed: 41 210 times
Version: 1.1
Category: Tutorials

Eclipse PDT - code-hints, references and other goodies

Created 15 years ago by mindeh, updated 13 years ago by Woil.

Since PHP is dynamically typed language, the way IDE may help you is limited.

14 0
6 followers
Viewed: 41 217 times
Version: 1.1
Category: Tutorials
Tags: IDE

Optimize Scenarios for yii2

Created 7 years ago by AndroideLP, updated 4 years ago by AndroideLP.

Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

4 0
2 followers
Viewed: 41 932 times
Version: 2.0
Category: Tutorials

How to filter data using a dropdown list?

Created 15 years ago by qiang, updated 11 years ago by Yang He.

A dropdown list can be used to select a value, based on which we can filter the data to be displayed. For example, the extension page has a dropdown list to filter the displayed extensions according to the selected category.

7 0
6 followers
Viewed: 41 955 times
Version: 1.1
Category: Tutorials
Tags:

How to display static pages in Yii with database content?

Created 11 years ago by yasen, updated 11 years ago by yasen.

To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

3 0
13 followers
Viewed: 42 295 times
Version: 1.1
Category: Tutorials

Serve jQuery and jQuery-UI from Google's CDN

Created 12 years ago by Yeti, updated 11 years ago by fad.

There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

14 0
17 followers
Viewed: 42 617 times
Version: 1.1
Category: Tutorials

Implementing a WebDAV server using SabreDAV

Created 10 years ago by nineinchnick, updated 10 years ago by nineinchnick.

This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

5 0
8 followers
Viewed: 42 711 times
Version: Unknown (update)
Category: Tutorials

Tabular Input, Validating and Saving related models

Created 10 years ago by Xavier John, updated 9 years ago by hasanavi.

This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

4 0
16 followers
Viewed: 42 826 times
Version: 1.1
Category: Tutorials

How to use default layout for error pages instead of errorXXX views

Created 14 years ago by idle sign, updated 11 years ago by Yang He.

The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

4 0
3 followers
Viewed: 43 052 times
Version: 1.1
Category: Tutorials
Tags:

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 11 years ago by bluezed, updated 11 years ago by bluezed.

Inspired by it I extended the CButtonColumn class like this:

5 0
7 followers
Viewed: 43 367 times
Version: 1.1
Category: Tutorials

Ajax Login form with validation errors inside jQuery modal dialog

Created 10 years ago by pravi, updated 9 years ago by Maxxer.

I would like to share my little experience with Yii to the community in the form of the below small wiki:

3 0
9 followers
Viewed: 44 638 times
Version: 1.1
Category: Tutorials

I18n subdomains and url-rules

Created 14 years ago by Y!!, updated 13 years ago by atrandafir.

This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)

7 0
17 followers
Viewed: 45 241 times
Version: 1.1
Category: Tutorials
Tags: i18n, URL

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 13 years ago by Yeti, updated 13 years ago by Trejder.

Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL...

2 0
1 follower
Viewed: 45 714 times
Version: 1.1
Category: Tutorials
Tags:

Simple access control

Created 11 years ago by szfjozsef, updated 11 years ago by szfjozsef.

For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

3 7
10 followers
Viewed: 46 099 times
Version: 1.1
Category: Tutorials

Email template functionality with manage content from database

Created 10 years ago by kiran sharma, updated 9 years ago by yugene.

I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)

4 0
12 followers
Viewed: 47 191 times
Version: 1.1
Category: Tutorials

CSS Naming Conventions

Created 13 years ago by qiang, updated 5 years ago by samdark.

In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

35 0
24 followers
Viewed: 48 480 times
Version: 1.1
Category: Tutorials