Posted by aaronbauman on October 14, 2009 at 6:06pm
1 follower
| Project: | |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | aaronbauman |
| Status: | needs review |
Issue Summary
function twitter_content_extra_fields adds the twitter fieldset to the admin > content > content types > type name > manage fields form ( admin/content/node-type/type name/fields , "content_field_overview_form").
When content module is enabled, this patch gives the site admin the ability to reposition the twitter fieldset on the node add/edit form.
Tested with 6.x-3.x and 6.x-2.x
| Attachment | Size |
|---|---|
| twitter.module-content_extra_fields.patch | 785 bytes |
Comments
#1
This does apply to the 3.x branch, however it does not really pertain to it because there is no field on a content type in 3.x to send a post. It can be done through actions, but there is no field in which your function can apply itself to.
+++ twitter/twitter.module (working copy)@@ -140,6 +140,24 @@
+ $twitter_types = variable_get('twitter_types', array());
Grepping through the module, 3.x branch, there isn't anywhere that this variable is ever set.
Moving it to 2.x as you say it applies there, but I have not tested 2.x
#2
The node-specific functionality moved to twitter_post.module and the variable name changed from "twitter_types" to "twitter_post_types"
The OP is still applicable to 2.x.
Please find 3.x patch attached.
#3
BTW: The variable name is still wrong in 6.x-3.0-beta9
#4
over 2 years later... here's an updated patch.