Please add your contribution to the Downloads section. Thanks.
Please add your contribution to the Downloads section. Thanks.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Hi Ken & TheOracle,
Thanks for your interest. Sorry for the delay, but you can now find a screen shot of the tag cloud along with a link to the live site where it is implemented (if somewhat roughly) on my beautiful web log.
TheOracle, I was a little lost about your CSS comment. When I view the css file all seem like text. Could you please elaborate.
I would love to hear some suggestions for further developments to assist me in setting priorities.
Cheers,
Nathan
-- -- -- -- -- -- -- -- -- --
TRAVEL PHOTOGRAPHY, THAT DOESN'T COST THE EARTH!
-- -- -- -- -- -- -- -- -- --
Online Photo Showcase :: http://lightfootphotos.com
Blog :: http://madteckhead.com
Hi Nathan,
I have been fooling around with your tag cloud addition to Zen-Cart and have some recommendations for the HTML/CSS output:
--- zentagcloud.php ---
- I'd get rid of the entities on line 156 and add padding to the elements via CSS instead
- For some unknown reason I get an empty link right at the beginning. I inserted a quick fix to prevent this from happening on line 154:
PHP Code:if ($returnType == "html" & $value['tag'] != "")
- As the Wikipedia definition says, a Tag Cloud is a weighted list. So I recommend using the HTML unordered-list element for output on lines 156 & 159.
The changes I described are included in the attachment as an example, feel free to use them if you want.
Thank you for the funky contribution! Nicolas
Nice mod, I don't think I'll use it tho. BTW, your site was extremely slow for me, you may want to fix that.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
How to limit the numbers of the tags show?
I notice if not control the tags numbers , the web will get mass with thousand of tags together.
Kind Regards,
Im totally stumped with how to limit the number of tags that are displayed.
I would ideally like it to fit into a box roughly 200x200 px.
Can anyone help me ?!?
The mod came from http://www.madteckhead.com/blog/zentagcloud
and I read all the posts in the zen forum here :?
Thanks
Andreja
Did you figure out how to do this? I need to limit to show only 20 random tags.
I tried this below in zentagcloud_func.php, but didn't work. Still shows all tags.
Code:function zen_get_metatags_keywords1($product_id, $language_id) { global $db; $product = $db->Execute("select metatags_keywords from " . TABLE_META_TAGS_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "' LIMIT 20"); return $product->fields['metatags_keywords']; }