jadb / apple_touch
CakePHP Apple Touch Plugin
Installs: 177
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=5.3.0
- composer/installers: *
This package is auto-updated.
Last update: 2024-11-28 01:59:11 UTC
README
Support Safari on iOS by allowing some customization to the Apple Touch UI.
TODO
- Quick and easy conditional CSS block.
- Simplify calls to
getCurrentPosition
andwatchPosition
. - Support
autocapitalize
andautocorrect
form attributes. - Support client data-storing.
Installation
> git submodule add git://github.com/jadb/cakephp-appletouch.git Plugin/AppleTouch
Configuration
Load the plugin in bootstrap.php
:
Plugin::load('AppleTouch');
Add the AppleTouch.AppleTouch
helper to the controller(s) where you will be using it.
public $helpers = array('AppleTouch.AppleTouch');
Call it from the view as follow:
$this->AppleTouch->viewport();
Patches & Features
- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches