Wiki

Sorted by commentsX
Displaying 531-540 of 718 result(s).

Turn Web HTML Into Newsletter

Created about a year ago by yasenHow-tos1 comment – viewed 7,754 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,982 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,717 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,586 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.

Limit a CGridView field to some preset length.

Created about a year ago by le_topHow-tos1 comment – viewed 8,692 times – ( +12 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 6 months ago by Antonio RamirezHow-tos1 comment – viewed 2,739 times – ( +1 ) – version 2.0
This tutorial is not about allowing users to sign into your application by using any of the OAuth providers available with the official yii2-authclient extension, it is about how to interact with your Twitter account, the one you set for your Yii2 app to promote your site, using the Single Access Token technique.

Make the authentication more securely

Created 6 months ago by KonApazTutorials1 comment – viewed 2,594 times – ( +3 ) – version 1.1
Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

Custom Login Error Messages

Created about a year ago by whoopassTutorials1 comment – viewed 24,640 times – ( +10 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

Open Dialog from ajax content

Created about a year ago by TouzasHow-tos1 comment – viewed 11,991 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

View a related field in CGridView

Created 5 months ago by rafaelt88Tips1 comment – viewed 3,045 times – ( +5 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".