I’ve found several posts that
might cover this, but haven’t found any well explained enough to be able to follow.
I’m trying to make a list of tags clickable, to trigger a workflow that goes to a tag page filtered by that tag.
I have a thing that has a list of tags, which refer to “Tag” things. In a text object, I’m displaying the things “Tag” list, which correctly displays the tags: “tag 1, tag 2, tag 3” etc.
However, I can’t figure out how to make an individual tag within that list clickable. When I add a workflow to the object it makes the entire thing clickable.
I’ve tried looking at the tagger plugin, but was hoping for some kind of tutorial or something since I can’t figure out how to make it work, or if this is even the right direction. Any help?
I’m a noob, but the first thing I can think of is using the links element and styling it.
Thanks for the reply. Using a link element doesn’t work, because it treats every single element as a single link. In other words, it will print “collection 1, collection 2” and the entire block of text is a single clickable element.
In code I would just use a loop to do this.
Maybe this helps for part of the solution …
This means the regex needs tweaking, at the moment it is matching too much, so that you have a list of one item. Try something like: #\w+
For making links in the text with BB, I used the rich text editor to come up with an example.
:find & replace
regular expression: @(\w+)
@mary and @barney links.
It’s been 5 hours trying tagger and it’s not working for me. If you found out how to make it work for hashtags please let me know.
This topic was automatically closed after 70 days. New replies are no longer allowed.