Wiki articles

Showing 1-20 of 802 items.

Change default date format in Oracle

Created 29 days ago by lenovo, updated 26 days ago by samdark.

Default date format in Oracle is DD-MON-RR (25-JAN-18). With that output, we can't using date formatting.

0 0
2 followers
Viewed: 1 530 times
Version: 2.0
Category: How-tos
Tags: database

Move sources to src

Created a month ago by samdark, updated a month ago by samdark.

Yii 3 and many Yii 2 package sources are contained within src directory which is convenient since you have less directories to check.

8 0
4 followers
Viewed: 2 117 times
Version: 2.0
Category: How-tos

Using rights extension with different table and column name

Created 5 years ago by Ibrar Turi, updated 5 years ago by Ibrar Turi.

Once you have installed and configured the rights extension in your application, you can change the table name from 'User' to any table name you want and similarly for 'username' column to any other column name.

0 0
2 followers
Viewed: 4 466 times
Version: 1.1
Category: How-tos

MigrateCommand class for multiple sites using one code base

Created 6 years ago by Hudson Nguyen, updated 6 years ago by Hudson Nguyen.

My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

0 0
2 followers
Viewed: 4 739 times
Version: 1.1
Category: How-tos
Tags:

DB Driven CMenu (Widget)

Created 5 years ago by Preacher, updated 5 years ago by Preacher.

Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:

1 0
1 follower
Viewed: 4 822 times
Version: 1.1
Category: Tutorials

Profiling user requests

Created 5 years ago by M0ka, updated 5 years ago by M0ka.

How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.

1 0
3 followers
Viewed: 5 115 times
Version: 1.1
Category: Tutorials

Things to Consider when application hosting on AppFog

Created 4 years ago by VINAY Kr. SHARMA, updated 4 years ago by VINAY Kr. SHARMA.

I faced many issues when hosted our company website on AppFog.

1 0
1 follower
Viewed: 5 379 times
Version: 1.1
Category: Tips

Analyse the server's USER-AGENT against browsecap file to determine it's capability.

Created 4 years ago by Deepak Pradhan, updated 4 years ago by Deepak Pradhan.

Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini

0 0
0 follower
Viewed: 5 503 times
Version: 2.0
Category: Tips

Yii v2 snippet guide

Created 26 days ago by rackycz, updated a day ago by rackycz.

Please note, that this article will be updated regularly as I have more and more snippets so come back in a few weeks

2 0
1 follower
Viewed: 5 649 times
Version: 2.0
Category: Tutorials

Find geolocation info of client through another API

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

This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)

1 0
2 followers
Viewed: 5 802 times
Version: 1.1
Category: How-tos

Database Driven CMenu

Created 5 years ago by Preacher, updated 5 years ago by CeBe.

Purpose

0 0
4 followers
Viewed: 5 852 times
Version: 1.1
Category: Tutorials
Tags:

Where to implement knowledge about the addresses of the controller?

Created 5 years ago by Petr.Grishin, updated 5 years ago by Petr.Grishin.

Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

1 0
2 followers
Viewed: 5 936 times
Version: 1.1
Category: Tutorials

Provide SVG when the browser supports it, else PNG (using CHtml::image overload)

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

Modern browsers support SVG, older browsers do not. This replacement for CHtml::image() allows you to handle to propose SVG in an efficient way with PNG as a fallback.

1 0
1 follower
Viewed: 6 172 times
Version: 1.1
Category: Tips

Image Puzzle Game

Created 5 years ago by nachi, updated 5 years ago by CeBe.

I have developed a extension for a image puzzle game. You can use your own images and you can also customize how many rows and columns for the image. It can be used in commercial sites. I just needed your thoughts on the game.

2 0
4 followers
Viewed: 6 337 times
Version: 1.1
Category: Others
Tags: game, image, puzzle

Nested Set with Yii2

Created 6 months ago by sangprabo, updated 6 months ago by sangprabo.

The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is speci...

5 0
3 followers
Viewed: 6 430 times
Version: 2.0
Category: Tutorials

How to limit number of guest page views

Created 5 years ago by PeRoChAk, updated 5 years ago by CeBe.

In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.

2 0
5 followers
Viewed: 6 513 times
Version: 1.1
Category: How-tos

Use non Gmail/Gsuite on Gcloud projects

Created a year ago by Luis Armando, updated a year ago by Maurizio Domba Cerin.

Small companies and startups use cheap email services or even Cpanel's mail services which are less secure and compete directly with bigger email providers like Microsoft with Outlook and Google with Gmail. This creates a problem when you try to use their services to send/receive emails from this cheap services. <img width="750" src="https://static.techspot.com/fileshost/newspics3/2017/google-clo...

0 0
3 followers
Viewed: 6 669 times
Version: 2.0
Category: How-tos

Help pages using Markdown view renderer

Created 6 years ago by nineinchnick, updated 6 years ago by nineinchnick.

This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

0 0
4 followers
Viewed: 6 705 times
Version: Unknown (update)
Category: Tutorials

make chart from custome queries using amcharts widget

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

Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

0 0
3 followers
Viewed: 6 782 times
Version: Unknown (update)
Category: How-tos

thumbsgen and Kohana Image Library together (extends an extension)

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

In this wiki I will show you how to extends an extension and/or how can two or more extensions work together.

1 0
1 follower
Viewed: 6 783 times
Version: Unknown (update)
Category: How-tos