Gossamer Forum
Home : Products : Links 2.0 : Customization :

Frameset problem

Quote Reply
Frameset problem
On my main page, the links just go like http://thechaos.net/alert/Code_Red/
Since I have a frameset there, the link should point to http://thechaos.net/alert/Code_Red/home.html
Else I get double navigation.
How do I change what gets generated?
I am using templates.

Quote Reply
Re: Frameset problem In reply to
So, you edited $build_index = "index.html"; in links.cfg to make the files as main.html?

If that is the case, the URL should work. Then in site_html_templates.pl try changing;

$url = "$build_root_url/" . &urlencode($subcat) . "/";

to

$url = "$build_root_url/" . &urlencode($subcat) . "/main.html";

The last bit is a bit of an educated guess, but I'm pretty sure it should work Cool

Oh, and I may have completly mis-understood what you were trying to say... Laugh

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Frameset problem In reply to
> Then in site_html_templates.pl try changing;

> $url = "$build_root_url/" . &urlencode($subcat) . "/";

> to

> $url = "$build_root_url/" . &urlencode($subcat) . "/main.html";

This worked fine. Thank you very much!!!

Quote Reply
Re: Frameset problem In reply to
I don't believe webfairy ever mentioned "main.html"

Webfairy....in site_html_print_cat in site_html_templates.pl change:

Code:
$url = "$build_root_url/" . &urlencode($subcat) . "/";
to...

Code:
$url = "$build_root_url/" . &urlencode($subcat) . "/" . $build_index;
Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/