- Yii needs a grid that you can edit inline - maybe jqgrid for version 2?
- The listData->groupField works nicely on dropDownLists, but it would be nice it it worked on checkBoxLists and radioButtonLists too (displaying the category name and indenting associated controls)
- No concurrency control. It would be nice in Gii if it could generate models that saved the original record values, as well as using them to check for concurrency when saving.
- Easier to use some of the new HTML 5 controls, like "search"
- Built-in basic search on lists (much like on grids)
- Easier tabular input
- When you do ajax on a grid (sort or page), it reloads the whole page, finds the grid content, and replaces itself. This is a little inefficient ;) . It would be better if Gii could split the grids out to separate partial views.
- Yii seems to get confused sometimes when you have nested JQuery UI controls
- It would be better if the built-in Blueprint theme was mobile-friendly out of the box, and by that I mean side by side columns that collapse on top of each other on small width screens, perhaps switch to the 1140 grid system.
- use superfish on multi-level menus out' the box
- ZeroClipboard, jQuery WYSIWYG editor, and fullcalendar support out' the box.
- phpMailer, a flash/html5/silverlight multi-uploader, vcard, pdf, ics support out' the box
Thursday, April 28, 2011
Yii » Missing Features
This will be an ongoing list. Check back in the future.
Labels:
missing features,
php,
yii
Sunday, April 17, 2011
How to hide the url address bar on a web page on Blackberry
Here's how to minimize the url address bar in a web page on a blackberry (blackberry 6 anyways).
Put this script at the bottom of the page, or call it ondocumentready:
if(navigator.userAgent.toLowerCase().indexOf('blackberry')>0)window.scrollTo(0,40);
It causes the browser to scroll down 40 pixels, which essentially makes the browser bar hide itself.
Put this script at the bottom of the page, or call it ondocumentready:
if(navigator.userAgent.toLowerCase().indexOf('blackberry')>0)window.scrollTo(0,40);
It causes the browser to scroll down 40 pixels, which essentially makes the browser bar hide itself.
Labels:
blackberry,
mobile web
Tuesday, April 12, 2011
How to make vCard QR Codes that are compatible with iPhone, Android and Blackberry
I've been working on a web page where you can scan a company's vCard easily on your smartphone and have it saved to your contact list. It's definitely a pain in the ass. Here is a sample QR code with a vCard in it:

Here are some tips:
Here are some tips:
- use the Image Chart Editor on Google Code - you have to look for the QR Code chart in the gallery. Basically, you send it a URL with the vCard in the querystring and it sends back a QR Code image. Don't forget to url-encode your querystring.
- You don't need to email a vCard to iPhone, it can read them directly from a QR Code with the right app.
- I tried a few different QR Code readers for iPhone and most of them sucked at parsing vCards. The best that i found was Qrafter, and it's free.
- I used Barcode Scanner on Android.
- Android didn't want to accept a URL, so I put it in the NOTE as well. Any tips?
- With Blackberry 6, use AppWorld, hit the menu, then choose Scan a barcode.
- Blackberry can't read vCards directly from a QR Code, but you can qr-code a URL that returns a vCard. You'll want to send back this PHP header: header("Content-type:text/x-vcard");
Young, bored, and know Java? Please write a decent QR code reader for blackberry :)
Here is a vCard that I tested with Windows 7, Blackberry 6, iPhone 4 and Android 2.3.3
Subscribe to:
Posts (Atom)