Wiki

Sorted by commentsX
Displaying 521-530 of 715 result(s).

Configuring different sessions for backend and frontend in Yii advanced app

Created 6 months ago by Kartik VHow-tos1 comment – viewed 4,147 times – ( +33 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

MigrateCommand class for multiple sites using one code base

Created about a year ago by Hudson NguyenHow-tos1 comment – viewed 3,051 times – ( +1 ) – version 1.1
My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

Check online users / set specific user offline

Created 6 months ago by KonApazHow-tos1 comment – viewed 2,465 times – ( +4 ) – version 1.1
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that

A simple action for XUpload extension

Created 3 years ago by tydeas_drTips1 comment – viewed 13,164 times – ( +3 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

Yii2 and Pdf files with Mpdf

Created 6 months ago by CTalaHow-tos1 comment – viewed 3,074 times – ( +3 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Turn Web HTML Into Newsletter

Created about a year ago by yasenHow-tos1 comment – viewed 7,629 times – ( +8 ) – version 1.1
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

Logout CSRF Protection

Created 3 years ago by Rodrigo CoelhoTutorials1 comment – viewed 13,822 times – ( +10 ) – version 1.1
CSRF is the acronymn for Cross-site request forgery. It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

Using Bootstrap with LESS

Created about a year ago by Chris83How-tos1 comment – viewed 35,363 times – ( +14 ) – version 1.1
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.

config Use MS SQL SERVER 2005 2008.

Created 3 years ago by vcxz_1982Tutorials1 comment – viewed 37,032 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

PHPStorm & NetBeans autocomplete problem

Created about a year ago by StagelineTips1 comment – viewed 8,352 times – ( +22 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.