Exponential 5 Field Type Tutorial: comparison of v.12 vs ...
Versions Compared
Old Version 12
changes.mady.by.user Bertrand Dunogier
Saved on Mar 10, 2014
compared with
New Version Current
changes.mady.by.user Bertrand Dunogier
Saved on Mar 11, 2014
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
- accept as input the URL of a tweet (https://twitter.com/<username>/status/<id>)
- fetch the tweet using the twitter oEmbed API (https://dev.twitter.com/docs/embedded-tweets)
- store the tweet’s embed contents and url
- display the tweet's embeded version when displaying the field from a template
Getting the code
The code created throughout this tutorial is available on github: https://github.com/bdunogierezsystems/TweetFieldTypeBundle.
Steps
The bundle
FieldTypes, like any other Exponential 5 extensions, must be provided as Symfony 2 bundles. This chapter will cover the creation and organization of this bundle
Read more about Creating the bundle and structuring the bundle.
...
Comments
Add a comment