PDA


View Full Version : Bad Clouds: Tag Cloud Glitch


frenchtowner@gm
05-09-2008, 12:12 PM
I am having problems with the tag cloud - popular tags module feature.

On the home page it appears correctly like this:

http://www.frenchtowner.com/m/tags-shot-2.jpg:D

On my other pages, it appears like this:

http://www.frenchtowner.com/m/tags-shot.jpg:confused:


Can anybody help me with this?

FT

Brian
05-09-2008, 01:04 PM
This was pointed out a few days ago I was thinking that the fix for this had already been applied to the download package here, but apparently not. I've just updated the package here with the fix though, so if you will download the files from here again and replace your modules/popular_tags.php file with the updated version then that should take care of the problem.
Or if you would rather apply the fix manually, just look in the file for this line:
$headinclude .= stripslashes(fetch_template('tag_cloud_headinclude'));

And replace with this:
$mods['formcode'] = stripslashes(fetch_template('tag_cloud_headinclude'));

frenchtowner@gm
05-09-2008, 01:19 PM
Brian,

Sorry for my impatience. That worked like a charm and took 2 seconds.

FT

tekguru
06-06-2008, 10:30 AM
Looks like I've got the same issue here, despite having ensured I'm updated with the new module.

Any ideas?

tekguru
06-06-2008, 11:17 AM
I've also checked and the same issue is there with the default theme as well.

Brian
06-06-2008, 01:02 PM
Can you open the modules/poplar_tags.php file from your server and verify that it contains this line?
$mods['formcode'] = stripslashes(fetch_template('tag_cloud_headinclude'));

You also may want to edit the module through the Admin CP and make sure it has the following listed under the Templates Used section:
tag_cloud_box
tag_cloud_headinclude
tag_cloud_link

tekguru
06-06-2008, 03:54 PM
Yep all in there.....

I fixed it in a weird way.......

I gave up on it and came across the wordcloud module, I loaded that but only activated it for Admins.

When I checked the portal the wordcloud module was not visible, but the Tag Cloud had started displaying correctly.

Weird or what!

tormodg
09-22-2008, 06:08 PM
Oops. Found the code.

I already have the correct code. Will check that the modules are loaded.

tormodg
09-22-2008, 06:11 PM
Nope, not working for me.

Brian
09-23-2008, 11:03 AM
Did you double check that those templates are in the Templates used section? They don't appear to be since the CSS for tags is not being executed on your page.

tormodg
09-23-2008, 11:12 AM
Yes I double checked that.

I am trying to figure out exactly when the cloud started to look like it does. It was only a few days ago. I didn't install any hacks or upgrades or anything that I am away of. It's a bit strange, really.

Brian
09-23-2008, 11:28 AM
Hrmm... I'm not sure what else the issue might be, but if you would like to submit a support ticket via the Members' Area here I'll be glad to take a look at things for you.

veenuisthebest
10-10-2008, 01:31 PM
alright... I had the same issue with tag cloud but the solution as described in post #2 solved my problem.

BUT unfortunately, this solution generated XHTML validation issues for me. I always like to keep my site xhtml validated.

Please help me getting these removed.

1. Warning: <style> tag isn't allowed in <td> elements
2. Error: discarding unexpected <form>

Thank you

tekguru
10-10-2008, 03:12 PM
I had that problem myself and was unable to fix it, so in the end stopped using that module.