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.
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.