Wiki articles

Showing 121-140 of 823 items.

Using Yii Gallery Manager in your Yii 1.x application

Created 10 years ago by Trejder, updated 10 years ago by Trejder.

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1 follower
Viewed: 16 743 times
Version: 1.1
Category: How-tos

Make the authentication more securely

Created 11 years ago by Kostas Apazidis (KonApaz), updated 11 years ago by Kostas Apazidis (KonApaz).

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

2 0
3 followers
Viewed: 16 836 times
Version: 1.1
Category: Tutorials

Insert data from database to another database table

Created 11 years ago by Kostas Apazidis (KonApaz), updated 11 years ago by Kostas Apazidis (KonApaz).

According to below wiki we could migrate database schema to another database

1 0
2 followers
Viewed: 16 972 times
Version: 1.1
Category: Tutorials

Selecting best language based on Browser language and available languages.

Created 10 years ago by le_top, updated 10 years ago by le_top.

Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

2 0
1 follower
Viewed: 16 989 times
Version: 1.1
Category: Tips

Integrating Yii3 packages into WordPress

Created a year ago by Gabriel A. López López, updated a year ago by Gabriel A. López López.

I was recently assigned with the task of integrating several extensive forms into a WordPress website. These forms comprised numerous fields, intricate validation rules, dynamic fields (one to many relationships) and even interdependencies, where employing PHP inheritance could mitigate code duplication.

1 0
1 follower
Viewed: 17 073 times
Version: 3.0
Category: How-tos

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 12 years ago by sirin k, updated 8 years ago by Maurizio Domba Cerin.

hello,

 This article is helpful only if you have the following situation:
 A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out  out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
4 0
6 followers
Viewed: 17 114 times
Version: 1.1
Category: Tips
Tags: facebook, user

Make theme and layout option in your site

Created 11 years ago by Narender Negi, updated 11 years ago by trond.

Here i am writing code how to add option of theme change and layout change in your website.

0 0
4 followers
Viewed: 17 152 times
Version: Unknown (update)
Category: How-tos
Tags: layouts, theme

Application-driven database with CDbMigration and an extended CActiveRecord

Created 13 years ago by Tudor Ilisoi, updated 13 years ago by Tudor Ilisoi.

This is an incipient implementation of application-driven database with Yii.

8 0
10 followers
Viewed: 17 245 times
Version: 1.1
Category: Others

Customize your Growl/Alert msg easy and quickly

Created 10 years ago by Scott_Huang, updated 10 years ago by Scott_Huang.

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 17 316 times
Version: 2.0
Category: Tips

How to Display tooltp(qtip) on CGridview dynamic

Created 11 years ago by Ankit Modi, updated 11 years ago by softark.

Hi Friends,

0 0
4 followers
Viewed: 17 332 times
Version: Unknown (update)
Category: Tips

Syncing sessions between Yii and KCFinder

Created 12 years ago by Thanasis Fotis, updated 11 years ago by Boaz.

>Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If t...

1 0
6 followers
Viewed: 17 484 times
Version: 1.1
Category: How-tos

Themed translations (i18n)

Created 10 years ago by le_top, updated 10 years ago by le_top.

When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

1 0
1 follower
Viewed: 17 503 times
Version: 1.1
Category: How-tos

Disallowing login for INACTIVE users in Yii

Created 11 years ago by Rohit Suthar, updated 11 years ago by Rohit Suthar.

In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

1 0
3 followers
Viewed: 17 503 times
Version: 1.1
Category: Tutorials

Ordering Models by Weight with CJuiSortable

Created 15 years ago by Matt Kelliher, updated 12 years ago by Phil Loaiza.

In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

9 0
10 followers
Viewed: 17 536 times
Version: 1.1
Category: Tutorials
Tags:

Turn Web HTML Into Newsletter

Created 12 years ago by yasen, updated 12 years ago by yasen.

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.

6 0
9 followers
Viewed: 17 633 times
Version: 1.1
Category: How-tos

ISA hierarchy of tables inside a database and how to implement a single form

Created 14 years ago by pligor, updated 13 years ago by pligor.

Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench: ![MySQL workbench screenshot](http://s4.postimage.org/4tuwkm43d/Screenshot.pn...

1 0
3 followers
Viewed: 17 655 times
Version: 1.1
Category: How-tos

Active Record snapshotting (Model data base history)

Created 10 years ago by Bizley, updated 10 years ago by Bizley.

One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

1 0
5 followers
Viewed: 17 718 times
Version: 1.1
Category: Tutorials

Handling recursive deletion in Yii

Created 12 years ago by JamesBarnsley, updated 9 years ago by JamesBarnsley.

I www.jamesbarnsley.com was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

3 0
5 followers
Viewed: 17 785 times
Version: 1.1
Category: How-tos

Language Selector

Created 9 years ago by Programmer Thailand, updated 9 years ago by Programmer Thailand.

common\components\LanguageSelector.php

<?php
namespace common\components;

2 0
6 followers
Viewed: 17 806 times
Version: 2.0
Category: Tutorials

Simple Google Maps object for use with ajax maps

Created 9 years ago by Chris Backhouse, updated 9 years ago by Chris Backhouse.

The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.

0 0
3 followers
Viewed: 17 825 times
Version: 2.0
Category: How-tos