Wiki

Sorted by date (updated)X
Displaying 21-30 of 706 result(s).

how to make a dynamic progress bar to show the percentage or status

Updated 26 days ago by BoazHow-tos1 comment – viewed 15,098 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

How to Setting Layouts in Yii

Updated 29 days ago by ruderbytesHow-tos2 comments – viewed 39,323 times – ( +2 / -5 ) – version 1.1
usually someone confused to make layouts in yii.

How to hide /frontend/web in url addresses on apache

Updated about a month ago by raminiousHow-tos8 comments – viewed 25,338 times – ( +9 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

MongoDB's RBAC support class extending BaseManager

Updated about a month ago by edoardo849How-tos1 comment – viewed 1,890 times – version 2.0
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in common\components and modify your params.php file like this:
tags: mongodb, rbac, yii2

How-To: Create a REST API

Updated about a month ago by Rohit SutharHow-tos54 comments – viewed 224,311 times – ( +107 / -1 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Updated about a month ago by SmitheshHow-tos0 comments – viewed 2,119 times – ( +2 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

How to use GridView with AJAX

Updated about a month ago by YiiJekaHow-tos1 comment – viewed 6,340 times – ( +6 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Updated about a month ago by Kartik VTips5 comments – viewed 7,258 times – ( +28 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

Yii for beginners 2

Updated about a month ago by rackyczTutorials2 comments – viewed 36,494 times – ( +29 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

embedded javascript block in your view with IDE checking or intellisense

Updated about a month ago by yiqing95Tips0 comments – viewed 1,708 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file: