PDA

View Full Version : Addon: Tag Browser


kevincrafts
11-20-2007, 03:27 PM
This addon gives an alternate display to the tag cloud, and doesn't take up a lot of space if you use a lot of tags. It groups the tags alphabetically and displays them as you click on the letters.

Install: put it in the addons folder

Use: put the <TAG_BROWSER> tag in a template and style it the way you want it.

Download: http://www.pixelpost.org/extend/addons/tag-browser-addon/download/

Live Demo: http://blog.kevincrafts.com/index.php?x=browse&pagenum=1

Dennis
11-20-2007, 04:33 PM
Really nice addon :D A job well done!

Dkozikowski
11-20-2007, 07:20 PM
I saw this a few weeks ago and was going to contact you about it. Thanks for sharing!

iHamad
11-21-2007, 06:25 AM
amazing addon .. thanks alot .!!

GeoS
11-23-2007, 06:34 PM
Really cool :)

kevincrafts
11-24-2007, 01:13 AM
If you've added this addon in your pixelpost site, please list your url - I am interested to see how it is implemented in other designs.

Rafotograf
11-26-2007, 09:22 PM
I have added Tag Browser Addon im my site http://foto.rafotograf.net . I like it but in my site with two languages it does't function correctly. My first language is polish & second - english. In archiwe page i can choose only tags in polish.
What did I made wrong?
The tags in "Details" are showed properly.

kevincrafts
11-26-2007, 11:34 PM
I updated the addon and in my limited testing it seems to work ok - Can you install it and see if it is working with the multiple languages for you?

Thanks!

Rafotograf
11-27-2007, 06:52 AM
Thank You for your quick reaction :)
Now when I change my site into english, there aren't polish tags but english tags are shown only when they are in first position in "tags" table in database - see screenshot table "tags" (http://foto.rafotograf.net/index.php?showimage=14)

I check table "categories" in my database & see that polish & english names are in the same line table "categories" (http://foto.rafotograf.net/index.php?showimage=15)
When I change language (when I'm showing "Archives") the adequate name of category is shown.
The tags are in other lines.
Maybe there is bug in pixelpost engine?

kevincrafts
11-27-2007, 12:00 PM
I can't replicate what you have shown in your screen shot. I've tried different ways of adding tags and I can't get them to show up as the same entry in the database. I did manually edit the database so I could have them on the same line. Even with I forced it I can see the first and alternative language tags when I wish between languages. Since I have usually just made addons for myself, I hadn't really thought about the other languages when I wrote this, so if any of the other developers have any thoughts on this I would appreciate it.

Dkozikowski
11-27-2007, 12:12 PM
I'm not exactly sure what's happening here, nor did I install the addon. But looking at your queries real quick,


if ($language_abr == $default_language_abr) {
$query = "select tag from ".$pixelpost_db_prefix."tags group by tag order by tag";
} else {
$query = "select alt_tag from ".$pixelpost_db_prefix."tags group by tag order by alt_tag";
}


Shouldn't you group the second query by alt_tag?

Rafotograf
11-27-2007, 12:28 PM
I can't replicate what you have shown in your screen shot. I've tried different ways of adding tags and I can't get them to show up as the same entry in the database. I did manually edit the database so I could have them on the same line. Even with I forced it I can see the first and alternative language tags when I wish between languages.
Sorry, that You spend Your time to replicate my screenshot - I don't want to receive this. I did only want to show, that if the name of the tag in alternative lang is in first line it is shown in tag browser.
Maybe this fact will be helpfull.
I've not wrote earlier: "the tag "dim_light" I was wrote by myself in database for test".

English isn't my native language & it is difficult to me to tell exactly what I mean.

Since I have usually just made addons for myself, I hadn't really thought about the other languages when I wrote this, so if any of the other developers have any thoughts on this I would appreciate it.
That is why I would like to thank you for your interest to my problem.

Thank You once more

Rafotograf
11-27-2007, 12:44 PM
Shouldn't you group the second query by alt_tag?

Yeeees !!!
Thats it. Works great!

I can't implement the PHP code here, sorry :(

Thank You dwilkinsjr

kevincrafts
11-27-2007, 03:04 PM
Thanks! fixed and updated.

iHamad
01-08-2008, 09:32 AM
hi ..
i changed my template .. and i dont know why im getting the tag browser as bullet list ..
it used to be working fine as small boxes as shown in your website ..

iHamad
01-08-2008, 09:39 AM
Sorry ..
i think i solved it ..
it was something wrong with my CSS ..

GLart
03-07-2008, 08:44 AM
Is exceptional the possibility the Flash slideshow,

But I face a problem while I installed regularly all my files, it presents titles but don’t presents the photographs, what can happen ?

GLart
03-07-2008, 08:53 AM
Ok… I found and resolved the problem, looking more carefully.
They needed him fix in imagelist.php the right location.