Wiki

Sorted by viewsX
Displaying 431-440 of 766 result(s).

Simple Web APIs for your Yii App

Created 2 years ago by shivHow-tos4 comments – viewed 13,564 times – ( +2 / -2 ) – version 1.1
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This mixed approach saves lot of time on server side. We not really need to handle actual REST requests and still be able to exchange data between web and mobiles or ajax java-scripts or even node.js.
tags: API, JSON

YouTube API v2.0 – Browser-based Uploading

Created 3 years ago by VaibhavHow-tos1 comment – viewed 13,498 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,444 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

Using Google Maps in Yii Applications via Jquery

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

Managing constants easily

Created 4 years ago by briiC.lvTips4 comments – viewed 13,392 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.

YII SaaS Multi Tenant application with single database

Created 2 years ago by Rajith RTutorials5 comments – viewed 13,391 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created 2 years ago by Ankit ModiTips0 comments – viewed 13,353 times – ( +3 ) – version 1.1
Hi Friends,

Visualization tree-multi subcategories as listbox or dropdownlist

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

Adding a link to a CDataColumn

Created 2 years ago by le_topTips6 comments – viewed 13,247 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

Insert a multirow header in CGridView

Created 2 years ago by PeppeHow-tos2 comments – viewed 13,199 times – ( +6 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.