gapple / drupal-twitterfield Goto Github PK
View Code? Open in Web Editor NEWDrupal module to store Twitter usernames, hashes, or search strings in a CCK field
Drupal module to store Twitter usernames, hashes, or search strings in a CCK field
Description ----------- This project aims to solve a common problem of displaying a twitter widget for a specified username, that has been noted in various places, but never properly developed. The module (currently Drupal 7 only, but could easily be backported) implements a custom field formatter that takes the contents of a generic Text Field, attached to a Node, and treats it like a Twitter Username. It then provides a default template file (twitter-field-widget.tpl.php) That can be overridden in your module, with the code generated after you configure a Twitter Profile Widget and click the "Finish & Grab code" button at Twitter.com. The default template provided by this module implements the Twitter Profile widget, with a basic color scheme. You may override the default template in your theme to use the custom code generated by the Profile widget generator, and may work with the Twitter search widget or the Twitter faves widget as well. Unfortunately, the Twitter List Widget requires knowledge of at least two pieces of information (user-name, and list-name) and so it is currently not possible to override this widget type. Todo ---- A planned enhancement would be to create a completely custom field type, which would allow for storage of two fields as one (needed for the Twitter List Widget implementation), but for now, we're piggybacking off of the simple text field type. Usage ----- 1) Download and enable the module as usual. 2) Create a text field called "Twitter ID" on one of your content types, with a max length of for example 30 characters. 3) Change the display format from "Default" to "Twitter Widget". 4) Profit! Credits ------- This module was used in combination with a custom view, to build our individual profile pages at Bluesparklabs.com. The initial module development sponsored by Bluespark Labs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.