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

Title field to be used as detailed page url

Quote Reply
Title field to be used as detailed page url
Hi I want to be able to include the title of the link in the url fothe detailed page.


Say I have link with ID 1 and Title is Brown leather bag.

I want the detailed page url for it to be

http://www.mydomain.com/Detailed/Brown leather bag.html

instead of

http://www.mydomain.com/Detailed/1.html
Quote Reply
Re: [Abusaki] Title field to be used as detailed page url In reply to
Hi,

You could get it like:

http://www.site.com/Title_of_page_here_L1234.html , which would then point to page.cgi?g=Detailed/1234.html.

Here's a thread you may find helpful;

http://www.gossamer-threads.com/...i?post=216197#216197

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Abusaki] Title field to be used as detailed page url In reply to
Or just use the build_detail_format option.

Adrian
Quote Reply
Re: [brewt] Title field to be used as detailed page url In reply to
Ah yeah.. forgot about it being built into GLinks *blush*

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [brewt] Title field to be used as detailed page url In reply to
Also Adrian has created a wonderful plugin, you might want to look into that too.

Vishal
-------------------------------------------------------
Quote Reply
Re: [brewt] Title field to be used as detailed page url In reply to
Hi Adrian,

How can I convert the Title to all lower case while building the detail pages.

In build_detail_format->advanced field I tried %lc Title% but its not working.

Any other way to do this.

Thanks.
Quote Reply
Re: [cassandra] Title field to be used as detailed page url In reply to
Does any have any idea how to do this
Quote Reply
Re: [cassandra] Title field to be used as detailed page url In reply to
There's currently no easy way of doing it. You would need to write a plugin. An inefficient way of doing it would be to use the StaticTr plugin and perform an A:a, B:b, etc replacement.

Adrian
Quote Reply
Re: [brewt] Title field to be used as detailed page url In reply to
Quote:
An inefficient way of doing it would be to use the StaticTr plugin and perform an A:a, B:b, etc replacement

I have tested this and it does really work in a perfect manner.

Vishal
-------------------------------------------------------