<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Featured Listing Requirement</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Featured-Listing-Requirement-70105</link>
        <description></description>
        <pubDate>Mon, 17 Aug 2026 13:46:01 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Featured-Listing-Requirement-70105" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [ross] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197953#post2197953</link>
          <description><![CDATA[Hi Ross, <br /><br />That worked perfectly and gave another insight into what we can do with the program, great for the learning curve. <br /><br />  <br /><br />Thanks again<br />]]></description>
          <pubDate>Thu, 25 Jun 2009 02:30:36 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197953#post2197953</guid>
        </item>
                <item>
          <title>Re: [willydoit] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197901#post2197901</link>
          <description><![CDATA[Hi there.<br /><br />Thanks for posting your template :). What we need is a second list of items from your &quot;serviced_accommodation&quot; but this one is one for featured listings.<br /><br />To start off with, you'll need to add a new viewer. That will need to go up at the top of your page and look something like this:<br /><br /><code>	// load featured listings<br />  list($serviced_accommodationRecordsFeatured, $serviced_accommodationMetaDataFeatured) = getRecords(array(<br />    'tableName'   =&gt; 'serviced_accommodation',<br />    'orderBy'     =&gt; 'RAND()',<br />		'where'				=&gt; 'featured = 1',<br />  ));</code><br /><br />It's pretty much the same as the other one you already have there but see how I added in the where featured = 1.<br /><br />The only thing is that I don't know what your featured field is called. You'll need to make sure you change that if yours is different. <br /><br />Now, to display the items from that list, you use this foreach loop:<br /><br /><code>&lt;?php foreach ($serviced_accommodationRecordsFeatured as $record): ?&gt;<br />a bunch of code goes here <br />&lt;?php endforeach; ?&gt;</code><br /><br />And that's all there is to it. Give this a shot and let me know how you make out :).<br />]]></description>
          <pubDate>Tue, 23 Jun 2009 15:11:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197901#post2197901</guid>
        </item>
                <item>
          <title>Re: [isdoo] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197875#post2197875</link>
          <description><![CDATA[Hi Isdoo, <br /><br />Thanks for that information, we are close to releasing the new version of the site so may not get around to rectifying that at this late stage but really appreciate your bringing it to my attention.<br />]]></description>
          <pubDate>Sat, 20 Jun 2009 02:15:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197875#post2197875</guid>
        </item>
                <item>
          <title>Re: [willydoit] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197863#post2197863</link>
          <description><![CDATA[Hi,<br /><br />Just to let you know on your page - http://www.bridlington.net/bridlington-accommodation.htm - if you click on 'Holidays in Bridlington', the page opens in frame. (sorry I can't help on your issue mind).<br />]]></description>
          <pubDate>Fri, 19 Jun 2009 13:03:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197863#post2197863</guid>
        </item>
                <item>
          <title>Re: [ross] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197852#post2197852</link>
          <description><![CDATA[HI Ross, <br /><br />I have attached one of our templates, we use different ones for each section, serviced. self catering, caravan parks etc but they are all based on the same layout so I am sure If I can get one working I will be able to transpose the code to the other templates, hope this helps.<br />]]></description>
          <pubDate>Fri, 19 Jun 2009 02:33:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197852#post2197852</guid>
        </item>
                <item>
          <title>Re: [willydoit] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197845#post2197845</link>
          <description><![CDATA[Hi there.<br /><br />Thanks for the update!<br /><br />What you'll need to do is have two different viewer blocks on that page. One will display your featured listings and the other will display your regular listings.<br /><br />One thing that would really help is if you could attach a copy of your template to a post so I can use the same code as you.<br /><br />Thanks!<br />]]></description>
          <pubDate>Thu, 18 Jun 2009 15:03:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197845#post2197845</guid>
        </item>
                <item>
          <title>Re: [willydoit] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197831#post2197831</link>
          <description><![CDATA[<font size="3">[font &quot;Consolas&quot;]Hi Ross,</span></font> <br /><br />[font &quot;Consolas&quot;]<font size="3">Further to your email, </font></span><font size="3">[font &quot;Consolas&quot;]I already have a featured listing checkbox set up which can only be amended by an admin user which is featured_listing I would like to try to get to grips with a bit of the coding but appreciate that it's not your job to teach me but would be happy to have a go if you think it's basic enough to be within my limited ability.</span></font><br />]]></description>
          <pubDate>Thu, 18 Jun 2009 10:33:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197831#post2197831</guid>
        </item>
                <item>
          <title>Re: [ross] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197823#post2197823</link>
          <description><![CDATA[Hi Ross, <br /><br />sent an email but havent received a response, have sent it again this morning if you could keep a look out for it. <br /><br />Thanks<br />]]></description>
          <pubDate>Thu, 18 Jun 2009 00:51:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197823#post2197823</guid>
        </item>
                <item>
          <title>Re: [willydoit] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197774#post2197774</link>
          <description><![CDATA[Hi there.<br /><br />To get the ball rolling on us doing that for you, could you email through consulting@interactivetools.com? Perhaps just stick a link to this forum thread in there and then a link to your HTML mock up.<br /><br />Thanks!<br />]]></description>
          <pubDate>Tue, 16 Jun 2009 15:11:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197774#post2197774</guid>
        </item>
                <item>
          <title>Re: [ross] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197761#post2197761</link>
          <description><![CDATA[Hi Ross, <br /><br />Sounds like this is going to be beyond my cut and paste abilities, I am not sure whether the featured listing is likely to cause us more hassles than it is worth, particularly at a credit crunch time when advertisers are trying to reduce their costs as much as possible, so it's implementation is likely to be decided upon creation costs. Could you let me know how much we are likely to be looking at to create the required coding so that we can just cut and paste it into other sections. <br /><br />Thanks in advance<br />]]></description>
          <pubDate>Tue, 16 Jun 2009 02:12:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197761#post2197761</guid>
        </item>
                <item>
          <title>Re: [willydoit] Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197753#post2197753</link>
          <description><![CDATA[Hi there.<br /><br />Thanks for posting!<br /><br />What you could do there is setup two viewers for the same page. One viewer would have a &quot;where featured = 1&quot; option in it and the other would just be your regular viewer. Of course, they would both have the sort by rand() option.<br /><br />Then, you just use the viewer code from the one that only has featured listings display first then have the regular one go second. You can use an &quot;if&quot; to make the &lt;hr&gt; only show when there are in fact featured listings.<br /><br />Let me know what you think :).<br /><br />Setup a mockup first and then we can start going over things in some more detail.<br />]]></description>
          <pubDate>Mon, 15 Jun 2009 10:47:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197753#post2197753</guid>
        </item>
                <item>
          <title>Featured Listing Requirement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197736#post2197736</link>
          <description><![CDATA[Hi All, <br /><br />Using cms to display accommodation listings, Hotels etc I am looking to add the facility to provide clients with a featured listing option which would ensure that featured listings apeared at the top of the page so in effect the page is divided into two, just seperated by a horizontal line, with any/all featured listings above the horizontal line and standard listings below it, I do however have a couple of criteria whech needs to be met; <br /><br />1) At present the list is generated randomly which works fine and changes on each refresh which is how we need it so random listings need to remain. <br /><br />2) If a listing is a featured listing it needs to appear at the top of this list, but we need to cater for any number of featured listings, all of which must appear in the list before a standard listing and above the horizontal line. <br /><br />3) The featured listings section must also be randomized on each page load so that each refresh gives a different listing order to both the featured and standard sections. <br /><br />4) As we havent offered a featured listing facility yet we would only want the featured listing section to display if a featured listing existed in the table so hopefully the page would display as normal if no featured listings have been purchased, if a featured listing exists then the section would be added with suitable text headlining the featured listing section. <br /><br />An acceptable alternative would be to be able to add an animated gif option to display in the listing of any featured account if this would be easier, but again we need to ensure that featured appeared at the top of the list and randomly within other featured listings. <br /><br />I feel sure this has already been done but need to check to see if it can be done while retaining the random element to both sections as this is important to our clients and our only reason for upgrading from listings manager. <br /><br />As stated in earlier posts, we have no php coding knowledge but are pretty good at cut and paste so any help would be appreciated. <br /><br />Thanks in advance<br />]]></description>
          <pubDate>Fri, 12 Jun 2009 03:04:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197736#post2197736</guid>
        </item>
              </channel>
    </rss>
  