Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Display paid links

Quote Reply
Display paid links
Hi,

Is it possible to display paid links at the top of search results in a separate block?

Something like:

-----PAID LINKS------
link1
link2
...etc.

-----REGULAR LINKS------
link10
link11
link12
...etc

Another idea would be to have only paid links appearing in the first page and start seeing regular links from the second page onwards, but I think this is not easy since page spanning is fixed.
Quote Reply
Re: [Taki-x] Display paid links In reply to
I reply to my own post in case somebody can use it:

Code:

<%set paidstart=0%>
<%set paidend=0%>
<%loop link_results_loop~%>
<%if isPaidLink%>
<%if paidstart==0%>PAID START<%set paidstart=1%><%endif%>
<%else%>
<%if paidstart==1 and paidend==0%>PAID END<%set paidend=1%><%endif%>
<%endif%>
<%include link.html%>
<%~endloop%>
Quote Reply
Re: [Taki-x] Display paid links In reply to
Thank You Very MuchTongue