Closed (fixed)
Project:
Hashtags
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2012 at 19:07 UTC
Updated:
21 Jan 2016 at 11:04 UTC
Jump to comment: Most recent
Or perhaps that should be an option. But it seems more natural to separate the term itself from the symbol being used to identify it. Patch attached works for me.
| Comment | File | Size | Author |
|---|---|---|---|
| hashtags-7.x-1.2_strip-hash_0.patch | 461 bytes | HorsePunchKid |
Comments
Comment #1
fadgadget commentedI would like to have that feature in the 6. version if possible at all. Be great. thanks
Comment #2
mastoll commentedI applied this patch to V. 7.x-1.4 by hand. I added the lines
right before "return $result;"
Only the first hashed term was stripped of its #-mark. How could I modify this to make it iterate through all the terms?
Comment #3
mastoll commentedI modified this patch for v. 7.x-1.4 such that hashtags in the body field convert to taxonomy tags without hash marks. i.e. "#my-tag" in the body text will create a "my-tag" taxonomy term. This term is added to the "hashtag" vocabulary.
I'm sorry, I don't know how to create a patch . . . here is the code that I inserted:
inside the
if {$capture_position)statement, right beforeComment #4
Strutsagget commentedFeel like this should be default behaviour and then maybe a prefix or css that set # infront when needed.
Comment #5
radamiel commentedComment #6
radamiel commentedComment #7
radamiel commentedfixed in 7.x-1.5 version - update.php must be run