Opened 14 years ago
Closed 14 years ago
#2577 closed enhancement (duplicate)
Add function/hook to sort Forum Topic Tags into a Row
Reported by: | pisanojm | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | forum, topic, tag, row, sort |
Cc: |
Description
While trying to get the forum topic tags into a row for my forum pages using "bb_get_topic_tags", I discovered that there was no easy way to have the tags show in a row. After much searching I found a person that had come up with a solution (I don't know how good it is, but it works). By creating a new function called "bb_row_tags" this can be used to sort form topic tags from a "list" to a "row". Note, this does work for me and I am using it currently.
The default-theme is also conspicuously absent of a place to show the tags and that probably should have it's own trac-ticket, if it doesn't already exist.
I made a pastebin that shows the function here (not my programming):
http://pastebin.com/fvM6LEnp
The discussion is here:
http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/forum-topic-tags/?topic_page=2&num=15
There is indeed another track ticket for the more general problem with tags: #2281
When I patch that ticket, I will probably separate out the markup into a different function from the tag data itself. So it'll be easy for theme authors or others to write whatever kind of markup they want.
I'll leave this ticket open as it's dependent on that one.