Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 21-30 of 355 result(s).

How to use YiiBooster TbFileUpload widget

Created 4 years ago by Antonio RamirezHow-tos15 comments – viewed 44,590 times – ( +11 / -1 ) – version 1.1
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.

AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Created 4 years ago by drumaddictHow-tos15 comments – viewed 83,569 times – ( +21 / -1 ) – version 1.1
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 2 years ago by skwordenHow-tos14 comments – viewed 123,179 times – ( +27 / -1 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

Searching and Sorting by Count of Related Items in CGridView

Created 5 years ago by softarkHow-tos14 comments – viewed 45,234 times – ( +32 / -1 ) – version 1.1
Let's say we have two models and relation between them:

How to use PHPExcel external library with Yii

Created 6 years ago by Antonio RamirezHow-tos14 comments – viewed 99,218 times – ( +30 / -2 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Increasing AR performance in connections with Oracle

Created 6 years ago by TrejderHow-tos14 comments – viewed 25,389 times – ( +2 / -1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Create your own Validation Rule

Created 6 years ago by nickcvHow-tos14 comments – viewed 196,839 times – ( +76 / -4 ) – version 1.1
Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.

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

Created 2 years ago by raminiousHow-tos14 comments – viewed 81,040 times – ( +18 / -1 ) – 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)

Actions code reuse with CAction

Created 6 years ago by Antonio RamirezHow-tos13 comments – viewed 41,945 times – ( +36 / -1 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Yii User and Rights Implementation

Created 3 years ago by Rajith RHow-tos12 comments – viewed 27,288 times – ( +7 / -8 ) – version 1.1
implementing some features of yii user and rights.