

Clickable Tags v1.1
<10kB. Updated 2020-03-22. Only supports Anki 2.1.x.
The author has shared 3 other item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.22+ (updated 2020-03-22)
To download this add-on, please copy and paste the following code into Anki 2.1:
380714095
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.
Reviews

People who are downvoting should understand that this review section is not for bug reporting, it should be reported on github instead. Great work author.

2.1.35 not working

Nothing happens when I click on the tag! Though the cursor shape changes when I hover, but when I click, nothing happens. When I click twice, it shows the pop up dictionary...

Thank you!

Awesome add-on!
I started using tags because of this add on :)
I started using tags because of this add on :)

March 23, 2020: This add-on works great, but with the V10 update, it is now showing an error code anytime I try to update it "error downloading 380714095: invalid code or add-on not available ."
Is this because of the switch to clickable tags 2.0?
March 30/2020 UPDATE: I didn't realize that anki released a new updated version of anki. Once I updated, clickable tags started working.
Is this because of the switch to clickable tags 2.0?
March 30/2020 UPDATE: I didn't realize that anki released a new updated version of anki. Once I updated, clickable tags started working.

Same as below

Ya not working for me (same with the person below me)

EDIT:
Thanks to the guy that posted the fix for 2.1.22
##
Great, thank you.
I had to add quotes around tags for it to work.
If someone else is havin this issue:
Simply replace
this line (n°31):
browser.setFilter('tag:%s' % tag)
whith this one
browser.setFilter('"tag:%s"' % tag)
Thanks to the guy that posted the fix for 2.1.22
##
Great, thank you.
I had to add quotes around tags for it to work.
If someone else is havin this issue:
Simply replace
this line (n°31):
browser.setFilter('tag:%s' % tag)
whith this one
browser.setFilter('"tag:%s"' % tag)

guys anyone on anki 2.1.20 just copy the code here -> https://github.com/ankitects/anki-addons/blob/master/demos/porting_clickable_tags/__init__.py
then paste it in place of the old code of your __init__.py file of the addon.
In your card's template put {{clickable:Tags}} instead of {{Tags}}. I tried it, it works.
then paste it in place of the old code of your __init__.py file of the addon.
In your card's template put {{clickable:Tags}} instead of {{Tags}}. I tried it, it works.

I'm getting exactly the same error message as reviewer 2/18/2020:
ImportError: cannot import name 'Template' from 'anki.template' (C:\Program Files\Anki\anki\template.pyc)
The message comes up when running anki.exe. I am also on version 2.1.20
ImportError: cannot import name 'Template' from 'anki.template' (C:\Program Files\Anki\anki\template.pyc)
The message comes up when running anki.exe. I am also on version 2.1.20

As another reviewer mentioned, I had to edit line 31 to get it to work (maybe since I'm using the Advanced Browser add-on as well?)
Change
browser.setFilter('tag:%s' % tag)
To this...
browser.setFilter('"tag:%s"' % tag)
Change
browser.setFilter('tag:%s' % tag)
To this...
browser.setFilter('"tag:%s"' % tag)

Just what I need, very thanks, or I'll take much long time to write such an add-on.

When it started to work ultra awesome!!!
I would love to see some additional configuration options like edible
- background colour
- fontstyle
- fontcolor, specially one resisting the nightmode overlie
- where it shows up like at the bottom, corner etc.
I would love to see some additional configuration options like edible
- background colour
- fontstyle
- fontcolor, specially one resisting the nightmode overlie
- where it shows up like at the bottom, corner etc.

So usefull!!...Thank you!

How could I change the font? I tried with inline style in the front template using this css, but didn't work:
<span class=tags style="font-family:Arial;">
{{Tags}}
</span>
<span class=tags style="font-family:Arial;">
{{Tags}}
</span>

可以使用,但双击将搜索限制当前牌组不能实现。

Thanks!

giving a positive rating bc it has worked for all of my friends but i got the "Invalid HTML on card: SyntaxError: Invalid or unexpected token" error code after downloading this add-on, which resolved after i deleted the add-on. Im using Ankiing 3.2 atm

good

it worked!useful

I also started getting the error "Invalid HTML on card: SyntaxError: Invalid or unexpected token" after installing this add-on
Comment from author
I'm still very strongly of the suspicion that this error occurs when the template is incorrect. But without more information, I can neither confirm nor deny.

Amazing! How can i change the Tags color? Im having trouble seeing them with a black background

Finally somebody ported this to 2.1! Regarding the comment below, it works fine for me.

This addon cause html problem : Invalid HTML on card: SyntaxError: Invalid or unexpected token
Comment from author
No it doesn't. More than likely, you've put something silly in your card template.

Amazing!!

Amazing!