I have written a module that adds the Extendy (www.extendy.com) widget toolbar to a Drupal site. From their site: "Extendy lets visitors share their favorite pages, search your content, view your latest tweets and blog posts, connect with you across social networks, and more."
The module accepts an API key, which in turn fetches "campaign id and name" from extendy.com and adds some js to the Drupal site to invoke the toolbar. Further configury of the Extendy toolbar (colors, styles, which widgets to expose, etc) is done at extendy.com.
I am in communication with a principal at InSeconds (the dev shop for extendy) about their API plans to ensure my implementation methods will be supported moving forward. I'd really like permission to add extendy.module to the contrib repos and help our community adopt this as easily as the WordPress community has done using the vendor-supplied WP plugin.
Thanks!/BF
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | extendy.tar_.gz | 10.6 KB | fending |
Comments
Comment #1
fending commentedFirst module submission - please be gentle! :)
Comment #2
avpadernoComment #3
avpadernoIf you are going to unconditionally include the file, then it is better to merge the two files.
Menu callback titles, and descriptions should not be passed to
t()because that is already done by Drupal core code.Avoid to escape the delimiter inside a string that needs to be translated; if the URL is not translated with a different language, then you should use a placeholder.
If you want to disable a form field, Drupal uses a different method.
If you need to be sure a value requested with a form will be returned there is an easier way that requires you to write a single line of code.
Part of that code is already executed from the submission function added from
system_settings_form().That message is shown to all the users, including who cannot administer the site, and change the settings as reported. Such messages should be shown only to users with the right permissions; other people don't need to know what the administer users needs to do.
If the installation function just show a message like that, then you can remove it.
Comment #4
avpadernoThere have not been replies from the OP in the past 7 days. I am marking this report as .