Gossamer Forum
Home : Products : Links 2.0 : Discussions :

lastlink end search

Quote Reply
lastlink end search
Help me

Before everything functioned normally, I changed template now and:
The o lastlink and search system does not function in the homepage

Where it is the error in (Links mais recentes) Lastlink? It sees in action, here, the left:
http://www.meujovem.com


CGI ERROR
==========================================
Error Message : fatal error: Template: Can't find template: /home/securespace/home/meujovem/www/cgi-local/links2/admin/templates/alpha.html at /home/securespace/home/meujovem/www/cgi-local/links2/admin/Template.pm line 41.

Script Location : nph-build.cgi
Perl Version : 5.006

Thanks You
meujovem
Brazil

Last edited by:

meujovem: Apr 2, 2003, 5:48 PM
Quote Reply
Re: [meujovem] lastlink end search In reply to
Does the new template have different tags than the one you were using? <%I mean this kind of tag%>

Do you have an 'alpha.html'?

When I went to your Most Recent links, the address line shows this error:

unknown tag: build_detail_url

If you have added a new template, and put it in the links_html_templates.pl, does it use a different site_html_link? If yes, does it include this:

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


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] lastlink end search In reply to
Ok
I removed the line below of the archive links_html_templates.pl:

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

But he is not functioning. Plus some suggestion?

Attachment my file

Thanks You
meujovem
Brazil
Quote Reply
Re: [meujovem] lastlink end search In reply to
I have the archive alpha.html I, I caught of the other template old I need to Edit...

In Reply To:
Ok
I removed the line below of the archive links_html_templates.pl:

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

But he is not functioning. Plus some suggestion?

Attachment my file

Thanks You
meujovem
Brazil

Last edited by:

meujovem: Apr 3, 2003, 5:42 AM
Quote Reply
Re: [meujovem] lastlink end search In reply to
You don't have "detailed url => etc" in the stock 'site_html_link". Have you changed codes in the nph-build to use the lastlink mod? This snippet (example) is from nph-build, sub build_category_pages:

$links .= &site_html_link (%tmp);

which is telling the script to use the stock link. You would need to change this to:

$links .= &site_html_lastlink (%temp);

or you could rename the lastlink mod to link...


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] lastlink end search In reply to
Ok meujovem PerlFlunker
Thanks you

It was the Tag that was different of the other template...

Now my problem is in the search (Busca) in home is not functioning.
see in action there the search ( error )
http://www.meujovem.com

Some suggestion?
I really would be very been thankful
meujovem
Brazil
Quote Reply
Re: [meujovem] lastlink end search In reply to
...works for me...

Did you fix it? The same link reference is used in search.cgi that is used in nph-build.pl. From search.cgi:

# Go through each category of links returned, and build the HTML. Store in hash %link_output.
SETOFLINKS: foreach $setoflinks (sort keys %link_results) {
my $hits = ($#{$link_results{$setoflinks}} + 1) / ($#db_cols+1);
LINK: for ($i = 0; $i < $hits; $i++) {
$link_hits++;
if (($link_hits <= $highrange) && ($link_hits >= $lowrange)) {
%tmp = &array_to_hash ($i, @{$link_results{$setoflinks}});
$link_output{$setoflinks} .= &site_html_link (%tmp) . "\n";



Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] lastlink end search In reply to
Leonard Taylor
I do not understand because he only changed template and much thing leaves to function.
What dumb in the code of form search to leave to function?
But I would like to know really in which archives it was edited.

can I send for email (perlflunkie@linksresource.com) password and username for You to help me?
meujovem
Brazil
Quote Reply
Re: [meujovem] lastlink end search In reply to
Yes, you can send me email at that address, and I'll help you if I can? Does your search work for you? Or are you wanting it to use the the lastlink mod?


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] lastlink end search In reply to
I am wanting that the search system works correctly. The search is not functioning.

See the search in action there:
http://www.meujovem.com
meujovem
Brazil
Quote Reply
Re: [meujovem] lastlink end search In reply to
I entered you website's name in the busca box, and got this:

Sua Busca retornou 0 categorias e 6 Links.

with the links under that. Works OK...?


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] lastlink end search In reply to
Hi
I sended e-mail.. ok?
meujovem
Brazil
Quote Reply
Re: [meujovem] lastlink end search In reply to
I did not receive any mail from you... I will not be available until next week, hopefully somebody else can help you before then.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] lastlink end search In reply to
Ok Perl...
I obtained to decide my problem. but the attention was valid all that you excused for my person. I go to present below what it was giving made a mistake to serve of orientation for other people:
In the Forms in all archives HTML of template, I to substitute query2 for query..
It sees the line below:

< input type="text "size=10 name="query" class="search ">

Thanks You
meujovem
Brazil