Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Smarty block function plugin to link to Google Play apps store.
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/Smarty/plugin
tests
.gitignore
.travis.yml
README.md
phpunit.xml

README.md

smarty-plugin-block-android-market

master: Build Status develop: Build Status

Smarty block function plugin to link to Google Play apps store.

Synopsis

Link to app detail

{android_market app="com.example"}Example App{/android_market}

<a href="https://play.google.com/store/apps/details?id=com.example">Example App</a>

Link to developer detail

{android_market developer="example-developer"}Example Developer{/android_market}

<a href="https://play.google.com/store/apps/developer?id=example-developer">Example Developer</a>

Link to search result

{android_market search="some words"}Some Words{/android_market}

<a href="https://play.google.com/store/search?q=some%20words">Some Words</a>

Add HTML attributes

{android_market app="com.example" id="foo" data_text="Bar & Baz"}Example App{/android_market}

<a href="https://play.google.com/store/apps/details?id=com.example" id="foo" data-text="Bar &amp; Baz">Example App</a>

Author

Yuya Takeyama http://yuyat.jp/

Something went wrong with that request. Please try again.