Downloads
Download tar.gz
18.65 KB
MD5: a4f52bf97426168e6a21a69bc7f85fb8
SHA-1: 6a0e5339947774fd064b014e002419089f30eaac
SHA-256: 95428c993d121185ba5ae2ae32a2e8f5ac42af8304fff2821c9c16a458ee7baf
Download zip
21.08 KB
MD5: 7bc3c913d0749ba6305a22d3ae474628
SHA-1: a11906e88ee57d20625bd188627d3447b0010f9b
SHA-256: 0bd8fd43ef5bc7ad2241afcba46ef51e955d12d46c401fe083bb9ca7b52489a0
Release notes
Enhanced by Doug Green and CivicActions, to include:
- More themable - added theme_delicious_recent and theme_delicious_link.
- Page view - added a "more" link and a page view that shows the tag, description, and link for each delicious link
- Display option - the previous default display was only of the description. You can now display the tag, description, or the link. If you display the tag, the link takes you to your delicious account page for that tag instead of the tagged link.
- Sort option - sort by the number of links or the link date
- hook_delicious - added a hook so that users or tags can be modified before the query. This is useful, if for example, you wanted to limit the block to display the tags that match the current node's taxonomy terms. See example in 195401
- Tagadelic Support - the number of links are now displayed (when greater than 1). The theme function now receive a count so that you could theoretically turn the tag view of tagadelic like display... although this will require some theming.
function example_delicious($op, &$items) {
if ($op == 'tags') {
switch (arg(0)) {
case 'node':
$tags = array();
if (($nid = arg(1)) && !arg(2)) {
$node = node_load($nid);
foreach ($node->taxonomy as $tid => $term) {
$tags[$term->name] = $term->name;
}
}
return $tags;
case 'search':
$query = search_parse_query(search_get_keys());
return $query[3];
}
}
}