Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

what's new, cool links

Quote Reply
what's new, cool links
Hello,

I changed from .html to .shtml,
I can not use index.shtml anymore because my server do not allow me to.
So I changed everything to main.shtml in the script, everything works fine but the "cool", "what's new" links don't work because they keep pointing to the root (../links/pages/Cool/)
How can I change that so they point to the main.shtml ?

I tried everything but I can not find it

PS: I use templets

Quote Reply
Re: what's new, cool links In reply to
Change the $build_new_url and $build_cool_url to the following:

Code:

$build_new_url = "$build_root_url/New/$build_index";
$build_cool_url = "$build_root_url/Cool/$build_index";


in the links.cfg file.

Then re-build...

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: what's new, cool links In reply to
Thanks for you reply,
I changed it, Staggered, then Build, but the templets keep pointing to the "../Cool/"

Strange isnt it

Quote Reply
Re: what's new, cool links In reply to
Then EDIT the darn template files, duh! Those linke are probably still hard-coded....

Open your template files and edit the links, buddy!

Got it?

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: what's new, cool links In reply to
haha Yes I know, but the templets say:
<P><A HREF="<%build_root_url%>"><FONT SIZE="-2" FACE="Verdana,Sans-Serif"><B>What's Cool</B></FONT></A></P>

I am not a Veteran but that looks good in my opinnion

Quote Reply
Re: what's new, cool links In reply to
Find a new copy of the template and compare the link for the whats new/cool page with that you have....I bet it isn't the same Smile

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: what's new, cool links In reply to
Uh...that is NOT the appropriate link...

You need to use:

Code:

<a href="<%build_root_url%>/New/main.shtml">What's New</a>


OR you can define the following GLOBAL tags in your %global hash in the site_html_templates.pl file:

Code:

build_cool_url => $build_cool_url,
build_new_url => $build_new_url


Then in the template files, simply use:

Code:

<a href="<%build_new_url%>">What's New</a>
<a href="<%build_cool_url%>">What's Cool</a>


BTW: Don't have to be a Veteran to understand basic HTML codes. Wink


Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: what's new, cool links In reply to
ok ok you where right it is the basic html, sometimes I think to complex haha

Thanks for your help!!
regards,
Maurice