Gossamer Forum
Home : Products : Links 2.0 : Customization :

Links not Showing

Quote Reply
Links not Showing
Please advise me on this:

I have a category call "Music" it shows (2) links. so I click on Music... takes me there.. but the 2 links do not show up ?? I checked the code in my webcrawler template category.html and it looks like nothing is missing (I compared it to the links original) Any suggestions, what or where should I start looking...?

------------------
P.Espinoza
Qdice.com

[This message has been edited by Patricio (edited January 22, 2000).]
Quote Reply
Re: Links not Showing In reply to
What happens when you use the original template?
Quote Reply
Re: Links not Showing In reply to
patricio,

look for this entry in your category.html template
Code:
<!-- Links in this category. -->
<%if links%>
<h2>Sitios / Links</h2>
<%links%>
<%endif%>

------------------
ciao
Nicky
mse.nicky.net
www.nicky.net/forum german forum for GT Links




[This message has been edited by Nicky (edited January 18, 2000).]
Quote Reply
Re: Links not Showing In reply to
Hi guys...

Andrew, I used the original webcrawler template... no links Frown

Nicky, I checked the code and this is what the original and my custom category.html template has (besides the HTML)looks right! right?

----code-----
<P>
<%if links%>
<table width="75%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top" bgcolor="#FFCC66">
<td><font face="Arial,Helvetica" size="-1"><b> Links</b></font></td>
</tr>
<tr><td height="4"><spacer type="block" width="1" height="4"></td></tr>
</table><font face="Arial,Helvetica" size="-1">
<%links%>
<%endif%>

---end code--- (do we care about the code before or after??)

Here is the situation:

-I have a category named "Mi Tierra (3)" (1 link in this category and 2 in a sub-category named "Musica")

-When I clicked on "Mi Tierra.." it goes to the categories page... Directories and Sub-directories are listed... but no links. ( remember one link should show under "Mi Tierra")
at URL: http://www.qdice.com/qbusca/links/pages/Mi_Tierra/

-Also, here at category: "Mi Tierra" a sub-category call "Musica" shows (2) links...

-I click on it and no links?? Also it prints a "Power by Gossamer" right under the categories ? no idea where is coming from ?
Here is the URL: http://www.qdice.com/qbusca/links/pages/Mi_Tierra/Musica/

I have left the "original template" in there for testing purposes.

What should I do next ??
Thank you in advnace for your help Smile

------------------
P.Espinoza
Qdice.com
Quote Reply
Re: Links not Showing In reply to
I would like use Webcrawler templates and have same problem too.
Quote Reply
Re: Links not Showing In reply to
Hello everyone. Just cameback from out of town (from the real Job) I was hoping anyone may have an idea of why my links are no coming up. Any feedback is greatly appreciated it. Thank you Smile


------------------
P.Espinoza
Qdice.com

[This message has been edited by Patricio (edited January 22, 2000).]

[This message has been edited by Patricio (edited January 22, 2000).]
Quote Reply
Re: Links not Showing In reply to
-->Update:

Today I replaced the webcrawler template with the original category.html Links template, but still no links are showing up ??

---Here is what the code looks like---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>

<head>
<title><%site_title%>: <%category_name%></title>

<%if meta_name%>
<meta name="description" content="<%meta_name%>">
<%endif%>
<if meta_keywords%>
<meta name="keywords" content="<%meta_keywords%>">
<%endif%>

<link rel=stylesheet href="<%build_root_url%>/links.css" type="text/css" title="<%site_title%> style sheet">
</head>
<body>

<p><strong class="title"> <%title_linked%> </strong></p>

<h1><%site_title%>: <%category_clean%></h1>

<p><small class="menu">|
<a class="menulink" href="<%build_root_url%>">Home</a> |
<a class="menulink" href="<%db_cgi_url%>/add.cgi">Add a Site</a> |
<a class="menulink" href="<%db_cgi_url%>/modify.cgi">Modify a Site</a> |
<a class="menulink" href="<%build_root_url%>/New">What's New</a> |
<a class="menulink" href="<%build_root_url%>/Cool">What's Cool</a> |
<a class="menulink" href="<%build_root_url%>/Ratings">Top Rated</a> |
<a class="menulink" href="<%db_cgi_url%>/jump.cgi?ID=random">Random Link</a> |
<a class="menulink" href="<%db_cgi_url%>/search.cgi">Search</a> |
</small></p>

<!-- Subcategories-->
<%if category%>
<h2>Categories:</h2>
<%category%>
<%endif%>

<!-- Links in this category. -->
<%if links%>
<h2>Links: </h2>
<%links%>
<%endif%>

<!-- Next/Previous links if spanning pages. -->
<p align=center>
<%if prev%>
<small><a href="<%prev%>">Prev <%build_links_per_page%></a></small>
<%endif%>
<%if next%>
<small><a href="<%next%>">Next <%build_links_per_page%></a></small>
<%endif%>
</p>

