Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 101-110 of 182 result(s).

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 8 months ago by rAWTAZHow-tos0 comments – viewed 9,069 times – ( +5 )
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 8 months ago by dhimesHow-tos4 comments – viewed 12,038 times – ( +5 )
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

Additional form data with XUpload

Created 7 months ago by AsgarothHow-tos5 comments – viewed 9,969 times – ( +5 )
In this article you'll learn how to send additional form data when uploading files using XUpload widget

Handling Bootstrap active tabs in Yii via URL

Created 4 months ago by JamesBarnsleyHow-tos4 comments – viewed 4,932 times – ( +5 )
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.

Turn Web HTML Into Newsletter

Created 3 months ago by yasenHow-tos0 comments – viewed 3,813 times – ( +5 )
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

How to use EzComponents in Yii

Created about a year ago by EhsanjsHow-tos0 comments – viewed 5,720 times – ( +5 )
change your index.php

Using Grunt for deploying client scripts

Created 2 months ago by Chris83How-tos8 comments – viewed 3,192 times – ( +5 )
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.

Storing your images in your table's blob field and displaying that stored images.

Created about a year ago by sirin kHow-tos5 comments – viewed 10,797 times – ( +8 / -1 )
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Include Yii framework in a Joomla module

Created 2 years ago by zaccariaHow-tos6 comments – viewed 13,012 times – ( +7 / -1 )
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

How to obtain a grammatically correct translation of the model name in giix-generated view files

Created about a year ago by c@cbaHow-tos0 comments – viewed 4,939 times – ( +4 )
The giix code generator has out of the box i18n support for model names and attribute labels (besides other cool features > check it out!) . But I want to factor in not only the plural form, but also the grammatical cases (especially the accusative) while translating 'Manage Objects', 'Create Object', 'Edit Object' etc.