Skip to content

Commit

Permalink
Documentation and first release
Browse files Browse the repository at this point in the history
  • Loading branch information
nitriques committed Jan 29, 2014
1 parent 8735974 commit e89ab3d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 28 deletions.
66 changes: 40 additions & 26 deletions README.md
@@ -1,26 +1,40 @@
# Remote Select Box #

Version: 1.0



### REQUIREMENTS ###

- Symphony CMS version 2.3.3 and up (as of the day of the last release of this extension)

### INSTALLATION ###

- `git clone` / download and unpack the tarball file
- Put into the extension directory
- Enable/install just like any other extension

See <http://getsymphony.com/learn/tasks/view/install-an-extension/>

*Voila !*

Come say hi! -> <http://www.deuxhuithuit.com/>

### HOW TO USE ###

- Add a Remote Select Box field to your section.
- ...
# Remote Select Box #

Version: 1.0

This extension provides a simple combo box field that uses values from a remote source, via ajax.

### REQUIREMENTS ###

- Symphony CMS version 2.3.3 and up (as of the day of the last release of this extension)

### INSTALLATION ###

- `git clone` / download and unpack the tarball file
- Put into the extension directory
- Enable/install just like any other extension

See <http://getsymphony.com/learn/tasks/view/install-an-extension/>

*Voila !*

Come say hi! -> <http://www.deuxhuithuit.com/>

### HOW TO USE ###

- Add a Remote Select Box field to your section.
- Set the `data url` options with a valid url
- This url must return an array of JSON objects
- Those object must have a `value` and a `text` member, i.e.
````js
[{"value":"the saved value","text":"the text the user sees"}, {...}]
````
- You can use XMLHttpRequest friendly external sources or even a frontend page as your data source.

### KNOWN LIMITATIONS ###

- When updating an entry, the value will be deleted if it can't find it in the datasource or if the datasource is broken.
- Only the value is saved, not the text.
- Only the value is displayed in the table view

If you feel that this is wrong, do no hesitate to fork an improve it!
4 changes: 2 additions & 2 deletions extension.meta.xml
Expand Up @@ -2,7 +2,7 @@
<extension id="remote_selectbox" status="experimental" xmlns="http://symphony-cms.com/schemas/extension/1.0">
<name>Field: Remote Select Box</name>
<description>

This extension provides a simple combo box field that uses values from a remote source, via ajax.
</description>
<repo type="github">https://github.com/DeuxHuitHuit/remote_selectbox</repo>
<url type="discuss">https://github.com/DeuxHuitHuit/remote_selectbox/issues</url>
Expand All @@ -22,7 +22,7 @@
<!-- None -->
</dependencies>
<releases>
<release version="0.1" date="2013-01-28" min="2.3.3">
<release version="1.0" date="2013-01-29" min="2.3.3">
- First release
</release>
</releases>
Expand Down

0 comments on commit e89ab3d

Please sign in to comment.