Wiki

Articles in category "how-tos"X
Displaying 31-40 of 183 result(s).

TimeZone dropDown

Created 5 months ago by Tibor KatelbachHow-tos0 comments – viewed 3,200 times – ( +1 )
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Load the Yii-Bootstrap Extension on Specific Actions

Created 5 months ago by chuntleyHow-tos5 comments – viewed 6,322 times – ( +8 )
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter

PayPal Integration And IPN (Instant Payment Notification)

Created 5 months ago by yasenHow-tos3 comments – viewed 5,513 times – ( +7 )
Had to implement PayPal payments for a client and would like to share part of my code with you. Because the tutorial will become too long, I'll leave some code to be done by you, e.g. creating models, controllers and db tables for products, orders.

CKEditor Integration (includes steps for file uploads) - Step by Step

Created 5 months ago by shulmeHow-tos2 comments – viewed 8,086 times – ( +9 )
Hey guys, I'm hoping other people will find this helpful. Today I went through the process of adding CKEditor to one of my projects, and then integrating KCFinder as the image uploader. It will be used in a CActiveForm, without the use of any crazy weird widgets. All paths are relative, using Yii functions, so this will work no matter where you install. Here it is:

MigrateCommand class for multiple sites using one code base

Created 5 months ago by Hudson NguyenHow-tos1 comment – viewed 2,008 times – ( +1 )
My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

How to use YiiBooster TbFileUpload widget

Created 5 months ago by Antonio RamirezHow-tos7 comments – viewed 9,298 times – ( +7 )
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

Multilanguage Lorem Ipsum Text Generator

Created 5 months ago by yasenHow-tos0 comments – viewed 2,421 times – ( +2 )
Taking futher the idea from Piotr Masełkowski - http://www.yiiframework.com/extension/elipsum/ here's how to generate multilanguage Lorem Ipsum text. This example uses English and Bulgarian sample paragraphs. Create a class in /protected/components/LoremIpsum.php. Wall of text incoming wohoo...

How to use YiiBooster Bootstrap Gallery

Created 5 months ago by Antonio RamirezHow-tos1 comment – viewed 8,035 times – ( +4 )
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

Syncing sessions between Yii and KCFinder

Created 6 months ago by Thanasis FotisHow-tos5 comments – viewed 2,640 times – ( +1 )
I have been trying to find information on how to sync the sessions between Yii and KCFinder so that the two applications can "communicate" with each other. I managed to find some bits and pieces on the correct approach to use, but not a definite guide or concrete code.

Create sitemap.xml file dynamically on root folder with one hit

Created 6 months ago by kiran sharmaHow-tos1 comment – viewed 3,966 times – ( +4 / -1 )
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML