1
bjuti
Tag module, multiple words as tags
  • 2010/9/19 12:29

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi there

Is it possible in Tag module to have more than one word as a tag... eg. xoops cms, nokia phone..... etc.. instead of just one word? It's tricky when you must do tag that's phrase, like 'economic stagnation' etc..

Tnx

2
ghia
Re: Tag module, multiple words as tags
  • 2010/9/19 13:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe use underline in stead of space? Eg economic_stagnation

3
bjuti
Re: Tag module, multiple words as tags
  • 2010/9/19 13:17

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


That's the way i'm using it now, but it's ugly solution, and the clents are not happy with it :) They saw eg. Wordpress sites and say that they want that. :)

4
playsome
Re: Tag module, multiple words as tags
  • 2010/9/19 20:07

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


I would also like to see this feature in the tag module.

I think it would require hacking hte module code to make only comma a valid dilimiter then for the url though you would need to replace the space with _ and im not sure how you would do that.

5
ghia
Re: Tag module, multiple words as tags
  • 2010/9/20 5:44

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I don't think there is a preference for it, so try altering /modules/tag/include/functions.ini.php near the bottom
return array(","" ""|"";");

=>
return array(",""|"";");

6
bjuti
Re: Tag module, multiple words as tags
  • 2010/9/20 7:36

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Tnx, I'll try that.

7
iunderwood
Re: Tag module, multiple words as tags

Please let me know that modification works. I was just about to ask the same question.
++I;
Resized Image

8
bjuti
Re: Tag module, multiple words as tags
  • 2010/9/20 14:14

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hack with removing space from delimiters doesn't work (tested in publisher).

9
tzvook
Re: Tag module, multiple words as tags
  • 2012/2/3 16:53

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Has someone succeeded with this ?

10
tzvook
SOLVED: Tag module, multiple words as tags
  • 2012/2/4 19:35

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Well, made it work ....
2 changes I made, one of them (if not both) is doing the work ...
===========================================
edit /modules/tag/language/english/config.php

old line (24)
----------------------------
$GLOBALS["tag_delimiter"] = array(",", " ", "|", ";");

new line
---------------------------
$GLOBALS["tag_delimiter"] = array(",", "|", ";");

===========================================
edit /modules/tag/include/functions.ini.php

old line (88)
----------------------------
return array(",", " ", "|", ";");

new line
---------------------------
return array(",", "|", ";");

===========================================

Login

Who's Online

351 user(s) are online (207 user(s) are browsing Support Forums)


Members: 0


Guests: 351


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits