[ic] How to modify the more-list tag?

Joachim Leidinger interchange-users@icdevgroup.org
Sat Jun 21 15:35:00 2003


DB wrote:
> I would like to modify the more-list tag, or maybe copy it and create an 
> alternate modified version. Where does this code reside?
> 
> I want to change the format of the links that the more-list creates from
> 
> http://domain.com/cgi-bin/catalog/scan....
> 
> to
> 
> http://domain.com/scan....
> 
> to take advantage of the URL rewrites that I have apache doing.
> 
> I can't simply set CGI_URL blank because I don't use rewrites on the 
> https:// pages for other reasons.
> 
> Any hints are welcome!
...

Maybe the workaround like

[tmp morelinks][more-list][more][/more-list][/tmp]
[perl]
    $_ = $Safe{'scratch'}->{'morelinks'};
    s/\/cgi-bin\/catalogs//g;
    $Safe{'scratch'}->{'morelinks'} = $_;
return '';
[/perl]

and

[scratch morelinks]

instead of

[more-list][more][/more-list]

can help you?

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing.
[joachim@leidinger.net]
http://www.leidinger.net