Closed (fixed)
Project:
Magic Tabs
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2008 at 02:45 UTC
Updated:
27 Jun 2008 at 02:15 UTC
Hi,
There seems to be a problem with how magic_tabs handles the drupal theme function. For example, I am trying to display a users interests tag cloud inside of a tab, using the interest and tagadelic modules respectively. Here is the function i'm using inside of my custom callback:
function dload_profile_tags_tab($uid,$account) {
$result = db_query("SELECT i.counter AS count, t.tid, t.name, t.vid, t.weight FROM {interests} i, {term_data} t WHERE t.tid = i.tid AND i.uid = '%s' ORDER BY t.name DESC", $uid);
$tags = tagadelic_build_weighted_tags($result, $steps = 6);
$output = theme('tagadelic_weighted', $tags);
$output .= '[+]';
return $output;
If I remove the '$output .= '[+]';', inserted to fix the problem, magic_tabs doesn't expand properly to encapsulate the content. I noticed this with views_tagadelic too, so come to think of it, this may be related to the combined use of magic_tabs/tagadelic (or its use of theme()/CSS).
Best regards,
.
Comments
Comment #1
yhager commentedThis looks to me like a CSS issue (otherwise, I cannot see how adding a '[+]' to the display fixes the problem).
Can you create a page that demonstrates the problem and send a link?
If not, try to look at the generated HTML and find the offending CSS definition (e.g. using firebug on firefox).
Comment #2
d0t101101 commentedMy site is under heavy development and not accessible outside of the LAN. I'll dig further into the CSS and will definitely let you know how it goes.
Best regards,
.
Comment #3
d0t101101 commentedThe latest release (v1.1) resolved this,
Thanks!
.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.