Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [kjetilpalm] Multiple templates for one DB?

Quote Reply
Re: [kjetilpalm] Multiple templates for one DB? In reply to
Hi,
...and if you are using DBMan SQL 2.x, you can get a new param t=template_name in your link then find the line below :
my $dir_tmp = $self->{cfg}->{'template'} || $self->{glb_cfg}->{default_tpl};
in sub-routine print and replace with :
my $dir_tmp = $self->{cgi}->{t} || $self->{cfg}->{'template'} || $self->{glb_cfg}->{default_tpl};
Hope that will help,
windsorBlushCool
Subject Author Views Date
Thread Multiple templates for one DB? kjetilpalm 2605 Oct 17, 2001, 9:48 AM
Post Re: [kjetilpalm] Multiple templates for on DB?
Paul 2496 Oct 17, 2001, 10:04 AM
Post Re: [kjetilpalm] Multiple templates for one DB?
doublemint 2479 Oct 17, 2001, 1:15 PM