We make tools that make websites.

Support Forums

   

List the Existing Tags as Links in the Space Below Search? Then Click to Add?

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 

See the attached pic for what I’d like to know is possible with Tag. I had an old version of Wordpress way back in the day and it had a Tag module that listed all the tags, and I could just click them - no need to type.

What I’d like to see: List all existing tags below the search. Clicking one would add it to the tag box, and remove it as a link.

If there were more tags than space, limit this are to top 100 tags or so. If you don’t see what you need, start typing in the search box.

I think this would have two benefits:

1) It would save me time when adding tags as I don’t have to type out each and every one (even considering auto-complete)
2) My tags on each entry would be more complete. Often times I forget to add a tag that already exists. As it stands now, you have to type at least a few letters of every tag you want to add.

Is there a way to do something similar to my attached mockup out of the box that I may be missing?

Image Attachments Click thumbnail to see full-size image

tag_mockup.jpg

Signature

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 

Hey Ryan, wink

This will be possible with Tag 2.5, which will be available today or tomorrow.

One thing to note is that it will show Tags as it normally does, but will show all Tags when you type an asterisk (*) smile

Signature

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 

Do you mean to say that there will be at least two separate additions?

1) A tag list (somewhat like I show in the mockup)
2) The ability to type an asterisk to get all tags

Or are you saying that only item 2 will be added? I actually have found a clever hack to get a tag list to show below the search box, but don’t want to implement it unless I know for sure it won’t be included in an official release. Thanks!

Signature

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 
mdesign - 09 October 2008 10:15 AM

2) The ability to type an asterisk to get all tags

Sorry for not being clear, only that option will exist. smile

mdesign - 09 October 2008 10:15 AM

I actually have found a clever hack to get a tag list to show below the search box, but don’t want to implement it unless I know for sure it won’t be included in an official release. Thanks!

While I like your idea with the area for Tags automatically shown below the Tag Suggest feature, it could definately be an issue for sites with hundreds of Tags…
However, this could be something we set as an option to turn on/off in the Tag Preferences. I’ll add this to the feature requests list smile

Thanks!

Signature

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 

Thanks for the clarification. I’m going to work on this ‘hack’ to get the list to show up, but limit the results to 50-100 tags - initially just alphabetically. Then I’ll snoop around and find out what the query is that retrieves the most popular tags and then update the hack to grab and list the 50-100 most popular tags for easy clicking!

Thanks, Pie Man.

Signature

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 

Well, that didn’t take long. I started with some code Cocoaholic wrote (thanks Cocoaholic!), and then modified it to do what I needed. This pulls the top 50 tags (and their counts, just because) that aren’t already listed to the right, and spits out a big list in alphabetical order. Clicking them removes them from the list of tags and adds them to the entry.

The attached pic is the real deal…works and everything grin

If you ever decide to add this to an official release, it would be cool to have a few settings:

1) Show tag list Y/N
2) Tag List limit: (enter number of tags to return)

Thanks for giving me a head start on that, Cocoaholic!

Image Attachments Click thumbnail to see full-size image

tag_list.jpg

Signature

Avatar
Rank

Total Posts: 3

Joined: Jul 28, 2005

PM

Ignore

 

No worries smile

Avatar
RankRankRank

Total Posts: 134

Joined: May 10, 2006

PM

Ignore

 

Any possibility that you can show us how you did that Ryan?

Best wishes,

Mark

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 
Mark Bowen - 09 October 2008 03:57 PM

Any possibility that you can show us how you did that Ryan?

There is. I’m a little bogged down with client work today, but stay tuned.

Signature

Avatar
RankRankRank

Total Posts: 134

Joined: May 10, 2006

PM

Ignore

 
mdesign - 10 October 2008 08:33 AM
Mark Bowen - 09 October 2008 03:57 PM

Any possibility that you can show us how you did that Ryan?

There is. I’m a little bogged down with client work today, but stay tuned.

Sounds fantastic. Don’t worry any time you can do so then that would be great, thankyou.

Best wishes,

Mark

Avatar
RankRankRank

Total Posts: 134

Joined: May 10, 2006

PM

Ignore

 

Just wondering if you had any time yet to show us how you achieved this Ryan?

No problem if you don’t I can wait longer if required wink

Best wishes,

Mark

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 

Forgot to notify this thread… but Tag 2.5 is now available, which includes the search for all Tags with asterisk ability wink

Signature

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 

Sorry, Mark. Haven’t had a chance - have a huge client project that is taking all my time - and trying to work on devot:ee as well.

It’s on my to-do list!

Signature

Avatar
RankRankRank

Total Posts: 134

Joined: May 10, 2006

PM

Ignore

 

No problem mate. Perhaps just plop it into devot:ee and I will pick it up there instead wink

Hope it all goes well for you.

Best wishes,

Mark

@ Pie Man - Thanks had noticed that the other day but this sounds interesting too. Always like to see how things are done me wink

Avatar
RankRankRank

Total Posts: 189

Joined: Sep 11, 2006

PM

Ignore

 

Well, that took a while. But I finally got around to writing that article over at devot:ee (devot-ee.com): Modify Solspace’s Tag Module To Show a Clickable List of Links. I show a couple different versions. Hope you get something out of it.

Signature

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 

That’s pretty sexy Ryan… thanks! smile

Signature