Wiki

Sorted by ratingX
Displaying 311-320 of 777 result(s).

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 4 years ago by LuizTips1 comment – viewed 15,503 times – ( +7 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

How to render a view in Fancybox using ajax

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

Custom Number Formatting or Decimal Separators and i18n

Created 4 years ago by c@cbaTutorials8 comments – viewed 51,423 times – ( +7 ) – version 1.1
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

"Why do I get a 403 error when trying to use Gii?"

Created 5 years ago by Steve FriedlFAQs3 comments – viewed 59,971 times – ( +7 ) – version 1.1
After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:
tags: Gii, config

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 4 years ago by rAWTAZHow-tos0 comments – viewed 34,912 times – ( +7 ) – version 1.1
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

Elementary introduction to using jQuery ajax and the yii framework

Created 4 years ago by dhimesHow-tos4 comments – viewed 36,790 times – ( +7 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

Update CGridview row separately using ajax request

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos9 comments – viewed 13,792 times – ( +7 ) – version 1.1
There are cases you want to update a record on CGridview directly

Yii2 and Pdf files with Mpdf

Created 2 years ago by CTalaHow-tos2 comments – viewed 13,448 times – ( +7 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Handling Bootstrap active tabs in Yii via URL

Created 3 years ago by JamesBarnsleyHow-tos17 comments – viewed 25,326 times – ( +7 ) – version 1.1
I (www.jamesbarnsley.com) 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.

Using Pear Mail Mail_Mime and Mail_Queue

Created 5 years ago by LorenHow-tos2 comments – viewed 10,964 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.