Gossamer Forum
Home : Products : Gossamer Links : Discussions :

modify links

Quote Reply
modify links
Since i upgraded to links SQl 2.0.5 form 2.04 it seems my modify links page does not work

the modify links page comes up and has a listing such as the following

Pages: 1 2 3 4 5 6 7 8 9 10 11 [>] [>>]

Please pick which link you would like to update:
Title Attachment Hits Rating Votes Last Mod

but there are no links listed?? i know i have a few hundred, as is indicated by the number of pages listed.

any help would be appreciated, thanks

here is the code from my template

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>

<head>
<title><%site_title%>: Modify a Resource</title>
</head>
<body bgcolor="#FFFFFF">
<%include header.txt%>
<%if next%>
<p>Pages: <%next%>
<%endif%>

<p>Please pick which link you would like to update: <br>
<Table WIDTH=95%>
<tr bgcolor="#ffffff" valign="middle">
<td height="10"></td>
<td align="Center" height="10"><B>Title</B></td>
<td align="Center" height="10"><B>Attachment</B></td>
<td align="Center" height="10"><B>Hits</B></td>
<td align="Center" height="10"><B>Rating</B></td>
<td align="Center" height="10"><B>Votes</B></td>
<td align="Center" height="10"><B>Last Mod</B></td>
</tr>
<%loop link_results%>
<P><%include modify_link.html%>
<%endloop%>
</TABLE>

<%if next%>
<p>Pages: <%next%>
<%endif%>

<%include footer.txt%>
</body>
</html>

Last edited by:

knewt: Nov 13, 2001, 8:56 PM
Quote Reply
Re: [knewt] modify links In reply to
I believe that should be <%include link.html%> not <%include modify_link.html%>


Adrian
Quote Reply
Re: [brewt] modify links In reply to
nope, that doesn't seem to change anything. Unsure
Quote Reply
Re: [knewt] modify links In reply to
hmm... looking at that template (it's modify_select.html right?), it looks very different from the one I have here. Which template is it, and what template set, and is it the one that came with 2.0.5 or an one from an old version, or and old modified version... (you get the drift Smile).


Adrian
Quote Reply
Re: [brewt] modify links In reply to
yes it is modify_select.html from the default templates
when i upgraded to 2.05 i was asked if i wanted to skip template buids, since i have so many custom templates i said yes skip it so I don't know if that affected it. it all worked fine with 2.04 two days ago
the only thing that was modified in the html was the look. and the menu tags were removed as these are in my header anyway.
Quote Reply
Re: [knewt] modify links In reply to
things are falling apart Unsure

now when i do a search it brings up the advanced search page rather than search results.

damn, though it would be a simple upgrade
Quote Reply
Re: [knewt] modify links In reply to
ok, got the search thing fgured out I think, seems that 2.05 takes you to advanced search on search failure rather than search error page. Im sure that is in the documentation somewhere. As far as the modify page though I can not figure that one out.
continued help would be appreciated and rewarded with canadian beer!
Quote Reply
Re: [knewt] modify links In reply to
Hi,

Try changing:

<%loop link_results%>

to:

<%loop link_results_loop%>

You can use:

<%GT::Template::dump%>

to see all tags on a page.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] modify links In reply to
works perfect Alex thanks!! So what did I do wrong.

When i upgraded and was prompted to either over write templates , back up , or skip I chose skip. Would this be the source of the problem? and should I re-do the 2.0.5 upgrade ?

just want to understand this a little more, although I do appreciate the majic fix Smile
Quote Reply
Re: [knewt] modify links In reply to
Quote:
So what did I do wrong.

Nothing really. Unfortunately there have been a few template changes that you must apply. In 2.1.0, we have a better template system that will make it easier to upgrade and see what has changed in all the templates. Hopefully that should make future updates smoother.

Cheers,

Alex
--
Gossamer Threads Inc.