Wiki

Sorted by viewsX
Displaying 571-580 of 692 result(s).

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created about a year ago by aarondfrancisTutorials1 comment – viewed 3,596 times – ( +7 )
Hello everybody.
tags: heroku, assets

More on SSE and Yii

Created about a year ago by FirebreakerTips3 comments – viewed 3,568 times – ( +2 )
This is not actually Yii involved.

Select2 Infinite Scroll With Remote Data in Yii

Created 5 months ago by amanationHow-tos5 comments – viewed 3,561 times – ( +4 ) – version 1.1
I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

Patching PHP code (used as a library) without changing the original code!

Created about a year ago by le_topTips0 comments – viewed 3,555 times – ( +4 ) – version 1.1
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article Redefine PHP class methods or class giving me a head start to do what I wanted: patching third party code without touching the original to allow easy upgrades.
tags: patch, patching

Localized version of CFormatter

Created about a year ago by marcovtwoutHow-tos2 comments – viewed 3,545 times – ( +3 ) – version 1.1
Since Yii 1.1.14, a CLocalizedFormatter is available.

Forcing login for all pages using CBehavior

Created 2 months ago by Rohit SutharTutorials3 comments – viewed 3,533 times – ( +4 / -6 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

Update specific cgridview html row after AJAX request

Created 4 months ago by KonApazHow-tos3 comments – viewed 3,524 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

How to apply a layout to an AJAX update

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

Displaying uploaded file from DB for update with FileInput widget

Created 4 months ago by Kartik VHow-tos0 comments – viewed 3,513 times – ( +30 / -5 ) – version 2.0
This is for folks who are using \kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?

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

Created 4 months ago by Kartik VTips0 comments – viewed 3,512 times – ( +30 / -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.