Wiki

Sorted by viewsX
Displaying 391-400 of 786 result(s).

What to do when composer fails to update your vendor packages?

Created 3 years ago by Kartik VTutorials0 comments – viewed 20,596 times – ( +39 / -6 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 6 years ago by Antonio RamirezTutorials2 comments – viewed 20,541 times – ( +12 / -2 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Created 5 years ago by skwordenHow-tos4 comments – viewed 20,499 times – ( +4 / -2 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

How to use Highslide for image popups

Created 8 years ago by mocapapaTutorials0 comments – viewed 20,459 times – ( +1 / -1 ) – version 1.1
You can download the highslide javascript from http://highslide.com/. And here is an explanation on that URL;
tags: image, popups

Simple Way to Upload and Save File

Created 3 years ago by Misbahul D MunirTutorials0 comments – viewed 20,377 times – ( -3 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

Simple way to implement Dynamic Tabular Inputs

Created 2 years ago by ezekielnoobTutorials5 comments – viewed 20,262 times – ( +4 / -1 ) – version all

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Created about a year ago by Amjad KhanTutorials3 comments – viewed 20,145 times – ( +5 / -1 ) – version 2.0
Following is the table structure

Simple Web APIs for your Yii App

Created 3 years ago by shivHow-tos4 comments – viewed 20,102 times – ( +2 / -3 ) – version 1.1
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This mixed approach saves lot of time on server side. We not really need to handle actual REST requests and still be able to exchange data between web and mobiles or ajax java-scripts or even node.js.
tags: API, JSON

Log Activity in DataBase

Created 4 years ago by mahdi1986Tutorials7 comments – viewed 20,053 times – ( +8 / -1 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

How to setup FCKeditor

Created 8 years ago by krillzipTutorials2 comments – viewed 20,042 times – ( +3 / -2 ) – version 1.1
To start with you need to download the latest stable release of FCKeditor. Extract the downloaded file and place the fckeditor/ folder in your applications webroot directory.