Sorted by viewsX
Displaying 421-430 of 761 result(s).

How to make customizable Db Table prefixes using ActiveRecord

Created 6 years ago by killermonkTutorials0 comments – viewed 13,407 times – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

adding class and links to Ctreeview node

Created 4 years ago by bingjie2680Tips2 comments – viewed 13,391 times – ( +4 ) – version 1.1
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

Upload files in Yii2 with MongoDb and GridFs

Created about a year ago by edoardo849How-tos3 comments – viewed 13,154 times – ( +8 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

YouTube API v2.0 – Browser-based Uploading

Created 3 years ago by VaibhavHow-tos1 comment – viewed 13,113 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

Create sitemap.xml file dynamically on root folder with one hit

Created 3 years ago by kiran sharmaHow-tos1 comment – viewed 13,043 times – ( +5 / -5 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

Upload CSV File

Created 2 years ago by bhavesh vaghelaTutorials2 comments – viewed 13,017 times – ( +7 ) – version 1.1
View file

Using MBMenu and Rights to automatically create menu item for your modules

Created 4 years ago by dinhtrungTips2 comments – viewed 12,933 times – ( +1 / -1 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

Visualization tree-multi subcategories as listbox or dropdownlist

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 12,925 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

Managing constants easily

Created 3 years ago by briiC.lvTips4 comments – viewed 12,897 times – ( +4 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

Using Google Maps in Yii Applications via Jquery

Created 2 years ago by bluyellHow-tos2 comments – viewed 12,890 times – ( +2 / -1 ) – version 1.1