A while ago you created a new onelink.php that allowsyou to have spaces in tags. I just added the new onelink.php you created and it no longer works and caises multiple errors in details pages.
Can you please make an option for spaces in tags as part of the standard script? maybe an option in admin.
I'm just starting to use tags for the first time and want a space between two words.
I see in the new version there is a tweaks editor and keepchars is listed.
Putting just a space in does nothing.
Putting ' ' does nothing except throw following error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/blousesf/public_html/includes/prestart.php(66) : eval()'d code on line 15
When I went back to the tweaks editor the keepchars was empty so I couldn't correct it. I then manually edited the tweaks.php file.
It showed: $keepchars = '' ''; So I Changed it to : $keepchars = ' ';
Secondly, can I have more than one character? So I now have a space, but I also want to keep /
I tried separating them by a comma but it just threw error again
Comments on Spaces in tags, no longer works
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Hi Paul,
A while ago you created a new onelink.php that allowsyou to have spaces in tags. I just added the new onelink.php you created and it no longer works and caises multiple errors in details pages.
Can you please make an option for spaces in tags as part of the standard script? maybe an option in admin.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Where did I give that advice? I never tell anyone to maintain a custom version of a shipped file.
To allow spaces in tags, please don't change onelink.php -- use the shipped one untouched. Use a tweaks.php file with $keepchars = ' ';
scripts.webmastersite.net/w...nks/manual/link.php?id=359
Confirmed it does exactly what it should do. Attached screenshots.
part of the standard script? maybe an option in admin.
Ironic request considering you were just telling me to remove options in the other thread.
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Yep, I read the old "spaces in tags" thread wrong, sorry. Excuse my posts yesterday, not a good day.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I'm just starting to use tags for the first time and want a space between two words.
I see in the new version there is a tweaks editor and keepchars is listed.
Putting just a space in does nothing.
Putting ' ' does nothing except throw following error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/blousesf/public_html/includes/prestart.php(66) : eval()'d code on line 15
When I went back to the tweaks editor the keepchars was empty so I couldn't correct it. I then manually edited the tweaks.php file.
It showed: $keepchars = '' '';
So I Changed it to : $keepchars = ' ';
Secondly, can I have more than one character? So I now have a space, but I also want to keep /
I tried separating them by a comma but it just threw error again
TIA
J
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Don't separate the characters, just write them all: $keepchars = " /";
Keeping / is going to be a problem if you do URL rewriting, I expect the tag URLs will break.