Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Add Detailed

Quote Reply
Add Detailed
Using Detailed pages. I overcame need for two Add Link include form choices by using include form with "if" statements

<%if ID=5 or ID=7%>
form data1
<%else%>
form data2
<%endif%>


This is limiting (and manual), but it works - sort of.

If I were to Use the Add Link from the Detailed Page itself or the Home page, I get the default form

I have been trying different attempts at a global without much success

sub {
my ($sth,$link,$cat);
my $vals = shift;
my $cat_db = $DB->table('Category');
$cat_db->select_options("ORDER BY Full_Name");
$sth = $cat_db->select ( { Category_Template => 'NewsItems'});
my $output;
$output .= "<href="........">Add News</a>";
return $output;
}
Subject Author Views Date
Thread Add Detailed gatman 1829 Dec 24, 2002, 7:45 AM
Thread Re: [gatman] Add Detailed
pugdog 1731 Dec 30, 2002, 10:01 PM
Post Re: [pugdog] Add Detailed
gatman 1708 Dec 31, 2002, 4:19 PM
Thread Re: [gatman] Add Detailed
afinlr 1705 Jan 1, 2003, 5:07 AM
Post Re: [afinlr] Add Detailed
gatman 1695 Jan 5, 2003, 6:56 PM