<?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%3AtCote</link>
        <description></description>
        <pubDate>Tue, 26 May 2026 09:06:26 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3AtCote&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Database deleted in error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239548#post2239548</link>
          <description><![CDATA[<p>Backup and running. Thanks for the help. Very much appreciated. </p>]]></description>
          <pubDate>Fri, 23 Sep 2016 11:43:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239548#post2239548</guid>
        </item>
                <item>
          <title>Database deleted in error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239542#post2239542</link>
          <description><![CDATA[<p>I am going to assume I need to create the database once again in Cpanel. As I stated it was completely removed. Also the Information Schema is present and  shows in MyPhpAdmin. </p>]]></description>
          <pubDate>Fri, 23 Sep 2016 08:46:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239542#post2239542</guid>
        </item>
                <item>
          <title>Database deleted in error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239512#post2239512</link>
          <description><![CDATA[<p>Have an issue where a cms database was deleted in error with database actually being gone. While trying to access any page I get "<span>MySQL Error: Access denied for user '*****_scaledat'@'localhost' to database '******_cms'"</span></p>
<p>The information schema is present as Basic Auto template was used. I also have backups that were created from the admin section and all site files are still present. Only the database itself was deleted. How would I go about restoring this mess? </p>]]></description>
          <pubDate>Fri, 16 Sep 2016 04:10:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239512#post2239512</guid>
        </item>
                <item>
          <title>Adding to sort order</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239037#post2239037</link>
          <description><![CDATA[<p>Thank you. </p>]]></description>
          <pubDate>Wed, 08 Jun 2016 10:37:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239037#post2239037</guid>
        </item>
                <item>
          <title>Adding to sort order</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239035#post2239035</link>
          <description><![CDATA[<p>On my listing page I have the default sort order to sort from date. In my listings I have a field named stock_number. How would I add this field to the present sort code so that it sorts by date first and then stock number? </p>
<p>Thanks</p>

<p>list($listingRecords, $listingDetails) = getRecords(array(<br /> 'tableName' =&gt; 'listings',<br /> 'perPage' =&gt; '10',<br /> 'orderBy' =&gt; 'createdDate DESC'</p>]]></description>
          <pubDate>Wed, 08 Jun 2016 08:36:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239035#post2239035</guid>
        </item>
                <item>
          <title>Edit Button</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238906#post2238906</link>
          <description><![CDATA[<p>That works. I had tried changing the line to listing but it didn't work Think I missed something. Thank you very much, works great. </p>]]></description>
          <pubDate>Thu, 19 May 2016 16:30:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238906#post2238906</guid>
        </item>
                <item>
          <title>Edit Button</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238904#post2238904</link>
          <description><![CDATA[<p>Only for each loop is within the uploads section and rest of the page is php echo. This is setup using the basic car template you sell. </p>

<p>&lt;?php<br /> /* STEP 1: LOAD RECORDS - Copy this PHP code block to the TOP of your page BEFORE anything else. */<br /> require_once "init.php";</p>
<p>list($listingRecords, $listingDetails) = getRecords(array(<br /> 'tableName' =&gt; 'listings',<br /> 'joinTable' =&gt; 'homepages',<br /> 'where' =&gt; whereRecordNumberInUrl(1),<br /> 'limit' =&gt; '1',<br /> ));<br /> $listing = @$listingRecords[0];</p>
<p><br /> if (!$listing) { print "listingsRecord not found!"; exit; }</p>
<p>?&gt;<br />&lt;?php include "include_header.php"; ?&gt;</p>
<p><br />&lt;div class="subheader"&gt;View : &lt;?php echo $listing['vehicle'] ?&gt;&lt;/div&gt;&lt;br/&gt;</p>
<p>&lt;table border="0" cellspacing="0" cellpadding="2" width="590"&gt;<br /> &lt;tr&gt;<br /> &lt;td rowspan="20" valign="top" align="center" width="165"&gt;</p>
<p>PHOTOS&lt;br/&gt;<br />&lt;b&gt;Click photo to enlarge&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;</p>
<p>&lt;?php foreach ($listing['uploads'] as $upload): ?&gt;<br /> &lt;?php if ($upload['hasThumbnail']): ?&gt;<br /> &lt;a href="&lt;?php echo $upload['urlPath'] ?&gt;"&gt;&lt;img src="&lt;?php echo $upload['thumbUrlPath'] ?&gt;" width="&lt;?php echo $upload['thumbWidth'] ?&gt;" height="&lt;?php echo $upload['thumbHeight'] ?&gt;" border="0" title="&lt;?php echo $upload['info1'] ?&gt;" alt="&lt;?php echo $upload['info2'] ?&gt;" /&gt;&lt;/a&gt;&lt;br/&gt;<br /> &lt;?php echo $upload['info3'] ?&gt;&lt;br/&gt;<br /> &lt;?php endif ?&gt;<br /> &lt;?php endforeach ?&gt;</p>
<p>&lt;?php if (!$listing['uploads']): /* if no uploads show this: */ ?&gt;<br /> &lt;table cellspacing="0" cellpadding="0" width="150" class="noPhoto" style="height: 100px"&gt;<br /> &lt;tr&gt;&lt;td bgcolor="#EEEEEE" align="center"&gt;&lt;b&gt;Photo&lt;br/&gt;Not&lt;br/&gt;Available&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;?php endif; ?&gt;</p>
<p><br /> &lt;/td&gt;<br /> &lt;td valign="top"&gt;<br /> &lt;div class="separatorBar" style="padding: 3px 3px 3px 3px;"&gt;<br /> &lt;div style="float: right;"&gt;&lt;b&gt;Price&lt;/b&gt; $&lt;?php echo number_format($listing['price']); ?&gt;&lt;/div&gt;<br /> &lt;div&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/div&gt;<br /> &lt;/div&gt; </p>
<p>&lt;?php foreach ($listing['uploads'] as $upload): ?&gt;<br /> &lt;?php if ($upload['hasThumbnail']): ?&gt;<br /> &lt;a href="&lt;?php echo $upload['urlPath'] ?&gt;" rel="lightbox['gallery']" title="&lt;?php echo $upload['info2'] ?&gt;"&gt;&lt;img src="&lt;?php echo $upload['thumbUrlPath'] ?&gt; " width="&lt;?php echo $upload['thumbWidth'] ?&gt;" height="&lt;?php echo $upload['thumbHeight'] ?&gt;" border="1" title="&lt;?php echo $upload['info1'] ?&gt;" alt="&lt;?php echo $upload['info2'] ?&gt;" /&gt;&lt;/a&gt;&lt;br/&gt;<br /> &lt;?php echo $upload['info3'] ?&gt;&lt;br/&gt;<br /> &lt;?php endif ?&gt;<br /> &lt;?php endforeach ?&gt;</p>
<p>&lt;?php if (!$listing['uploads']): /* if no uploads show this: */ ?&gt;</p>
<p><br /> &lt;table cellspacing="0" cellpadding="0" width="125" class="noPhoto" style="height: 100px"&gt;<br /> &lt;tr&gt;&lt;td bgcolor="#EEEEEE" align="center"&gt;&lt;b&gt;Photo&lt;br/&gt;Not&lt;br/&gt;Available&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;?php endif; ?&gt;</p>
<p>&lt;b&gt;&lt;u&gt;Photos Courtesy of&lt;/u&gt;&lt;/b&gt;&lt;br/&gt; &lt;?php echo $listing['photos_courtesy_of'] ?&gt;<br /> &lt;/td&gt;<br /> &lt;td valign="top"&gt;<br /> &lt;div class="separatorBar"&gt;&lt;b&gt;&lt;u&gt;Profile Details:&lt;/b&gt; - &lt;b&gt;&lt;?php echo $listing['year'] ?&gt;&lt;/b&gt; &lt;b&gt;&lt;?php echo $listing['vehicle'] ?&gt; &lt;?php echo $listing['model'] ?&gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</p>
<p>And so on</p>]]></description>
          <pubDate>Thu, 19 May 2016 15:37:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238904#post2238904</guid>
        </item>
                <item>
          <title>Edit Button</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238898#post2238898</link>
          <description><![CDATA[<p>Checking login using provided code when not logged in I get Not logged in as it should and also after logging in I get you are logged in and edit code shows correctly. However when hitting the edit button it takes me to the admin panel and blank record but first presents the login screen</p>
<p>In the developer log I get the following error. </p>
<p><span>E_NOTICE: Undefined variable: record</span><br /><span>/home/siteaddress(without.com)/public_html/listingDetail.php (line 316)</span><br /><span><a href="http://siteaddress.com/listingDetail.php?Ford-54" rel="nofollow">http://siteaddress.com/listingDetail.php?Ford-54</a></span></p>]]></description>
          <pubDate>Thu, 19 May 2016 05:04:54 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238898#post2238898</guid>
        </item>
                <item>
          <title>Edit Button</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238884#post2238884</link>
          <description><![CDATA[<p>Am I too assume that I create a link from that url and insert it in the template file using link tag?  Doing so I get the following error when trying to access a record.</p>
<p>This is the code for link. <a href="http://www.siteaddress.com/dataAdmin/admin.php?menu=listings&amp;action=edit&amp;num=" rel="nofollow">http://www.siteaddress.com/dataAdmin/admin.php?menu=listings&amp;action=edit&amp;num=</a>&lt;?php echo $recrod['num']; ?&gt;</p>
<p><span>Security Warning: A link from an external source has been detected and automatically disabled.</span><br /><span>For security links are only accepted from: <a href="http://www.siteaddress.com/dataAdmin/admin.php" rel="nofollow">http://www.siteaddress.com/dataAdmin/admin.php</a></span><br /><span>Your browser indicated that it linked from: <a href="http://www.siteaddress.com/listingDetail2.php?Chevrolet-43" rel="nofollow">http://www.siteaddress.com/listingDetail2.php?Chevrolet-43</a></span></p>]]></description>
          <pubDate>Tue, 17 May 2016 12:18:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238884#post2238884</guid>
        </item>
                <item>
          <title>Edit Button</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238873#post2238873</link>
          <description><![CDATA[<p>Wondering how hard it would be to create a function that would show an edit button that would display in a product listing. When clicked it would take you to that particular item you are viewing for editing. This would only display if a person were logged in to the CMS admin area and not show to normal users. </p>
<p>I am replacing a database of products with over 10,000 listings and from time to time some products need to be updated. This is a function that was present in the old program that we used and really was a time saver. </p>
]]></description>
          <pubDate>Fri, 13 May 2016 14:48:50 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238873#post2238873</guid>
        </item>
                <item>
          <title>If statement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238872#post2238872</link>
          <description><![CDATA[<p>Thank you. I did the same thing and had product listed in stead of produced_for as that is the field I wanted displayed. Got it working fine.</p>
<p>Thanks once again. </p>]]></description>
          <pubDate>Fri, 13 May 2016 12:47:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238872#post2238872</guid>
        </item>
                <item>
          <title>If statement</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238869#post2238869</link>
          <description><![CDATA[<p>Trying to get this line of code to work with a IF statement so it only shows when a record is present. Not sure what I keep doing wrong but cannot get it to work. </p>

<p>Model produced by &lt;?php echo $listing['manufacture'] ?&gt; for &lt;/i&gt; &lt;b&gt;&lt;?php echo $listing['produced_for'] ?&gt;</p>]]></description>
          <pubDate>Fri, 13 May 2016 09:27:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238869#post2238869</guid>
        </item>
                <item>
          <title>Getting lightbox to work</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238865#post2238865</link>
          <description><![CDATA[<p>That did the trick. Thank you very much. Very much appreciated. </p>]]></description>
          <pubDate>Thu, 12 May 2016 11:28:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238865#post2238865</guid>
        </item>
                <item>
          <title>Getting lightbox to work</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238860#post2238860</link>
          <description><![CDATA[<p>Nope, If I click on an image it will pop up in the box but will not display next image or arrows to go to next image. Here is a link to one of the pages. Click on a image you can see what happens. </p>
<p><a href="http://www.diecastdata.com/listingDetail2.php?Dodge-2" rel="nofollow">http://www.diecastdata.com/listingDetail2.php?Dodge-2</a></p>
<p>If you know of something that would work better that's OK. Just want a very simple image slide. </p>]]></description>
          <pubDate>Thu, 12 May 2016 10:51:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238860#post2238860</guid>
        </item>
                <item>
          <title>Getting lightbox to work</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238853#post2238853</link>
          <description><![CDATA[<p>Need help getting lightbox setup. Code as it is on page is below. I can get the box to pop up but images will not rotate. Don't understand where or if I need to include more code somewhere within this area. I have the lightbox script code placed within the head tags.<br /><br /> Using the basic auto template as it works beautifully for my application so the images are setup as they were in the the basic auto pack. Appreciate any help I can get. Thanks. </p>
<p><strong>Head tags</strong></p>
<p>&lt;script type="text/javascript" src="js/prototype.js"&gt;&lt;/script&gt;<br />&lt;script type="text/javascript" src="js/scriptaculous.js?load=effects"&gt;&lt;/script&gt;<br />&lt;script type="text/javascript" src="js/lightbox.js"&gt;&lt;/script&gt;</p>
<p><strong>Code as in page</strong></p>
<p>&lt;?php foreach ($listing['uploads'] as $upload): ?&gt;<br /> &lt;?php if ($upload['hasThumbnail']): ?&gt;<br /> &lt;a href="&lt;?php echo $upload['urlPath'] ?&gt;" <span style="color:#ff0000;"><strong>rel="lightbox"</strong></span>&gt;&lt;img src="&lt;?php echo $upload['thumbUrlPath'] ?&gt; " width="&lt;?php echo $upload['thumbWidth'] ?&gt;" height="&lt;?php echo $upload['thumbHeight'] ?&gt;" border="1" title="&lt;?php echo $upload['info1'] ?&gt;" alt="&lt;?php echo $upload['info2'] ?&gt;" /&gt;&lt;/a&gt;&lt;br/&gt;<br /> &lt;?php echo $upload['info3'] ?&gt;&lt;br/&gt;<br /> &lt;?php endif ?&gt;<br /> &lt;?php endforeach ?&gt;</p>
<p>&lt;?php if (!$listing['uploads']): /* if no uploads show this: */ ?&gt;<br /> &lt;table cellspacing="0" cellpadding="0" width="125" class="noPhoto" style="height: 100px"&gt;<br /> &lt;tr&gt;&lt;td bgcolor="#EEEEEE" align="center"&gt;&lt;b&gt;Photo&lt;br/&gt;Not&lt;br/&gt;Available&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;?php endif; ?&gt;</p>
<p>This is the instructions from Dynamic Drive. </p>
<p><code>&lt;a href="images/image-1.jpg" rel="lightbox" title="my caption"&gt;image #1&lt;/a&gt;</code></p>
<p>The <span><code>rel</code> </span>attribute is mandatory in order to activate the effect for this particular image. The "<code>title</code>" attribute is optional, and when defined, adds a caption beneath the enlarged image. The "href" attribute obviously should contain the path to the enlarged image. If you wish a particular caption ("<code>title</code>") to be hyperlinked to a specific URL, throw in a "<code>rev</code>" attribute pointing to the desired URL. For example:</p>
<p><code>&lt;a href="images/image-1.jpg" rel="lightbox" title="my caption" <b>rev="<a href="http://www.dynamicdrive.com" rel="nofollow">http://www.dynamicdrive.com</a>"</b>&gt;image #1&lt;/a&gt;</code></p>
<p>LightBox version 2 also adds the ability to group multiple image links together, so an image gallery is created out of the enlarged images:</p>
<p><code>&lt;a href="images/image-1.jpg" rel="lightbox[roadtrip]"&gt;image #1&lt;/a&gt; &lt;a href="images/image-2.jpg" rel="lightbox[roadtrip]"&gt;image #2&lt;/a&gt; &lt;a href="images/image-3.jpg" rel="lightbox[roadtrip]"&gt;image #3&lt;/a&gt;</code></p>
]]></description>
          <pubDate>Wed, 11 May 2016 23:01:55 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238853#post2238853</guid>
        </item>
              </channel>
    </rss>
  