Wiki

Sorted by viewsX
Displaying 291-300 of 750 result(s).

How to render a view in Fancybox using ajax

Created 2 years ago by rix.rix.How-tos1 comment – viewed 19,508 times – ( +7 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Handling Bootstrap active tabs in Yii via URL

Created 2 years ago by JamesBarnsleyHow-tos6 comments – viewed 19,430 times – ( +7 ) – version 1.1
As a lead developer at Mutable Labs I found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

Increasing AR performance in connections with Oracle

Created 4 years ago by TrejderHow-tos10 comments – viewed 19,383 times – ( +1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Using CJuiDialog to display flash Messages in Dialogues

Created 4 years ago by thyseusTutorials2 comments – viewed 19,239 times – ( +11 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

CGridView and AjaxForm Connect

Created 4 years ago by PinkBrainPlanHow-tos2 comments – viewed 19,085 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

how to make a dynamic progress bar to show the percentage or status

Created about a year ago by hehbhehbHow-tos1 comment – viewed 18,944 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

Configuring CWebLogRoute for DB profiling

Created 3 years ago by Igor IvanovicTutorials1 comment – viewed 18,916 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Yii 2 list of path aliases available with default basic and advanced app.

Created about a year ago by Kartik VTips1 comment – viewed 18,819 times – ( +41 / -5 ) – version 2.0
If you are coming over from Yii 1.x to Yii 2, and already read this guide, you may note that namespaces are very important in Yii 2 to identify classes. But do you know the list of seeded path aliases that come shipped with a basic or advanced app? Here is my attempt to list them.

How to setup CKeditor

Created 2 years ago by Dark-SunTutorials4 comments – viewed 18,750 times – ( +3 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Multilanguage web site controlling by get request and database allowed languages

Created 3 years ago by Igor IvanovicTutorials2 comments – viewed 18,631 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.