Gossamer Forum
Home : Products : Links 2.0 : Customization :

LastLink mod not working...

Quote Reply
LastLink mod not working...
Hi!

Just installed LastLink2 (the one who displays x most recent links added to Links and creates a page with the y most recent links added to Links).

Well, I get nothing.

In the home page, I get an "Unknown tag: lastlink" error.

Plus, in the build directory (ie. home dir) I get lastlink.html but it's identical to its template (ie no links are actually written).

Ideas?

You can check the errors at http://webcamworld.com/directory/ and
http://webcamworld.com/directory/lastlink.html

Thanks!!


Last edited by:

webcamworld: Sep 20, 2001, 2:03 AM
Quote Reply
Re: [webcamworld] LastLink mod not working... In reply to
Hi there,

Open site_html_templates.pl and find sub site_html_home. Insert this code:

lastlink => $lastlink,

Example:

sub site_html_home {
# --------------------------------------------------------
# This routine will build a home page. It is not meant to have any
# links on it, only subcategories.

return &load_template ('home.html', {
category => $category,
lastlink => $lastlink,
grand_total => $grand_total,
%globals
});
}

Quote Reply
Re: [reenee] LastLink mod not working... In reply to
Thanks!