1
reWARder
Xoops News Module - Disable Space as delimiter
  • 2013/7/24 14:52

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


The subject describes what I'm looking for. Do anybody know how I can do this?

2
Mamba
Re: Xoops News Module - Disable Space as delimiter
  • 2013/7/24 15:27

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I am not sure, I understand.

Delimiter for what? Where? In tags?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
reWARder
Re: Xoops News Module - Disable Space as delimiter
  • 2013/7/24 16:15

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Below the input field for tags, there is the following comment: Quote:
Following delimiters are valid for multiple tags: [,], [ ], [|], [;]


When we add tags to the news we're writing, then we can't for example have a tag which consists of two separated words, for example: "Ivy Bridge".
When I write "Ivy Bridge", in the tags input field, the news module creates two tags: "Ivy" and "Bridge", since space is a delimiter.

What I would love to have is the possibility to create tags, which consist of more than one word.


4
brutalicuss
Re: Xoops News Module - Disable Space as delimiter

In module tag, folder language/english (if yours):

file: config.php
change this line
$GLOBALS["tag_delimiter"] = array(","" ""|"";");

with this
$GLOBALS["tag_delimiter"] = array(",""|"";");


In module tag, folder include:
files:
plugin.disp.php
change line
$customConfig["tag_delimiter"] = array(","" ""|");

with
$customConfig["tag_delimiter"] = array(",""|");


in plugin.php
change line
$customConfig["tag_delimiter"] = array(","" ""|"";");

with
$customConfig["tag_delimiter"] = array(",""|"";");


in functions.ini.php
change line
return array(","" ""|"";");

with
return array(",""|"";");



Just remove empty tag/space " "

For me its working, but search function is better when we have a single word

5
reWARder
Re: Xoops News Module - Disable Space as delimiter
  • 2013/7/25 11:50

  • reWARder

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/28


Thank you very much! This did the trick for me too.

Login

Who's Online

151 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

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

Latest GitHub Commits