From 85410c96591a4c78733a11d5453c06c5ac015898 Mon Sep 17 00:00:00 2001 From: Christian Seel Date: Mon, 16 Apr 2012 01:58:43 +0300 Subject: [PATCH] Update readme.md --- readme.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 93d50c2..c9841c8 100644 --- a/readme.md +++ b/readme.md @@ -11,11 +11,16 @@ I welcome people taking this addon and customizing it to their needs. A pull req 1. Copy the contents of the snippet file (fblikes.snippet.php) from github 2. Go to your MODX Revolution Manager, create a new snippet, paste the content from your clipboard and save it -3. Open a resource or chunk (or wherever you want to display your fan number) and add the snippet call - [[!fbLikes? &pageid=`19110642979` &expiretime=`10030`]] +3. Open a resource or chunk (or wherever you want to display your fan number) and add the snippet call: + ```[[!fbLikes? &pageid=`19110642979` &expiretime=`10800`]]``` -# Developed by -**chsmedien** -Christian Seel -E-Mail: hello@chsmedien.com -Website: www.chsmedien.com \ No newline at end of file +## Parameters + +* pageid - the id of your facebook fanpage (username is also possible) +* expiretime - lifetime of the cache in seconds (default 10800, 3 hours) + +## Developed by +**chsmedien** +Christian Seel +E-Mail: hello@chsmedien.com +Website: www.chsmedien.com \ No newline at end of file