Wiki

Displaying 131-140 of 705 result(s).

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 8 months ago by Kartik VHow-tos2 comments – viewed 5,980 times – ( +27 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

CGridView customized CCheckBoxColumn

Created 8 months ago by chandranTips2 comments – viewed 5,272 times – ( +5 ) – version 1.1
Hi friends,

Configuring Yii to run on both Windows and OSX

Created 8 months ago by trondHow-tos2 comments – viewed 2,630 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

Upload image and content using AJAX and Store it in different table

Created 8 months ago by SelvakumarHow-tos1 comment – viewed 21,479 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

How to apply a layout to an AJAX update

Created 8 months ago by trondHow-tos1 comment – viewed 3,833 times – ( +1 ) – version 1.1
The template system in Yii is quite flexible. By default you have three layers of content:
tags: AJAX, views

Upload files in Yii2 with MongoDb and GridFs

Created 8 months ago by edoardo849How-tos2 comments – viewed 7,042 times – ( +7 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 8 months ago by Kartik VTutorials19 comments – viewed 16,310 times – ( +34 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

How to implement magento cron on yii

Created 8 months ago by Ankit ModiHow-tos0 comments – viewed 2,652 times – version 1.1
Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

Saving CGridView filter

Created 8 months ago by sefburhanTutorials5 comments – viewed 4,288 times – ( +27 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

Integrate Zend 2 XML writer into Yii

Created 8 months ago by JonnyTutorials0 comments – viewed 2,579 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML