<?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%3Anoahtheark</link>
        <description></description>
        <pubDate>Sun, 19 Apr 2026 13:50:36 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Anoahtheark&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Geocoder: Display photo of houses on google maps markers</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236973#post2236973</link>
          <description><![CDATA[<p>The code works!</p>
<p>Thank you for helping me with my code, the team here is really good at helping out the users, and I appreiate your time and knowledge.</p>
<p>I am still learning Php and have made allot of improvements but as you can see I am still learning.<br />Any tips on learning more about php, sites or books you used to learn?</p>
<p>Thanks again.</p>
]]></description>
          <pubDate>Thu, 25 Jun 2015 17:43:22 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236973#post2236973</guid>
        </item>
                <item>
          <title>Geocoder: Display photo of houses on google maps markers</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236933#post2236933</link>
          <description><![CDATA[<p>I am trying to make the correct house pictures show up on the google maps marker when clicked.<br /><br />The code I was using is below, I made a upload field for the listing where you had to upload a small picture of the house to make it show up in the map.</p>
<p><code>&lt;div align="left"&gt;&lt;?php echo $record['gmappicture']; ?&gt;&lt;/div&gt;</code></p>
<p>The attached picture shows more detail of what I was doing.<br /><br />What I would like to do, is use the first picture in the uploads field for each of the houses listed with a thumbnail size of 150x150 pixels in the google maps markers, instead of using the gmappicture upload field, which should be possible.<br /><br />Then I tried this code in place of the one above, but it keeps showing the same house in each of the google map markers.</p>
<p><code>&lt;div align="center"&gt;&lt;img src="&lt;?php echo $upload['urlPath'] ?&gt;" width="150" height="150" border="1" alt="&lt;?php echo $upload['info1'] ?&gt;" /&gt;&lt;/div&gt;</code></p>
<p><a href="http://www.333rent.com/gmaptest.php" rel="nofollow">http://www.333rent.com/gmaptest.php</a><br /><br /></p>
<p>Here is the code of site.</p>
<p><code>&lt;script type="text/javascript" src="code/over.js"&gt;&lt;/script&gt;<br /> &lt;script type="text/javascript" src="<a href="http://maps.google.com/maps/api/js?sensor=false" rel="nofollow">http://maps.google.com/maps/api/js?sensor=false</a>"&gt;&lt;/script&gt;<br /> &lt;script type="text/javascript"&gt;<br /> function initialize() {<br />   var mapCanvasId = 'map_canvas';<br />   var mapOptions  = { center: new google.maps.LatLng(39.0319389, -94.5304009),<br />           zoom: 10, mapTypeId: google.maps.MapTypeId.ROADMAP };<br />   var map         = new google.maps.Map(document.getElementById(mapCanvasId), mapOptions);<br />   var bounds      = new google.maps.LatLngBounds();<br />   var infowindow  = new google.maps.InfoWindow();<br /> &lt;?php<br /> foreach ($myRecords as $record) {<br />   if (!$record['latitude'] || !$record['longitude']) { continue; }<br />   $jsFunctionArgs = "{$record['latitude']}, {$record['longitude']}, {$record['num']}, '" .escapeJs($record['_link']). "'";<br />   print "  _geocoder_addMarker($jsFunctionArgs);\n";<br /> }<br /> ?&gt;<br /><br />   //<br />   function _geocoder_addMarker(latitude, longitude, recordNum, detailLink) {<br />     var latLng       = new google.maps.LatLng(latitude, longitude);<br />     var infowindowEl = document.getElementById('marker_infowindow_' + recordNum);<br />     var marker       = new google.maps.Marker({ map: map, position: latLng });<br />     google.maps.event.addListener(marker, 'click', function() {<br />       if (infowindowEl) {<br />         infowindow.setContent(infowindowEl.innerHTML);<br />         infowindow.open(map, marker);<br />       }<br />       else {<br />         window.location = detailLink;<br />       }<br />     });<br />   }<br /> }<br /><br /> &lt;/script&gt;<br /><br /> &lt;?php $hasAddresses = array_filter(array_pluck($myRecords, 'latitude')); ?&gt;<br />   &lt;?php if ($hasAddresses): ?&gt;<br />     &lt;div id="map_canvas"&gt;&lt;/div&gt;<br />   &lt;?php endif ?&gt;<br /><br />   &lt;?php if (!$hasAddresses): ?&gt;<br />     &lt;div id="map_canvas"&gt;&lt;/div&gt;<br />   &lt;?php endif ?&gt;<br />  <br />   &lt;div id="marker_details" style="display: none;"&gt;<br />     &lt;?php foreach ($myRecords as $record): ?&gt;<br /><br />       &lt;?php // marker_infowindow_### is the content displayed in the info-window on click ?&gt;<br />       &lt;div id="marker_infowindow_&lt;?php echo $record['num']; ?&gt;"&gt;<br />     &lt;table cellspacing="0" cellpadding="0" border="0" width="250" height="175"&gt;<br /> &lt;tr&gt;<br />     &lt;td valign="top"&gt;<br />         &lt;img src="img/nien.gif" width="250" height="1" alt=""&gt;<br />         &lt;div align="center"&gt;&lt;strong&gt;&lt;font size="+1"&gt;&lt;?php echo htmlspecialchars( @$record['address']); ?&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;<br />         &lt;div align="left"&gt;&lt;?php echo $record['summary']; ?&gt;&lt;/div&gt;<br />         &lt;div align="center"&gt;&lt;img src="&lt;?php echo $upload['urlPath'] ?&gt;" width="150" height="150" border="1" alt="&lt;?php echo $upload['info1'] ?&gt;" /&gt;&lt;/div&gt;    <br />         &lt;div align="center"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;?php echo $record['bedrooms']; ?&gt; x Bed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;?php echo $record['bathrooms']; ?&gt; x Bath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;<br />         &lt;div align="center"&gt;&lt;a href="&lt;?php echo $record['_link']; ?&gt;"&gt;&lt;strong&gt;VIEW PROPERTY&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;<br />     <br />     &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/div&gt;<br /> &lt;?php endforeach ?&gt;</code></p>
<p>Thank you for your help</p>]]></description>
          <pubDate>Thu, 18 Jun 2015 17:13:37 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236933#post2236933</guid>
        </item>
                <item>
          <title>Gallery for Featured Photos</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236376#post2236376</link>
          <description><![CDATA[<p>Yes this code worked, Thank you very much!</p>
<p>Sorry it took so long to reply back, was working on some more of the site.</p>
<p><span style="text-decoration:underline;">Edit</span></p>
<p>I fixed the issues by adding charset="utf-8" to the javascript code/fadeslideshow.js, weird, but it worked :)</p>
<p>Is their a way to add a descrption for the featured images like they have in the example below.<br />I think their is some way when uploading to add a description in one of the extra fields, but not sure how that works.</p>
<p>imagearray: [<br />        ["<a href="http://www.dynamicdrive.com/dynamicindex14/shockwave/images/1.jpg" rel="nofollow">http://www.dynamicdrive.com/dynamicindex14/shockwave/images/1.jpg</a>", "", "", "There is beauty to be found in nature not just in grand landscapes, but in the petals of an unassuming flower"],<br />        ["<a href="http://www.dynamicdrive.com/dynamicindex14/shockwave/images/3.jpg" rel="nofollow">http://www.dynamicdrive.com/dynamicindex14/shockwave/images/3.jpg</a>", "", "", "The iconic telephone booths of London now in a very unfamiliar place."],<br />        ["<a href="http://www.dynamicdrive.com/dynamicindex14/shockwave/images/7.jpg" rel="nofollow">http://www.dynamicdrive.com/dynamicindex14/shockwave/images/7.jpg</a>", "", "", "A piano not played is a piano that's wasting away. "],<br />        ["<a href="http://www.dynamicdrive.com/dynamicindex14/shockwave/images/4.jpg" rel="nofollow">http://www.dynamicdrive.com/dynamicindex14/shockwave/images/4.jpg</a>", "", "", "Alone and being lonely. It's a state of mind. Which one does this image evoke in you?"] //&lt;--no trailing comma after very last image element!</p>
<p>This is a different question but in the Admin &gt; Section Editors their is a Drag field where you can move the columns around.</p>
<p>Is their anyway to add that feature to the Listings section so I can rearrange the houses where I want them?</p>
<p>Thanks!</p>]]></description>
          <pubDate>Sun, 22 Mar 2015 19:35:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236376#post2236376</guid>
        </item>
                <item>
          <title>Gallery for Featured Photos</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236298#post2236298</link>
          <description><![CDATA[<p>Thanks for helping me out with my photo gallery.</p>
<p>Unfortunately the new script does not work for some reason, it does not show any images on the page.Here are the two different version on the website below.</p>
<p>The first one works, but thats just using the handcoded images.</p>
<p><a href="http://kansashousebuyers.com/slidetest1.php" rel="nofollow">http://kansashousebuyers.com/slidetest1.php</a></p>
<p>This is the new one with the changes you suggested, but no images are coming through.</p>
<p><a href="http://kansashousebuyers.com/slidetest2.php" rel="nofollow">http://kansashousebuyers.com/slidetest2.php</a></p>
<p>I have attached both files as well.<br />Not sure if I am doing something wrong here or not, but thanks for the help you are providing.</p>]]></description>
          <pubDate>Mon, 16 Mar 2015 18:20:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236298#post2236298</guid>
        </item>
                <item>
          <title>Gallery for Featured Photos</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236287#post2236287</link>
          <description><![CDATA[<p>Hello everybody<br /><br />So what I want to do is have a simple fading sliding image gallery using this code (<a href="http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm" rel="nofollow">http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm</a>) which the images would be pulled from a listing called Featured Photo which all houses have on their listing, and it would link to that specific house depending on which image is displayed.<br /><br />How I have it set up in the CMSB is under the Section Editors &gt; Listings &gt; I have a new Field Label named Featured Photo and Field Name is<br />featured_photo and field type is upload and Upload Fields info1 is Title and  info2 is Caption.<br /><br />Then when you go to listings and click modify for a house, you scroll down to the end where you can upload a photo for the Featured Photo for that specific house.<br />Each house would have a feature photo and I would like to display them in a fading gallery which would pull from the featured photo sections of each house and would be able<br />to click on them and link to their corresponding page.<br /><br />This is the code I am trying to use inside the CMSB.<br /><br /></p>
<p><code>&lt;?php<br />   // load viewer library<br />   $libraryPath = 'amcms/lib/viewer_functions.php';<br />   $dirsToCheck = array('','/','../','../../','../../../','../../../../');<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 />   if (!@$GLOBALS['GEOCODER_PLUGIN']) { die("You must activate the Geocoder plugin before you can access this page."); }<br /><br />   // get records<br />   list($myRecords, $myMetaData) = getRecords(array(<br />     'tableName' =&gt; "listings",<br />   ));<br />  <br /> ?&gt;<br /> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;<br /> &lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;<br /> &lt;head&gt;<br /> &lt;link rel="stylesheet" type="text/css" href="style_1.css" media="screen" /&gt;<br /> &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;<br /> &lt;title&gt;&lt;/title&gt;<br /> &lt;script src="<a href="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" rel="nofollow">http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js</a>"&gt;&lt;/script&gt;<br /> &lt;!-- optional touchswipe file to enable swipping to navigate slideshow --&gt;<br /> &lt;script type="text/javascript" src="code/jquery.touchSwipe.min.js"&gt;&lt;/script&gt;<br /> &lt;script type="text/javascript" src="code/fadeslideshow.js"&gt;<br /><br /> /***********************************************<br /> * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)<br /> * This notice MUST stay intact for legal use<br /> * Visit Dynamic Drive at <a href="http://www.dynamicdrive.com/" rel="nofollow">http://www.dynamicdrive.com/</a> for this script and 100s more<br /> ***********************************************/<br /><br /> &lt;/script&gt;<br /><br /> &lt;script type="text/javascript"&gt;<br /><br /> var mygallery=new fadeSlideShow({<br />     wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow<br />     dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image<br />     imagearray: [<br />         ["img/pool.jpg","<a href="http://www.linktohousepage1.php" rel="nofollow">http://www.linktohousepage1.php</a>", "_top"],<br />         ["img/cave.jpg","<a href="http://www.linktohousepage2.php" rel="nofollow">http://www.linktohousepage2.php</a>", "_top"],<br />         ["img/fruits.jpg","<a href="http://www.linktohousepage3.php" rel="nofollow">http://www.linktohousepage3.php</a>", "_top"],<br />         ["img/dog.jpg","<a href="http://www.linktohousepage4.php" rel="nofollow">http://www.linktohousepage4.php</a>", "_top"] //&lt;--no trailing comma after very last image element!<br />     ],<br />     displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},<br />     persist: false, //remember last viewed slide and recall within same session?<br />     fadeduration: 500, //transition duration (milliseconds)<br />     descreveal: "always",<br />     togglerid: ""<br /> })<br /><br /> &lt;/script&gt;<br /> &lt;script type="text/javascript" src="code/over.js"&gt;&lt;/script&gt;<br /> &lt;script type="text/javascript" src="<a href="http://maps.google.com/maps/api/js?sensor=false" rel="nofollow">http://maps.google.com/maps/api/js?sensor=false</a>"&gt;&lt;/script&gt;<br /> &lt;script type="text/javascript"&gt;<br /> function initialize() {<br />   var mapCanvasId = 'map_canvas';<br />   var mapOptions  = { center: new google.maps.LatLng(39.0319389, -94.5304009),<br />           zoom: 10, mapTypeId: google.maps.MapTypeId.ROADMAP };<br />   var map         = new google.maps.Map(document.getElementById(mapCanvasId), mapOptions);<br />   var bounds      = new google.maps.LatLngBounds();<br />   var infowindow  = new google.maps.InfoWindow();<br /> &lt;?php<br /> foreach ($myRecords as $record) {<br />   if (!$record['latitude'] || !$record['longitude']) { continue; }<br />   $jsFunctionArgs = "{$record['latitude']}, {$record['longitude']}, {$record['num']}, '" .escapeJs($record['_link']). "'";<br />   print "  _geocoder_addMarker($jsFunctionArgs);\n";<br /> }<br /> ?&gt;<br /><br />   //<br />   function _geocoder_addMarker(latitude, longitude, recordNum, detailLink) {<br />     var latLng       = new google.maps.LatLng(latitude, longitude);<br />     var infowindowEl = document.getElementById('marker_infowindow_' + recordNum);<br />     var marker       = new google.maps.Marker({ map: map, position: latLng });<br />     google.maps.event.addListener(marker, 'click', function() {<br />       if (infowindowEl) {<br />         infowindow.setContent(infowindowEl.innerHTML);<br />         infowindow.open(map, marker);<br />       }<br />       else {<br />         window.location = detailLink;<br />       }<br />     });<br />   }<br /> }<br /><br /> &lt;/script&gt;<br /><br /><br /> &lt;/head&gt;<br /><br /> &lt;body bgcolor="#8d8d8d" topmargin="0" marginheight="0" onload="initialize()"&gt;<br /> &lt;table align="center" cellspacing="0" cellpadding="0" border="0"&gt;<br /> &lt;tr&gt;<br />     &lt;td&gt;    <br /> &lt;img src="img/nien.gif" width="1" height="20" alt=""&gt;<br /> &lt;table cellspacing="0" cellpadding="0" border="0" width="945" bgcolor="#ffffff"&gt;<br /> &lt;tr&gt;<br />     &lt;td&gt;&lt;table cellspacing="0" cellpadding="0" border="0"&gt;<br /> &lt;tr&gt;<br />     &lt;td width="618" height="132"&gt;&lt;a href="index.php"&gt;&lt;img src="img/logo_top.gif" width="618" height="132" border="0" alt=""&gt;&lt;/a&gt;&lt;/td&gt;<br />     &lt;td width="327"&gt;<br />     &lt;table cellspacing="0" cellpadding="0" border="0"&gt;<br /> &lt;tr&gt;<br />     &lt;td colspan="3"&gt;&lt;img src="img/address.gif" width="327" height="66" alt=""&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;tr&gt;<br />     &lt;td colspan="3"&gt;&lt;a href="mailto:333rent@stewardshipllc.com" onmouseover="buttondown('emailbutton')" onmouseout="buttonup('emailbutton')"&gt;&lt;img src="img/email_0.gif" width="313" height="26" alt="" border="0" name="emailbutton"&gt;&lt;/a&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;tr&gt;<br />     &lt;td&gt;&lt;img src="img/blank_social.gif" width="260" height="40" alt=""&gt;&lt;/td&gt;<br />     &lt;td&gt;&lt;a href="<a href="https://twitter.com/333Rent_KC" rel="nofollow">https://twitter.com/333Rent_KC</a>" onmouseover="buttondown('twitterbutton')" onmouseout="buttonup('twitterbutton')"&gt;&lt;img src="img/twitter_0.gif" width="28" height="40" alt="" border="0" name="twitterbutton"&gt;&lt;/a&gt;&lt;/td&gt;<br />     &lt;td&gt;&lt;a href="<a href="https://www.facebook.com/333rent" rel="nofollow">https://www.facebook.com/333rent</a>" onmouseover="buttondown('facebookbutton')" onmouseout="buttonup('facebookbutton')"&gt;&lt;img src="img/facebook_0.gif" width="39" height="40" alt="" border="0" name="facebookbutton"&gt;&lt;/a&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;table cellspacing="0" cellpadding="0" border="0" width="945" height="133" bgcolor="#ffffff"&gt;<br /> &lt;tr&gt;<br />     &lt;td&gt;<br />     &lt;img src="img/nien.gif" width="1" height="14" alt=""&gt;<br />     &lt;table cellspacing="0" cellpadding="0" border="0"&gt;<br /> &lt;tr&gt;<br />     &lt;td width="14"&gt;&lt;/td&gt;<br />     &lt;td valign="top" width="628"&gt;<br />     &lt;TABLE WIDTH="100" BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0"&gt;<br /> &lt;TR&gt;<br /> &lt;TD class="tdMainImageCell"&gt;<br /> &lt;div id="fadeshow1"&gt;&lt;/div&gt;&lt;/TD&gt;<br /> &lt;/TR&gt;<br /> &lt;/TABLE&gt;<br /> &lt;/BODY&gt;<br /> &lt;/HTML&gt;</code></p>
<p>This works handcoded, but I would like to have it work within the CMSB so it can be easily updated.<br /><br />I have uploaded pictures of the backend to show you how I set that up.<br /><br />Thank you for your help.</p>]]></description>
          <pubDate>Sun, 15 Mar 2015 11:51:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236287#post2236287</guid>
        </item>
              </channel>
    </rss>
  