Gossamer Forum
Home : Products : Links 2.0 : Customization :

Detailed question

Quote Reply
Detailed question
Wow, haven't been into Links 2.0 for a while... Blush

I'm trying to set up Links as glossary system. I've enabled the detailed pages (HTML), but would like to have them built not by ID, but by a new field name (I called it 'label'):

Code:
<a href="$build_detail_url/$label$build_extension" target="_blank">$label</a>

instead of

Code:
<a href="$build_detail_url/$id$build_extension" target="_blank">$id</a>


so that detailed pages look as follows:

http://www.mysite.com/detailed_dir/label.html

In sub build_detailed_view I've replaced all instances of $id with $label, still detailed pages are built according to their Link ID. I seem to have forgotten something important, any help is appreciated.

Thanks. Smile

Last edited by:

Tho-chan: Sep 7, 2002, 6:56 AM
Quote Reply
Re: [Tho-chan] Detailed question In reply to
EDIT: Never mind...I'm talking out of my arse again Tongue I can't actually see a reason why it shouldn't work....

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!

Last edited by:

Andy: Sep 7, 2002, 7:29 AM
Quote Reply
Re: [Andy] Detailed question In reply to
I thought so too, but I keep losing my hair over this. Laugh

Anyhow, thanks for your reply.
Quote Reply
Re: [Tho-chan] Detailed question In reply to
As long as $db_key_pos is correct it looks like it should work.

Last edited by:

Paul: Sep 7, 2002, 8:06 AM