Gossamer Forum
Home : Products : Links 2.0 : Discussions :

PerlFlunkie, thanx for the script but I'm stuck

Quote Reply
PerlFlunkie, thanx for the script but I'm stuck
The script you gave me, BrokenLinkReporter by Paul Wilson is really simple to install but for some reason it's just not working, I've spent around 2 hours swimming in the code trying to figure out what's what. Everything seems to work, I can access "View Deadlinks" from the admin panel.

My problem is, there's not actual link on the links page for surfers to submit the broken link too and I can't find any other way to do it either. It's like I haven't installed the script at all from the surfers point of view.

I think the problem lyes in the site_html_templates.pl but I can't figure out exactly where :(

Could you please help me out on this one since I'm all out of ideas on what could be wrong.
Quote Reply
Re: [Kaz] PerlFlunkie, thanx for the script but I'm stuck In reply to
looking through the mod code, I did not see where it says how to add it, but here's what I did: Add this in templates/link.html

<a href="<%db_cgi_url%>/report.cgi?ID=<%ID%>">Deadlink?</a>

Or use 'Report Deadlink' as the link name.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] PerlFlunkie, thanx for the script but I'm stuck In reply to
oh yeah, that's what I needed. Thanx for the reply bud.

Cheers!