Showing 1-20 of 86 items.

yii2-app-advanced on single domain (Apache, Nginx)

Created 11 years ago by MadAnd MadAnd, updated 4 years ago by QuPsi QuPsi. 8 comments

If you develop rather complex applications with Yii2, you might already be familiar with yii2-app-advanced application template. Well, the template is awesome and provides high flexibility regarding code/configuration sharing among parts of an application.

4 0
14
Viewed: 160 635 times
Version: 2.0
Category: How-tos

How to add Schema.org markup to Yii2 pages

Created 5 years ago by Gabriel A. López López Gabriel A. López López, updated 5 years ago by Gabriel A. López López Gabriel A. López López. 0 comments

https://schema.org is a markup system that allows to embed structured data on their web pages for use by search engines and other applications. Let's see how to add Schema.org to our pages on Yii2 based websites using JSON-LD.

3 0
3
Viewed: 101 993 times
Version: 2.0
Category: How-tos

Upload files in Yii2 with MongoDb and GridFs

Created 12 years ago by edoardo849 edoardo849, updated 6 years ago by pceuropa pceuropa. 4 comments

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).

6 0
6
Viewed: 44 575 times
Version: 2.0
Category: How-tos

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Created 10 years ago by Wade Shuler Wade Shuler, updated 7 years ago by jwerner jwerner. 3 comments

Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let m...

7 0
6
Viewed: 43 117 times
Version: 2.0
Category: How-tos

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

Created 11 years ago by skworden skworden, updated 8 years ago by Yii3 Yii3. 26 comments

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.

21 0
28
Viewed: 266 071 times
Version: 2.0
Category: How-tos

How to use GridView with AJAX

Created 12 years ago by Antonio Ramirez Antonio Ramirez, updated 8 years ago by CeBe CeBe. 6 comments

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.

10 0
15
Viewed: 94 963 times
Version: 2.0
Category: How-tos