Alternate path for the freetags plugin

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Alternate path for the freetags plugin

Post by frodeste »

is it possible to change the path used by the freetags plugin from ../plugin/tag/ to ../tags/?

I have tried changing in the admin, but using a shorter path like /tags/ just don't seem to work.
-- frodeste
www.stenstrom.no
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Alternate path for the freetags plugin

Post by garvinhicking »

Hi!

That's not possible easily, because s9y needs a fixed "/plugin/" pattern to detect that an external plugin takes over page control.

You could try to do it via "invisible" mod_rewrite redirection by redirectiong "/tags/..." to "/plugin/tags/..."...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Re: Alternate path for the freetags plugin

Post by frodeste »

garvinhicking wrote:Hi!

That's not possible easily, because s9y needs a fixed "/plugin/" pattern to detect that an external plugin takes over page control.

You could try to do it via "invisible" mod_rewrite redirection by redirectiong "/tags/..." to "/plugin/tags/..."...

HTH,
Garvin
Thought so. I did mess a bit with .htaccess before I posted here :)

I reasoning for this is that we have ../categories/. From my point of view, tags should follow same visual guideline ../tags/. It is only cosmetic, but still.
-- frodeste
www.stenstrom.no
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Alternate path for the freetags plugin

Post by garvinhicking »

Hi!

The central difference is that categories are internal, and tags aren't...so we can't mix'n'mojo those URLs :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Re: Alternate path for the freetags plugin

Post by frodeste »

garvinhicking wrote:Hi!

The central difference is that categories are internal, and tags aren't...so we can't mix'n'mojo those URLs :)

Regards,
Garvin
hehe

My x-mas wish: Make this internal now? :)
-- frodeste
www.stenstrom.no
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Alternate path for the freetags plugin

Post by garvinhicking »

Hi!

Hehe. The freetag plugin still has a way to go to be feature-complete; then we can talk about taking it internal. Until then it's much more useful to have it as a plugin, because then we can update it quicker.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Re: Alternate path for the freetags plugin

Post by frodeste »

garvinhicking wrote:Hi!

Hehe. The freetag plugin still has a way to go to be feature-complete; then we can talk about taking it internal. Until then it's much more useful to have it as a plugin, because then we can update it quicker.

Regards,
Garvin
I understand. Keep up the great work.
-- frodeste
www.stenstrom.no
Post Reply