<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Archived news stories</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Archived-news-stories-71808</link>
        <description></description>
        <pubDate>Mon, 07 Sep 2026 15:00:03 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Archived-news-stories-71808" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [MercerDesign] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210123#post2210123</link>
          <description><![CDATA[Hi,<br /><br />What's happening is that getPrevAndNextRecords() function doesn't allow for a where clause, so it's returning the next/previous record relative to the entire list, not in the archive section you want.  <br /><br />What you'll need to do is to create a news detail page specifically for viewing archive records.  You can then use a loop to figure out which records come before and after the selected record like this:<br /><br />NOTE: This code has not been tested against actual records.<br /><br /><code>list($news_pre_prepRecord, $news_pre_prepMetaData) = getRecords(array(<br />      'tableName'   =&gt; 'news_pre_prep',<br />      'where' =&gt; &quot; news_pre_prep_archive = 'summer10' &quot;<br />    ));<br />  <br />  $prevRecord = array();<br />  $nextRecord = array();<br />  <br />  $recordNumber = getNumberFromEndOfUrl();<br />  <br />  for($index = 0; $index &lt; $news_pre_prepMetaData['totalRecords']; $index++ ) {<br />    <br />    if($news_pre_prepRecord[$index]['num'] == $recordNumber ) {<br />      <br />      if($index != 0){<br />	$prevRecord = $news_pre_prepRecord[$index - 1];<br />      }<br />      <br />      if($index != ($news_pre_prepMetaData['totalRecords'] -1 )) {<br />	<br />	$nextRecord = $news_pre_prepRecords[$index + 1];<br />      }<br />    }<br />  }</code><br /><br />Hope this helps get you started.<br />]]></description>
          <pubDate>Wed, 16 Mar 2011 12:25:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210123#post2210123</guid>
        </item>
                <item>
          <title>Re: [Jason] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210121#post2210121</link>
          <description><![CDATA[I have attached the main news archive page, the archive page for 2 terms, then the detail page. Thank you for your help.<br />]]></description>
          <pubDate>Wed, 16 Mar 2011 07:06:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210121#post2210121</guid>
        </item>
                <item>
          <title>Re: [MercerDesign] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210115#post2210115</link>
          <description><![CDATA[Hi,<br /><br />If you could attach the .php files you're working with, I could take a look to see if I can make any suggestions.  This may start to get more complicated than what we can handle in the forum.  If it does, we may have to look to moving this to our consulting service.<br /><br />For now, lets take a look at the code and see what's happening there.<br /><br />Hope this helps.<br />]]></description>
          <pubDate>Tue, 15 Mar 2011 15:45:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210115#post2210115</guid>
        </item>
                <item>
          <title>Re: [Jason] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210110#post2210110</link>
          <description><![CDATA[The way it works is there is a list page for each archive, that pulls in the stories from the relevant list in the news section, there isn't an actual archive section in the CMS. Sorry I'm getting confused.<br />]]></description>
          <pubDate>Tue, 15 Mar 2011 09:49:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210110#post2210110</guid>
        </item>
                <item>
          <title>Re: [MercerDesign] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210100#post2210100</link>
          <description><![CDATA[Hi,<br /><br />Okay, I think I see what's happening.  So your archived records are actually stored in different sections.  Is that right?<br /><br />If so, the best thing to do would be to have a separate archive detail page where you pull the record from your archive section, not your news section.<br /><br />Hope this helps.<br />]]></description>
          <pubDate>Mon, 14 Mar 2011 11:32:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210100#post2210100</guid>
        </item>
                <item>
          <title>Re: [Jason] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210095#post2210095</link>
          <description><![CDATA[Here is the URL of the news archive page:<br /><br />http://www.ardingly.com/Nursery_Preprep_Schools_Sussex/Pre_Prep_News_Dates/News_term_archives.php<br /><br />If you click on one of the archives and then through to one of the stories you will see what I mean.<br /><br />Thanks.<br />]]></description>
          <pubDate>Mon, 14 Mar 2011 04:45:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210095#post2210095</guid>
        </item>
                <item>
          <title>Re: [MercerDesign] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210076#post2210076</link>
          <description><![CDATA[Hi,<br /><br />Could you provide a URL to an example demonstrating the issue?<br /><br />Thanks<br />]]></description>
          <pubDate>Fri, 11 Mar 2011 12:13:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210076#post2210076</guid>
        </item>
                <item>
          <title>Re: [Jason] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210072#post2210072</link>
          <description><![CDATA[I'm not sure how this would work, the archives are split into school terms.<br />]]></description>
          <pubDate>Fri, 11 Mar 2011 07:03:21 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210072#post2210072</guid>
        </item>
                <item>
          <title>Re: [MercerDesign] Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207233#post2207233</link>
          <description><![CDATA[Hi,<br /><br />The next/previous links will just direct you through a single record set. It would be fairly complicated to jump from one record set to another using next/previous.  <br /><br />A better solution would be to have a single archive section that had a &quot;year&quot; field so that you could order all the records by year.<br /><br />Would this work for you?<br /><br />Hope this helps.<br />]]></description>
          <pubDate>Fri, 01 Oct 2010 11:56:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207233#post2207233</guid>
        </item>
                <item>
          <title>Archived news stories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207221#post2207221</link>
          <description><![CDATA[I have archived news stories but in different archives, so for example 2010, 2009, 2008. I have next and previous links on the news detail pages to take you to the next or previous news story. This gets a bit mixed up though when you go to news detail page in an archive because the next or previous link takes you to the next or previous story in the list and not in the archive. Can anyone help.<br />]]></description>
          <pubDate>Fri, 01 Oct 2010 07:55:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207221#post2207221</guid>
        </item>
              </channel>
    </rss>
  