<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3A5fish</link>
        <description></description>
        <pubDate>Thu, 30 Apr 2026 08:37:27 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3A5fish&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Previous and next records on a Detail page?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230138#post2230138</link>
          <description><![CDATA[<p>Thank you!  Works great!</p>]]></description>
          <pubDate>Mon, 08 Apr 2013 14:21:13 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230138#post2230138</guid>
        </item>
                <item>
          <title>Previous and next records on a Detail page?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230136#post2230136</link>
          <description><![CDATA[<p>Close ...</p>
<p><a href="http://www.petersmithconstruction.ca/glistted.php" rel="nofollow">http://www.petersmithconstruction.ca/glistted.php</a></p>
<p>calls the details page and the first &amp; last links work - next &amp; previous do not work</p>
<p>code below</p>
<p>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br />  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/home/petersmi/public_html/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br /><br />  // load records<br />  list($gallerytestRecords, $gallerytestMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'gallerytest',<br />    'where'       =&gt; whereRecordNumberInUrl(33),<br />    'limit'       =&gt; '1',<br />  ));<br />  $gallerytestRecord = @$gallerytestRecords[0]; // get first record<br /><br />  // show error message if no matching record is found<br />  if (!$gallerytestRecord) {<br />    header("HTTP/1.0 404 Not Found");<br />    print "Record not found!";<br />    exit;<br />  }<br /> //Get prev/next links using the blog num <br />  list($prevRecord, $nextRecord, $firstRecord, $lastRecord) = getPrevAndNextRecords(array( <br />    'tableName' =&gt; 'gallerytest', <br />    'recordNum' =&gt; $gallerytest['num'], <br />    'orderBy'   =&gt; 'createdDate'<br />  ));<br />?&gt;</p>

<p>     &lt;!-- show previous and next links --&gt;<br />Previous Record: &lt;a href="&lt;?php echo (@$prevRecord['_link'])? $prevRecord['_link'] : '?' ; ?&gt;"&gt;Previous&lt;/a&gt;&lt;br&gt;<br />                Next Record: &lt;a href="&lt;?php echo @$nextRecord['_link']; ?&gt;" &gt;Next&lt;/a&gt; <br />                First Record: &lt;a href="&lt;?php echo (@$firstRecord['_link'])? $firstRecord['_link'] : '?' ; ?&gt;" &gt;First&lt;/a&gt; <br />                Last Record: &lt;a href="&lt;?php echo @$lastRecord['_link'] ?&gt;"&gt;Last&lt;/a&gt;&lt;br&gt;</p>

]]></description>
          <pubDate>Mon, 08 Apr 2013 12:25:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230136#post2230136</guid>
        </item>
                <item>
          <title>Previous and next records on a Detail page?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230119#post2230119</link>
          <description><![CDATA[<p>Is there a way to include links to the previous and next records on a Detail page?</p>
<p>I found</p>
<p><a href="http://www.interactivetools.com/forum/forum-posts.php?postNum=2202277#post2202277" rel="nofollow">http://www.interactivetools.com/forum/forum-posts.php?postNum=2202277#post2202277</a></p>
<p>But doesn't seem to work for me or I am missing something.</p>
]]></description>
          <pubDate>Fri, 05 Apr 2013 07:41:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230119#post2230119</guid>
        </item>
                <item>
          <title>Re: [chris] gallery</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206787#post2206787</link>
          <description><![CDATA[Awesome!  Much appreciated.<br />Ted<br />]]></description>
          <pubDate>Mon, 13 Sep 2010 18:26:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206787#post2206787</guid>
        </item>
                <item>
          <title>Re: [5fish] gallery</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206781#post2206781</link>
          <description><![CDATA[It works!  except for the fact that I cannot get my thumbnails to display.  They end up in the thumbs directory, but whenever I select create thumbnails, it displays the thumbnails in the &quot;detail&quot; page as well as the list page.<br />If I don't select create thumbnails I do not get a thumbnail on &quot;list&quot; page but I do get the image to display properly on &quot;detail&quot; page.<br />List page = http://www.petersmithconstruction.ca/glist.php<br />-------------------<br />The way it is now - I get an error on &quot;detail&quot; page as follows (I assume I am missing an arguement)<br /><br />Notice: Undefined variable: record in /home/.sites/145/site102/web/gallerydetail.php on line 81 Warning: Invalid argument supplied for foreach() in /home/.sites/145/site102/web/gallerydetail.php on line 81 <br />-------------------<br /><br />Do I need a separate thumbnail upload?<br />]]></description>
          <pubDate>Mon, 13 Sep 2010 16:35:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206781#post2206781</guid>
        </item>
                <item>
          <title>Re: [chris] gallery</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206765#post2206765</link>
          <description><![CDATA[Exactly!  Thank you!<br />]]></description>
          <pubDate>Mon, 13 Sep 2010 10:08:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206765#post2206765</guid>
        </item>
                <item>
          <title>Re: [chris] gallery</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206764#post2206764</link>
          <description><![CDATA[Thank you Chris<br />Both docs pasted below<br />======================  <br /><br />&lt;title&gt;&lt;/title&gt;<br />  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;<br />  &lt;style type=&quot;text/css&quot;&gt;<br />    body          { font-family: arial; }<br />    .instructions { border: 3px solid #000; background-color: #EEE; padding: 10px; text-align: left; margin: 25px}<br />  &lt;/style&gt;<br /> &lt;/head&gt;<br />&lt;body&gt;<br /><br />  &lt;!-- INSTRUCTIONS --&gt;<br />    &lt;div class=&quot;instructions&quot;&gt;<br />      &lt;b&gt;Sample List Viewer - Instructions:&lt;/b&gt;<br />      &lt;ol&gt;<br />        &lt;?php  ?&gt;<br />        &lt;li&gt;&lt;b&gt;Remove any fields you don't want displayed.&lt;/b&gt; (Most list pages only have title and link fields.)&lt;/li&gt;<br />        &lt;li&gt;Rearrange remaining fields to suit your needs.&lt;/li&gt;<br />        &lt;li&gt;Copy and paste code into previously designed page (or add design to this page).&lt;/li&gt;<br />      &lt;/ol&gt;<br />    &lt;/div&gt;<br />  &lt;!-- /INSTRUCTIONS --&gt;<br /><br />  &lt;!-- STEP2: Display Records (Paste this where you want your records to be listed) --&gt;<br />    &lt;h1&gt;Gallery - List Page Viewer&lt;/h1&gt;<br />    &lt;?php foreach ($galleryRecords as $record): ?&gt;<br />      Record Number: &lt;?php echo $record['num'] ?&gt;&lt;br/&gt;<br />      Title: &lt;?php echo $record['title'] ?&gt;&lt;br/&gt;<br />      Content: &lt;?php echo $record['content'] ?&gt;&lt;br/&gt;<br />      Photo Description: &lt;?php echo $record['photo_description'] ?&gt;&lt;br/&gt;<br />      _link : &lt;a href=&quot;&lt;?php echo $record['_link'] ?&gt;&quot;&gt;&lt;?php echo $record['_link'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br /><br />      &lt;!-- STEP 2a: Display Uploads for field 'photo_image' (Paste this anywhere inside STEP2 to display uploads) --&gt;<br />        &lt;!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 --&gt;<br />        &lt;?php foreach ($record['photo_image'] as $upload): ?&gt;<br />          &lt;?php if ($upload['hasThumbnail']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['thumbUrlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['thumbWidth'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['thumbHeight'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php elseif ($upload['isImage']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['width'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['height'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php else: ?&gt;<br />            &lt;a href=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot;&gt;Download &lt;?php echo $upload['filename'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br />          &lt;?php endif ?&gt;<br />        &lt;?php endforeach ?&gt;<br />      &lt;!-- STEP2a: /Display Uploads --&gt;<br /><br /><br /><br />      &lt;!-- STEP 2a: Display Uploads for field 'photos' (Paste this anywhere inside STEP2 to display uploads) --&gt;<br />        &lt;!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 --&gt;<br />        &lt;?php foreach ($record['photos'] as $upload): ?&gt;<br />          &lt;?php if ($upload['hasThumbnail']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['thumbUrlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['thumbWidth'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['thumbHeight'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php elseif ($upload['isImage']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['width'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['height'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php else: ?&gt;<br />            &lt;a href=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot;&gt;Download &lt;?php echo $upload['filename'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br />          &lt;?php endif ?&gt;<br />        &lt;?php endforeach ?&gt;<br />      &lt;!-- STEP2a: /Display Uploads --&gt;<br /><br /><br />      &lt;hr/&gt;<br />    &lt;?php endforeach ?&gt;<br /><br />    &lt;?php if (!$galleryRecords): ?&gt;<br />      No records were found!&lt;br/&gt;&lt;br/&gt;<br />    &lt;?php endif ?&gt;<br />  &lt;!-- /STEP2: Display Records --&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;<br /><br />==================================<br /><br />&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br />  <br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/home/.sites/145/site102/web/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once(&quot;$dir$libraryPath&quot;)) { break; }}<br />  if (!function_exists('getRecords')) { die(&quot;Couldn't load viewer library, check filepath in sourcecode.&quot;); }<br /><br />  // load records<br />  list($galleryRecords, $galleryMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'gallery',<br />    'where'       =&gt; whereRecordNumberInUrl(1),<br />    'limit'       =&gt; '1',<br />  ));<br />  $galleryRecord = @$galleryRecords[0]; // get first record<br /><br />  // show error message if no matching record is found<br />  if (!$galleryRecord) {<br />    header(&quot;HTTP/1.0 404 Not Found&quot;);<br />    print &quot;Record not found!&quot;;<br />    exit;<br />  }<br /><br />?&gt;<br />&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br /> &lt;head&gt;<br />  &lt;title&gt;&lt;/title&gt;<br />  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;<br />  &lt;style type=&quot;text/css&quot;&gt;<br />    body          { font-family: arial; }<br />    .instructions { border: 3px solid #000; background-color: #EEE; padding: 10px; text-align: left; margin: 25px}<br />  &lt;/style&gt;<br /> &lt;/head&gt;<br />&lt;body&gt;<br /><br />  &lt;!-- INSTRUCTIONS --&gt;<br />    &lt;div class=&quot;instructions&quot;&gt;<br />      &lt;b&gt;Sample Detail Page Viewer - Instructions:&lt;/b&gt;<br />      &lt;ol&gt;<br />        &lt;?php  ?&gt;<br />        &lt;li&gt;&lt;b&gt;Remove any fields you don't want displayed.&lt;/b&gt;&lt;/li&gt;<br />        &lt;li&gt;Rearrange remaining fields to suit your needs.&lt;/li&gt;<br />        &lt;li&gt;Copy and paste code into previously designed page (or add design to this page).&lt;/li&gt;<br />      &lt;/ol&gt;<br />    &lt;/div&gt;<br />  &lt;!-- /INSTRUCTIONS --&gt;<br /><br />  &lt;!-- STEP2: Display Records (Paste this where you want your records to be listed) --&gt;<br />    &lt;h1&gt;Gallery - Detail Page Viewer&lt;/h1&gt;<br />      Record Number: &lt;?php echo $galleryRecord['num'] ?&gt;&lt;br/&gt;<br />      Title: &lt;?php echo $galleryRecord['title'] ?&gt;&lt;br/&gt;<br />      Content: &lt;?php echo $galleryRecord['content'] ?&gt;&lt;br/&gt;<br />      Photo Description: &lt;?php echo $galleryRecord['photo_description'] ?&gt;&lt;br/&gt;<br />      _link : &lt;a href=&quot;&lt;?php echo $galleryRecord['_link'] ?&gt;&quot;&gt;&lt;?php echo $galleryRecord['_link'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br /><br />      &lt;!-- STEP 2a: Display Uploads for field 'photo_image' (Paste this anywhere inside STEP2 to display uploads) --&gt;<br />        &lt;!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 --&gt;<br />        &lt;?php foreach ($galleryRecord['photo_image'] as $upload): ?&gt;<br />          &lt;?php if ($upload['hasThumbnail']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['thumbUrlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['thumbWidth'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['thumbHeight'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php elseif ($upload['isImage']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['width'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['height'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php else: ?&gt;<br />            &lt;a href=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot;&gt;Download &lt;?php echo $upload['filename'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br />          &lt;?php endif ?&gt;<br />        &lt;?php endforeach ?&gt;<br />      &lt;!-- STEP2a: /Display Uploads --&gt;<br /><br /><br /><br />      &lt;!-- STEP 2a: Display Uploads for field 'photos' (Paste this anywhere inside STEP2 to display uploads) --&gt;<br />        &lt;!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 --&gt;<br />        &lt;?php foreach ($galleryRecord['photos'] as $upload): ?&gt;<br />          &lt;?php if ($upload['hasThumbnail']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['thumbUrlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['thumbWidth'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['thumbHeight'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php elseif ($upload['isImage']): ?&gt;<br />            &lt;img src=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot; width=&quot;&lt;?php echo $upload['width'] ?&gt;&quot; height=&quot;&lt;?php echo $upload['height'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;br/&gt;<br /><br />          &lt;?php else: ?&gt;<br />            &lt;a href=&quot;&lt;?php echo $upload['urlPath'] ?&gt;&quot;&gt;Download &lt;?php echo $upload['filename'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br />          &lt;?php endif ?&gt;<br />        &lt;?php endforeach ?&gt;<br />      &lt;!-- STEP2a: /Display Uploads --&gt;<br /><br /><br />      &lt;hr/&gt;<br />    &lt;?php if (!$galleryRecord): ?&gt;<br />      No record found!&lt;br/&gt;&lt;br/&gt;<br />    &lt;?php endif ?&gt;<br />  &lt;!-- /STEP2: Display Records --&gt;<br /><br />  &lt;a href=&quot;&lt;?php echo $galleryMetaData['_listPage']; ?&gt;&quot;&gt;&amp;lt;&amp;lt; Back to list page&lt;/a&gt; - <br />  &lt;a href=&quot;mailto:?subject=&lt;?php echo thisPageUrl() ?&gt;&quot;&gt;Email this Page&lt;/a&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br />]]></description>
          <pubDate>Mon, 13 Sep 2010 10:06:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206764#post2206764</guid>
        </item>
                <item>
          <title>gallery</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2206687#post2206687</link>
          <description><![CDATA[Q1/ Trying to create a gallery which when clicking on a List Page Viewer page thumbnail image will give me a page with the original image on the Detail Page Viewer.  I am new to this ... I have the List Page Viewer page created but the thumbnails seem permanent!  <br /><br />http://www.petersmithconstruction.ca/gallerylist.php<br /><br />Q2/ Would like to have thumbnails in a table format and be able to link from one List Page Viewer page to a 2nd and so on.<br />]]></description>
          <pubDate>Thu, 09 Sep 2010 18:10:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2206687#post2206687</guid>
        </item>
              </channel>
    </rss>
  