Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Creating list of isPaidLink outside of a category

Quote Reply
Creating list of isPaidLink outside of a category
I'm hoping someone can help me again, I posted a message a few months ago enquiring about customizing the way paid links are displayed. We managed to get this to work on a category level by doing a simple check for the isPaidLink flag and then running a loop of links to display at the top of that category.

I am having some trouble with getting a list/pool of paid ads from all categories to display on the home/landing page of the classifieds section.

We have set up something similar before in that we have a premium membership function running and ads that are submitted by these premium members are displayed on the home page from the following query:

Code:
<%RC::Classifieds::query(prefix => "newads", mh => 5, paid_status => "paid","Links.Image-gt" => "a", 'sb', 'Add_Date', 'so', 'DESC' )%>
Which then goes into a link loop.

Now we're attempting to do something very similar, but instead of premium members, we want to display a list of the 3 most recent paid links, though can't seem to get it right. I am more a content manager and admin than I am anything close to a developer so my knowledge is very limited.

This is what we're currently attempting to us to fetch the paid listings to no avail:

Code:
<%RC::Classifieds::query(prefix => "featured", mh => 3, isPaidLink => "1", "Links.Image-gt" => "a", 'sb', 'Add_Date', 'so', 'DESC' )%>

<%loop featured_loop%>

<%include link_featured.html%>

<%endloop%>
At present it grabs all the featured ads, paid or unpaid, so that check for the 'isPaidLink' seems to not work.

Any assistance in helping to get only the paid links from all categories to show up on the page would be appreciated.

Attached is an image of what the home/landing page currently looks like with the premium members ads displayed above the 'paid' links, and then the current links that are being brought through that are supposed to be isPaidLinks but are actually not.
Subject Author Views Date
Thread Creating list of isPaidLink outside of a category meso 5688 Jan 16, 2013, 4:39 AM
Thread Re: [meso] Creating list of isPaidLink outside of a category
Andy 5482 Jan 16, 2013, 6:23 AM
Thread Re: [Andy] Creating list of isPaidLink outside of a category
meso 5463 Jan 16, 2013, 6:56 AM
Thread Re: [meso] Creating list of isPaidLink outside of a category
Andy 5459 Jan 16, 2013, 6:59 AM
Post Re: [Andy] Creating list of isPaidLink outside of a category
meso 4665 Jan 24, 2013, 5:54 AM