View Single Post
  #4 (permalink)  
Old 12-28-2007, 04:17 AM
ditto ditto is offline
Pligg Donor
 
Join Date: Dec 2007
Posts: 43
Thanks: 7
Thanked 2 Times in 2 Posts
When i did all the steps in your post, i did't get it to work -- also my ordinary search stopped working and was only displaying empty search results.

Here i paste in some relevant code from tags.php and search.php, but i also attach both files to this post.

From my tags.php:
$replace_what = array("æ","ø","å","é");
$replace_with = array("e","o","a","e");

From my search.php:
$replace_what = array("ú","ó","é","ý", "š","á","í","æ","ø","å"," é");
$replace_with = array("u","o","e","y","s","a","i","e","o","a","e") ;

I am using URL method 2, and the "makeFriendly" module.

I am especially uncertain about the change in search.php, should i change the characters in the $replace_with-line there according to the characters i used in replace_what in both tags.php and search.php? It seemed like you did that in your code, and that is what i did (as you can see).

Just to have mentioned it, i of course i did add the column tags_safe to the database as you described, and also changed the line to contain my domain-name.

What could i be doing wrong? Thanks!
Attached Files
File Type: txt search.php.txt (18.4 KB, 32 views)
File Type: txt tags.php.txt (5.7 KB, 37 views)
Reply With Quote