Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Foreign Characters in detail url

Quote Reply
Foreign Characters in detail url
I'm using this for building my detailed pages
%Title%_%ID%

I have a lot of Titles with german umlauts
For example

GLinks does change these umlauts to just _

Is there a way to force glinks to change in %Title%_%ID%
to Oe
to Ae
to Ue
etc.

Thanks

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] Foreign Characters in detail url In reply to
You can use the StaticURLtr plugin to do this, but it normally won't work if you're using dynamic mode. You'll have to modify the plugin to comment out the $IN->param('d') check.

Adrian
Quote Reply
Re: [brewt] Foreign Characters in detail url In reply to
brewt wrote:
You can use the StaticURLtr plugin to do this, but it normally won't work if you're using dynamic mode. You'll have to modify the plugin to comment out the $IN->param('d') check.

Wow, that was easy Smile
Just to get it right. I just commented out these two lines
# return if $IN->param('d');
# return @_ if $IN->param('d');

Is this right?
Thanks

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] Foreign Characters in detail url In reply to
Yup, that should do it.

Adrian