Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

top 5 links global

(Page 2 of 2)
> >
Quote Reply
Re: [afinlr] top 5 links global In reply to
Quote:
This is a problem with the review script which I have been trying to get sorted.

See http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=194154

The only way that I have been able to get the correct reviews to show up is to add the <%Links::Utils::load_reviews%> tag to the top of of my review_search_results template - and this is what is giving the error on the user reviews page. I think that a proper fix would involve editing the review.pm file which I don't want to do unless someone from GT agrees that it really is a bug. I have found one other site with reviews on it which does have the same problem.

Laura.


Can you define the problem a bit more? I looked at that thread, but you are saying that links is pulling the wrong reviews? I don't see how that can be happening, if you are passing the right right ID tag. What has me wondering, is if something went wrong with your import, rather than with the links return results.

Also, you do need to grab/initialize the tags you want to use, so the <%Links::Utils::load_reviews%> tag is needed where you want to insert them. There are other ways to grab at the reviews, but the internal system seems to be using the most logical.

Review_LinkID should _uniquely_ identitfy the review as belonging to a specific link.

Just like the Cat_Links table, and others.


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] top 5 links global In reply to
Hi Pugdog,

Thanks for the reply - maybe you didn't notice but that post was actually made in May 2002 and Alex fixed the problem a long time ago. (It was pulling in the wrong reviews because it was searching using 'like' on the ID column rather than an exact match).

Thanks anyway,
Laura.
The UK High Street
Quote Reply
Re: [macbethgr] top 5 links global In reply to
Here is a similar post - just a different sort order I think:

http://www.gossamer-threads.com/...i?post=256715#256715
Quote Reply
Re: [afinlr] top 5 links global In reply to
Thanks,
It worked out fine...
George
Quote Reply
Re: [macbethgr] top 5 links global In reply to
if i have the link's id number, how do i get it to show the link's url instead?

example:
---------
14 by some_reviewer
this is a good company! dsaf sadf sdf ...
---------

but i want "14" to show the link's url instead, for example "yahoo.com"

thanks.
-simon
http://www.fatscripts.com
Quote Reply
Re: [lastsaga] top 5 links global In reply to
In Reply To:
if i have the link's id number, how do i get it to show the link's url instead?

example:
---------
14 by some_reviewer
this is a good company! dsaf sadf sdf ...
---------

but i want "14" to show the link's url instead, for example "yahoo.com"

Just replace <%ID%> with <%URL%>. That should do it =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
> >