<!-- Related Categories -->
<%if related%>
<h2>Related Categories:</h2>
<ul><%related%></ul>
<%endif%>

<!-- Search Bar -->
<form action="<%db_cgi_url%>/search.cgi" method="GET">
<h2>Search</h2>
<div class="margin">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><strong class="search">Looking for something in particular?</strong></td></tr>
<tr><td><input type="text" size=15 name="query"> <input type=submit value="Search!"></td></tr>
<tr><td><small class="more"><a href="<%db_cgi_url%>/search.cgi">More search options</a></small></td></tr>
</table>
</div>
</form>

<p><small class="update">Pages Updated On: <%date%> - <%time%><br>
Links Engine 2.0 By: <a href="http://www.gossamer-threads.com/">Gossamer Threads Inc.</a></small></p>

</body>
</html>

-----end code---

Any suggestions ??



------------------
P.Espinoza
Qdice.com
Quote Reply
Re: Links not Showing In reply to
Hello, hoping anyone may have some direction on this. Thank you in advance, Pat Smile

------------------
P.Espinoza
Qdice.com
Quote Reply
Re: Links not Showing In reply to
The only thing I can of is to make sure that <%links%> is defined in the sub site_html_category routine in the site_html_templates.pl file. Since many of the tags are different in this template, there is a possibility that the <%links%> tag is also defined differently in the sub-routine I just mentioned.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: Links not Showing In reply to
Thank you for your feedback Eliot... here is what my sub site_html_category routine in the site_html_templates.pl looks like (I didn't see anything do you ?)

----code-----
# This rountine will build a page based for the current category.

return &load_template ( 'category.html', {
Date => $date,
time => $time,
Time => $time,
category => $category,
Category => $category,
links => $links,
Links => $links,
title_linked => $title_linked,
title_link => $title_linked,
title => $title,
Title => $title,
total => $total,
Total => $total,
grand_total => $grand_total,
Grand_Total => $grand_total,
category_name => $category_name,
category_name_escaped => $category_name_escaped,
category_clean => $category_clean,
description => $description,
Description => $description,
meta_name => $meta_name,
meta_keywords => $meta_keywords,
header => $header,
footer => $footer,
prev => $prev,
Prev => $prev,
next => $next,
Next => $next,
related => $related,
Related => $related,
build_links_per_page => $build_links_per_page,
%globals
} );
}



------------------
P.Espinoza
Qdice.com
Quote Reply
Re: Links not Showing In reply to
You have duplicate tag defintions. Do you see it or not? I would recommend using your regular site_html_templates.pl file and see if that works. No wonder your links aren't appearing. Your nph-build.cgi file is confused! It doesn't know what to do based on the duplicate tag definitions!

I would also use your regular nph-build.cgi file, NOT the one that came with the template Mod.

If not, change the codes you have to the following:

Code:
sub site_html_category {
# --------------------------------------------------------
# This rountine will build a page based for the current category.

return &load_template ( 'category.html', {
date => $date,
time => $time,
category => $category,
links => $links,
title_linked => $title_linked,
title => $title,
total => $total,
grand_total => $grand_total,
category_name => $category_name,
category_name_escaped => $category_name_
escaped,
category_clean => $category_clean,
description => $description,
meta_name => $meta_name,
meta_keywords => $meta_keywords,
prev => $prev,
next => $next,
related => $related,
build_links_per_page => $build_links_per
_page,
%globals
} );

Really hope this helps!

Regards,


------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: Links not Showing In reply to
Thank you Eliot,

I'm goign to review the original site_html_template.pl and compare.... However I have made so many changes to my site_html_templates.pl that I going to first try taking out the "double" tags. (I did notice them but that is the way the Webcrawler template came ?? so I though it was right ??)

Question...

Quote:
-------------
I would also use your regular nph-build.cgi file, NOT the one that came with the template Mod.
----------

How or will this affect my modified Webcrawler templates at all?

Will have an update tomorrow to how I did.
Thank you again for your help//

------------------
P.Espinoza
Qdice.com
Quote Reply
Re: Links not Showing In reply to
Well, I do not use the other templates, but I do know that a few have unique nph-build.cgi files that have unique variables and also unique tags defined in the site_html_templates.pl file.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: Links not Showing In reply to
Fixed !!!!!! Smile Smile Smile

Got it Eliot, I did tried everything you suggested and more but it wasn't it.

After reviewing my site_html_template.pl for the billion time, I found under %globals an extra links => $links, it was with other globals that I had added for my own use, I took the extra tag out and... voilá !!!! it works !!!

You did point me the right way Smile thanks a lot. Case closed !

(pd: the double tags are all over the webcrawler template actually they are not really double - I think ?- they just tale double imputs.. so you ca use %Categories% or %categories% Why...? have no idea, but it works )

------------------
P.Espinoza
Qdice.com

[This message has been edited by Patricio (edited January 25, 2000).]
Quote Reply
Re: Links not Showing In reply to
Those tags are duplicates and also not usable to other LINK users.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------