Wiki

Sorted by ratingX
Displaying 371-380 of 704 result(s).

How to "masquerade" a non-required form element as 'required' one (in the view only)

Created 2 years ago by BoazHow-tos2 comments – viewed 8,524 times – ( +7 / -1 ) – version 1.1
In a nutshell, the task at hand is to mark (or render) a model attribute in the typical "_form.php" view file with the 'required' red asterisk while this attribute is not marked as required in the model's rule() method. If you're interested only in the solution, jump ahead to the 'solution' section below.

Yii registry, how to use it, does it exist at all?

Created 3 years ago by dckurushinHow-tos2 comments – viewed 18,037 times – ( +7 / -1 ) – version 1.1
From time to time people ask about registry...

How to include Javascript, CSS

Created about a year ago by InterboyHow-tos2 comments – viewed 297,214 times – ( +9 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Date Picker by examples

Created about a year ago by InterboyHow-tos5 comments – viewed 43,516 times – ( +9 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Saving files to a blob field in the database

Created 3 years ago by zaccariaTips8 comments – viewed 41,690 times – ( +9 / -2 ) – version 1.1
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
tags: File upload

Simple Mail Queue

Created about a year ago by waterloomattTutorials1 comment – viewed 8,307 times – ( +9 / -2 )
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

Installing Yii Users and Rights to Newly Created Yii app

Created about a year ago by Rajith RTutorials25 comments – viewed 58,754 times – ( +22 / -10 ) – version 1.1
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

Windows Web Development With AMPPS, NetBeans and XDebug

Created 3 years ago by macinvilleTutorials1 comment – viewed 19,523 times – ( +4 ) – version 1.1
This article will discuss how to setup your web development environment with the following specifications:

How to hide index.php on nginx

Created 5 years ago by milesTutorials3 comments – viewed 40,098 times – ( +4 ) – version 1.1
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created about a year ago by codesutraTutorials11 comments – viewed 27,338 times – ( +4 ) – version 1.1
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.