Articles in category "how-tos", sorted by commentsX
Displaying 191-200 of 354 result(s).

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 2 years ago by ruderbytesHow-tos2 comments – viewed 24,518 times – ( +2 / -2 ) – version 1.1
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

Using recaptchlib in your projects

Created 5 years ago by Antonio RamirezHow-tos2 comments – viewed 9,938 times – ( +5 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

HOW TO: Use token based authentication

Created 2 years ago by le_topHow-tos2 comments – viewed 17,415 times – ( +4 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 2 years ago by tophHow-tos2 comments – viewed 31,884 times – ( +1 / -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

Simple Multiple Environment Setup with Default Yii Installation

Created 2 years ago by Ibrar TuriHow-tos2 comments – viewed 6,955 times – ( +4 ) – version 1.1
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

Configuring Yii to run on both Windows and OSX

Created 2 years ago by trondHow-tos2 comments – viewed 4,956 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 2 years ago by Kartik VHow-tos2 comments – viewed 27,489 times – ( +38 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 2 years ago by edoardo849How-tos2 comments – viewed 10,988 times – ( +6 ) – 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.

Simple example for language translation

Created 2 years ago by RKAHow-tos2 comments – viewed 19,457 times – ( +1 ) – version 1.1
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
tags: yii, i18n

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

Created 4 years ago by BoazHow-tos2 comments – viewed 13,365 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.