PDA

View Full Version : Tag Cloug Help!


stevendavid
08-05-2007, 12:24 PM
Hey guys... I really suck at programming, so I hope one of you can help me.
I'm running PP 1.6.0 and I can't manage to get WARCHIVES to work properly, so I decided to try the META_CATEGORIES ADDON instead, but Most viewed, Last viewed, and Tag Cloud won't work properly.
Strangely though, the other two are fine (Most commented/last
commented), which leads me to believe I installed it properly. I am only interested in the tag cloud feature for my browse template.

Have any idea what I could do to fix this? Also, the Warchive addon doesn't yield any data although I'm using the tag properly. Maybe it's a problem with MySQL. This
is a link to the meta template on my site:
http://stevendavid.eu/index.php?x=meta&z=lastcomm If you could help me
out, I would really appreciate it!

PHP-version 4.3.11 (Pixelpost's min requirement: PHP version: 4.3.0 )
Session save path /tmp
MySQL version 4.0.27-max-log (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.28 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache

Thanks,

Steven David

Dennis
08-05-2007, 03:32 PM
Pixelpost has its own tagcloud features as of version 1.6. Have a look at the documentation in the docs folder.

stevendavid
08-05-2007, 04:30 PM
Thanks for the response schonhose! I feel that I'm one step closer of achieving exactly what I want. Although I can now get a category list, how can I make the font size correspond with number of images in that category?

Dennis
08-05-2007, 04:52 PM
categories are not tags :D

http://docs.dwilkinsjr.com/1.6.0/tags.html#other

<TAG_LINKS_AS_LIST> Tag links as a text list for default PP's archive page
<TAG_LINKS_AS_LIST_PAGED> Tag links as a text list for page-by-page archive
<TAG_IMG_LIST> List of tags for showed image
<TAG_IMG_LIST_PAGED> List of tags for showed image


See also my page, it has a tagcloud in front which is standard Pixelpost functions.

stevendavid
08-05-2007, 08:42 PM
schonhose...thanks for your help! I managed to get it work wonderfully!.. I really appreciate your time. ALSO, do you know how to eliminate the picture count from appearing?

Dennis
08-06-2007, 05:20 AM
what do you mean by picture count? In the URL or in the template?

stevendavid
08-06-2007, 08:14 AM
Thanks again for helping me out. I was referring to the picture count users see. I can't say for sure if it's the template or url, but let me give you an example; on your site one sees: antiek (8) Belgie (5) bloem (7) brand (1) close_up (8) dieren (11) diversen (7) Duitsland (10). How can change the addon so that I see ony:antiek Belgie bloem brand close_up dieren diversen Duitsland ??? Hence no (picture count)? Thanks for your time!

Dennis
08-06-2007, 08:50 AM
Ok the tagcloud.. uhm, as far as I remember it requires some hacking of the core files. I'll get back to you on that one.

stevendavid
08-06-2007, 11:18 AM
Alright... This is definitely something I'm not good at! Thanks again! -Steven

Dennis
08-06-2007, 05:49 PM
As promised: open in your addons folder the paged_archive.php file with an ASCII editor (NOT MS Word).

look for the line:

$tags_output .= '<a href="index.php?x=browse&amp;tag='.$tag.'" class="tags'.$rank[0].$rank[2].'">'.$tag.'&nbsp;('.$cnt.')</a> ';


replace with:

$tags_output .= '<a href="index.php?x=browse&amp;tag='.$tag.'" class="tags'.$rank[0].$rank[2].'">'.$tag.'</a> ';

stevendavid
08-07-2007, 12:32 PM
THANKS!!!! You're the man! and again, I really appreciate your time!

Dennis
08-07-2007, 01:46 PM
I'm considering making it an option. I'll have to discuss it first though.

kristarella
12-12-2007, 10:09 PM
I'm considering making it an option. I'll have to discuss it first though.

I would be cool as an option. This thread really helped though. Thanks!