Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Using category-specific template set for "ADD A LINK" page

Quote Reply
Using category-specific template set for "ADD A LINK" page
Hi.

I'm setting up a directory with Links
SQL 2.2.1. I want each top-level
category to have its own template set.

This is easy enough, but there's one
problem (which I think qualifies as
a bug): the "ADD A LINK" page doesn't
use the template set for the current
category; instead, it uses the default
template set.

I've confirmed this by changing the
add.html template in the default
template set, and verifying that the
change appears in the "ADD A LINK"
page.

I've also read the code, starting at
the add.cgi script, and progressing
from Links::User::Add::handle to
Links::SiteHTML::display (with a first
argument of "add"), and finally to
Links::SiteHTML::_compile. It is in
this last function that the template
set is chosen, and it's easy to see
that it doesn't check whether the
current category has a template set of
its own.

If Gossamer Threads agrees this is a
bug, then (while I could probably write
one myself) I would appreciate a fix.

Regards,

Excalibur.
Subject Author Views Date
Thread Using category-specific template set for "ADD A LINK" page excalibur 2425 Feb 23, 2005, 2:24 AM
Post Re: [excalibur] Using category-specific template set for "ADD A LINK" page
kerbouchard2 2326 Feb 23, 2005, 2:50 AM
Thread Re: [excalibur] Using category-specific template set for "ADD A LINK" page
minesite 2329 Feb 23, 2005, 6:53 AM
Thread Re: [minesite] Using category-specific template set for "ADD A LINK" page
excalibur 2322 Feb 23, 2005, 6:58 AM
Post Re: [excalibur] Using category-specific template set for "ADD A LINK" page
minesite 2321 Feb 23, 2005, 7:07 AM