Sorted by ratingX
Displaying 71-80 of 784 result(s).

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

Created 3 years ago by Kartik VTutorials1 comment – viewed 49,523 times – ( +37 / -2 ) – version 2.0
The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

Organize directories for applications with front-end and back-end

Created 8 years ago by qiangTutorials10 comments – viewed 77,410 times – ( +28 / -1 ) – version 1.1
Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing directories of the code for both ends.

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-tos18 comments – viewed 133,905 times – ( +28 / -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.

Adding Yii Search to Your Browser Search Box

Created 6 years ago by qiangTips1 comment – viewed 44,774 times – ( +28 / -1 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search

URL component access functions

Created 6 years ago by Steve FriedlTips1 comment – viewed 13,420 times – ( +28 / -1 ) – version 1.1
Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.
tags: URL, request

An easy way to display a success page using flash messages

Created 6 years ago by qiangTips2 comments – viewed 40,951 times – ( +28 / -1 ) – version 1.1
We often need to display a success page after the user has submitted a form without problem. We may show some welcome message after a user registers a new account. There are many ways to implement this workflow. In this article, I will explain a method that exploits flash messages.

How to use an application behavior to maintain runtime configuration

Created 6 years ago by zaccariaHow-tos3 comments – viewed 32,552 times – ( +28 / -1 ) – version 1.1
In this tutorial will be explained a method to manage some configuration runtime. This excellent tutorial follows a similar approach, but requires to write a masterclass which all controllers are supposed to extend, following this wiki you can achieve the same by only editing the configuration.

Simple RBAC

Created 5 years ago by hasanaviTutorials17 comments – viewed 91,726 times – ( +50 / -4 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

CSS Naming Conventions

Created 6 years ago by qiangTutorials4 comments – viewed 32,814 times – ( +35 / -2 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

How to add ajax-loading indicators

Created 8 years ago by schmunkTutorials5 comments – viewed 57,277 times – ( +27 / -1 ) – version 1.1
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
tags: AJAX