Cause i want not only different Templates for each cat, but the same for links and detailed;
i have watched for the way it goes in Links/SiteHTML.pm.
Now i need the same way as done in 1.13
Two additional fields for every cat with Link_Template and Detailed_Template.
Then changing code from
return Links::user_page ('link.html', $rec, $opts);
to:
my $template = "link.html";
return Links::user_page ($template, $rec, $opts);
The problem to solve: How to pass the values of a column in cat-table to the sub for the links?
Robert
i have watched for the way it goes in Links/SiteHTML.pm.
Now i need the same way as done in 1.13
Two additional fields for every cat with Link_Template and Detailed_Template.
Then changing code from
return Links::user_page ('link.html', $rec, $opts);
to:
my $template = "link.html";
return Links::user_page ($template, $rec, $opts);
The problem to solve: How to pass the values of a column in cat-table to the sub for the links?
Robert