Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Bug with detailed pages?

Quote Reply
Bug with detailed pages?
In the 1.11 release, in sub site_html_link
in the load template call, it says:

detailed_url => "$LINKS{db_detailed_url}/${$rec}{'ID'}$LINKS{build_extension}",

That should be (according to the Links.pm file)

detailed_url => "$LINKS{build_detail_url}/${$rec}{'ID'}$LINKS{build_extension}",


Or are my versions crossed???

Quote Reply
Re: Bug with detailed pages? In reply to
Yes, your right! I'll fix that up.

Cheers,

Alex
Quote Reply
Re: Bug with detailed pages? In reply to
It would seem my LinksSQL installation was about an hour before pugdog's post. Alex, do I need to make this change in the scripts? If so, in which file?

Sorry, I tried using a "find" function in my editor (textpad) and searched for both these strings in nph-build.cgi without success.
detailed_url => "$LINKS{build_detail_url}/${$rec}{'ID'}$LINKS
detailed_url => "$LINKS{db_detailed_url}/${$rec}{'ID'}$LINKS

Thanks!

------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Bug with detailed pages? In reply to
Found and replaced at line 93 using the file details provided by Alex. Thanks!

------------------
~ ~ ~ ~ ~
Karen
Quote Reply
Re: Bug with detailed pages? In reply to
Hi Karen,

Look in HTML_Templates.pm (in the Links directory) and then search for sub site_html_link. There you'll find the offending code.

Cheers,

Alex