Wiki articles

Showing 241-260 of 822 items.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 10 years ago by Kartik V, updated 6 years ago by CeBe.

An example of customizing the Yii GridView is mentioned here. You can easily override Bootstrap or other styling defaults by changing the GridView default options.

4 2
39 followers
Viewed: 55 634 times
Version: 2.0
Category: How-tos

Ativando temas no Zii Widgets

Created 13 years ago by Ivan Wilhelm, updated 13 years ago by Ivan Wilhelm.

Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

4 2
4 followers
Viewed: 12 351 times
Version: 1.1
Category: Tutorials

How to setup FCKeditor

Created 15 years ago by krillzip, updated 11 years ago by Dark-Sun.

Next to do is to download the Yii FCKeditor extension, created by Ascomae. Extract the downloaded file, and place the fckeditor/ widget folder in your web applications protected/extensions/ directory.

3 1
5 followers
Viewed: 30 939 times
Version: 1.1
Category: Tutorials
Tags:

How to send email via Gmail SMTP in Yii2 framework

Created 2 years ago by Bartosz Wójcik, updated 2 years ago by Bartosz Wójcik.

One of my sites has been flooded with spam bots and as a result - Gmail gave my mailing domain a bad score and I couldn't send emails to @gmail addresses anymore, not from my email, not from my system, not from any of other domains and websites I host...

3 1
4 followers
Viewed: 80 346 times
Version: 2.0
Category: How-tos

A very easy way to setup yiic on WAMP server (without extra windows settings)

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

Assuming that you have already install the wampserver on your windows.

3 1
4 followers
Viewed: 51 195 times
Version: 1.1
Category: Tutorials

How to access a component of a module from within the module itself

Created 15 years ago by OriginalCopy, updated 11 years ago by Roman Solomatin.

The Yii documentation states:

3 1
7 followers
Viewed: 59 845 times
Version: 1.1
Category: Tutorials
Tags: module

Adding login form to each page

Created 14 years ago by pestaa, updated 11 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 49 441 times
Version: 1.1
Category: Tutorials

Caching strategy

Created 10 years ago by darkheir, updated 10 years ago by CeBe.

Note: Before reading this wiki you should have read the caching part in the Yii guide

3 1
12 followers
Viewed: 11 795 times
Version: 1.1
Category: How-tos

How to hide `index` action from URL

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

Here is my experiment inspired by my own question and others from the forum.

3 1
9 followers
Viewed: 24 663 times
Version: 1.1
Category: How-tos
Tags: index

ChromePHP for Yii

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

ChromePHP is a console logging extension for Google Chrome.

3 1
4 followers
Viewed: 18 296 times
Version: 1.1
Category: Tips

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

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

I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

3 1
6 followers
Viewed: 31 148 times
Version: 1.1
Category: How-tos

Twitter Bootstrap style Breadcrumbs

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

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 53 917 times
Version: 1.1
Category: How-tos

Using CJuiDialog to edit rows in a CGridView

Created 12 years ago by Russell England, updated 12 years ago by Russell England.

I used Zaccarias excellent article as the base http://www.yiiframework.com/wiki/145/cjuidialog-for-create-new-model/

Solution

First follow the wiki above to create all the required code. Then make the following modifications in your...

3 1
11 followers
Viewed: 41 368 times
Version: 1.1
Category: Tips

Open Dialog from ajax content

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

This is the code in the View.

<?php echo CHtml::link('MyDialog', Yii::app()->createUrl('site/page'), array('class' => 'openDlg divDialog')); ?>
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array('id'=>'divDialog',
	'options'=>array( 'title'=>Yii::t('Dialog Title', 'autoOpen'=>false, 'modal'=>true, 'width'=>600)));
?>
	<div class="divForForm"></div>
<?php
$this->endWidget(...
3 1
5 followers
Viewed: 24 266 times
Version: 1.1
Category: How-tos

Shrink Yii, help your IDE and speed up copying

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

yii-1.1.8.r3324 framework directory is 10.4 mb size.

9 8
16 followers
Viewed: 14 084 times
Version: 1.1
Category: Tips

How to add Schema.org markup to Yii2 pages

Created 3 years ago by Gabriel A. López López, updated 3 years ago by Gabriel A. López López.

https://schema.org is a markup system that allows to embed structured data on their web pages for use by search engines and other applications. Let's see how to add Schema.org to our pages on Yii2 based websites using JSON-LD.

2 0
3 followers
Viewed: 49 949 times
Version: 2.0
Category: How-tos

Yii Rights Management Tips

Created 9 years ago by Rajith R, updated 9 years ago by Rajith R.

yii rights some tips..

2 0
4 followers
Viewed: 13 245 times
Version: 1.1
Category: Tips

How to setup yiic on WAMP (XP/Vista)

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

This page assumes that you have installed Wampserver on your MS Windows computer.

2 0
5 followers
Viewed: 93 697 times
Version: 1.1
Category: Tutorials
Tags:

Search a file size range in CGridView

Created 10 years ago by CrazyCat, updated 10 years ago by CrazyCat.
  1. Create an Active Record Behavior that builds the criteria for the search() method and attach it to your model
  2. Modify the search() method of the model to merge the behavior's criteria in with the rest of the searchable attributes
2 0
2 followers
Viewed: 11 691 times
Version: Unknown (update)
Category: Tips