How to disable links?
Alex72RM - May 25, 2009 - 09:00
| Project: | Tagadelic |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi everyone,
It should be great if the taxonomy links shown into a tagadelic content can be disabled, to render a static page/block.
Is it possible?

#1
How about this:
/*** theme function that renders the HTML for the tags
* @ingroup themable
*/
function phptemplate_tagadelic_weighted($terms) {
$output = '';
foreach ($terms as $term) {
//output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level$term->weight", 'rel' => 'tag'))) ." \n";
$output .= "<span class=\"tagadelic level$term->weight\">".$term->name."</span>\n";
}
return $output;
}
Place it in your template.php
#2
Is possible in the theme.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.