translation_entity: Allows users to translate content entities.
The Translate Entity module is included in Drupal core. It manages content translations.
Translations are managed in sets of posts, which represent the same information in different languages. Only content types for which the administrator has explicitly enabled translations could have translations associated. Translations are managed in sets with exactly one source post per set. The source post is used to translate to different languages, so if the source post is significantly updated, the editor can decide to mark all translations outdated.
The node table stores the values used by this module:
tnid: Integer for the translation set ID, which equals the node ID of the source post.
translate: Integer flag, either indicating that the translation is up to date (0) or needs to be updated (1).
Functions for this api can be found in the api documentation.
Action: Perform tasks on specific events triggered within the system
The Action module is included in Drupal core. When enabled, the Action module can be used for executing stored actions.
Action functions are declared by modules by implementing hook_action_info().
Modules can cause action functions to run by calling actions_do().
Each action function takes two to four arguments:
- - $entity: The object that the action acts on, such as a node, comment, or user
- - $context: Array of additional information about what triggered the action.
- - $a1, $a2: Optional additional information, which can be passed into actions_do() and will be passed along to the action function.
Uses
Users can:
- Information Needed
Site administrators can:
- Information Needed
Issue Queue for 8.x
http://drupal.org/project/issues/drupal?component=action.module&version=8.x
add social link as field in page view
Please let me know if it is possible to add a social share link as a field in a view. I would like to add to each paragraph on this page: http://dev.saainteractive.com/View-from-the-Northwest-Quadrant-Blog
I have tried "Easy Social" and "Share This" modules. Each provides a l set of social links to share the node. But I am trying to put a field in the view so I may have multiple share links on one page. In the above example the link would be at the bottom of each paragraph with the grey background.
Sincerely,
John
Drupal sites can have /node/x/x/xxx... urls
Hi,
I'm not sure if it's the right section to post but... I came across a strange problem. I saw google starting to index my website with urls like /node/45/18 although I have pathauto and global redirect enabled and working.
The global redirect works well with urls like /node/xx, but it stops working with urls like /node/xx/xx. I think drupal should redirect to a 404 error, but no: if you have a page like /node/25 that redirects to /my-nice-page, you can try on your site to go to /node/25/xx and it will show you the content of /my-nice-page.
I tried this issue on several drupal sites. You can, for example try it here:
http://drupal.org/node/10254/ ==> http://drupal.org/node/10254/xx ==> http://drupal.org/node/10254/Whatever/foo
For my website this is a real issue as I don't want search engines to index that kind of urls (btw I don't know how google found urls like /node/number/number/ on my site), so what I did is to Disallow /node/ in robots.txt.
Any help would be greatly appreciated
auto user status change from active to block
Hi
Can anyone help me out finding a solution for the above topic, i need to register a user manually and should have a specific access time for them, i mean to say that i need to change the status from active to block for manually registered user, the context is m gonna migrate my old customers in to my new website, so each of them have different validity,
i have the module role expire but that is not i wanted actually, i dont want to expire role, but need to block the user after the validity period gets over..
thanks in advance
Demote teaser from front page listed in a block
I add a block containing node's teaser list of a content type and wish to demote any node's teaser from front page if the datetime define in node's cck field ($node->field_timestart[0]['view']) has passed. I know very few about php, any suggestion are welcome. Hereunder the php snippet I use in a block.
<?php
$content_type = 'event_pendadaran';
$count = 3;
$result1 = pager_query(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = '$content_type' AND n.status = 1 ORDER BY n.created DESC"),$count);
while ($node=db_fetch_object($result1)) {$output.= node_view(node_load(array('nid'=>$node->nid)),1);}
print $output;
?>