<?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%3Amrmzalewski</link>
        <description></description>
        <pubDate>Tue, 05 May 2026 01:35:19 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Amrmzalewski&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>NEWS- display first 50 words, how?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207609#post2207609</link>
          <description><![CDATA[Hi there, <br /><br />I was wondering if it's possible for me to generate a form which will show only first 50 words of a news entry (no images if any are included in the main article) as well as a link which basically says &quot;find out more&quot; and takes me to the main news section... This is the code which i currently have on my home page: <br /><br />&lt;?php<br />   <br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/homepages/45/d281998588/htdocs/casaroccapiccola/','','../','../../','../../../');<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($home_pageRecords, $home_pageMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'home_page',<br />    'where'       =&gt; 'num=1',<br />    'limit'       =&gt; '1',<br />  ));<br />  $home_pageRecord = @$home_pageRecords[0]; // get first record <br /><br />  // show error message if no matching record is found<br />  if (!$home_pageRecord) {<br />    header(&quot;HTTP/1.0 404 Not Found&quot;);<br />    print &quot;Record not found!&quot;;<br />    exit;<br />  } <br /><br />?&gt; <br /><br />  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;<br />  &lt;?php echo $home_pageRecord['content'] ?&gt;<br />  &lt;!-- /INSTRUCTIONS --&gt;<br />  &lt;/DIV&gt;<br />&lt;/DIV&gt;<br />&lt;/DIV&gt;<br />&lt;!--END HOME COL--&gt;<br />&lt;DIV id=home-col&gt;<br />  &lt;!--END FEATURE WRAP--&gt;<br />&lt;/DIV&gt;<br />&lt;!--END HOME COL--&gt;<br />&lt;DIV id=home-col class=last&gt;<br />&lt;DIV id=blog-entry-wrap&gt;<br />  &lt;h3 class=&quot;style14&quot;&gt;&lt;img src=&quot;123_files/photos/latest.jpg&quot; width=&quot;198&quot; height=&quot;36&quot;&gt;&lt;/h3&gt;<br />  &lt;DIV class=&quot;style19&quot; id=blog-entry&gt;<br />    <br />        &lt;p align=&quot;justify&quot;&gt;&lt;!-- /STEP2: Display Records --&gt;&lt;?php<br />   <br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/homepages/45/d281998588/htdocs/casaroccapiccola/','','../','../../','../../../');<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($newsRecords, $newsMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'news',<br />    'where'       =&gt; 'num=5',<br />    'limit'       =&gt; '1',<br />  ));<br />  $newsRecord = @$newsRecords[0]; // get first record <br /><br />  // show error message if no matching record is found<br />  if (!$newsRecord) {<br />    header(&quot;HTTP/1.0 404 Not Found&quot;);<br />    print &quot;Record not found!&quot;;<br />    exit;<br />  } <br /><br />?&gt; <br /><br />  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;<br />        &lt;/p&gt;<br />        &lt;p align=&quot;right&quot;&gt;<br />          &lt;!-- INSTRUCTIONS --&gt;<br />          &lt;!-- /INSTRUCTIONS --&gt;<br />          &lt;!-- For date formatting codes see: <a target="_blank" href="http://www.php.net/date">http://www.php.net/date</a> --&gt;<br />          &lt;?php echo $newsRecord['content'] ?&gt;<br />          &lt;?php if (!$newsRecord): ?&gt;<br />          No record found!<br />          &lt;?php endif ?&gt;<br />          &lt;/p&gt;<br />        &lt;p align=&quot;right&quot;&gt;&lt;span class=&quot;style14&quot;&gt;&lt;a href=&quot;news.php&quot;&gt;&lt;img src=&quot;123_files/photos/findout.jpg&quot; width=&quot;157&quot; height=&quot;36&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;<br />        &lt;H3 align=&quot;justify&quot; class=&quot;textarea style28&quot;&gt;&lt;span class=&quot;style29&quot;&gt;&lt;img src=&quot;123_files/photos/featured.jpg&quot; width=&quot;198&quot; height=&quot;36&quot;&gt;&lt;/span&gt;&lt;/H3&gt;<br />&lt;P align=&quot;justify&quot; class=&quot;style28&quot;&gt;&amp;nbsp;&lt;/P&gt;<br />&lt;?php<br />   <br /><br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('/homepages/45/d281998588/htdocs/casaroccapiccola/','','../','../../','../../../');<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($home_pageRecords, $home_pageMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'home_page',<br />    'where'       =&gt; 'num=2',<br />    'limit'       =&gt; '1',<br />  ));<br />  $home_pageRecord = @$home_pageRecords[0]; // get first record <br /><br />  // show error message if no matching record is found<br />  if (!$home_pageRecord) {<br />    header(&quot;HTTP/1.0 404 Not Found&quot;);<br />    print &quot;Record not found!&quot;;<br />    exit;<br />  } <br /><br />?&gt; <br /><br />  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;<br />  &lt;p&gt;<br />    &lt;!-- INSTRUCTIONS --&gt;<br />    &lt;!-- /INSTRUCTIONS --&gt;<br />    &lt;?php echo $home_pageRecord['content'] ?&gt;&lt;/p&gt; <br /><br />  <br /><br />many thanks for all the help!<br />]]></description>
          <pubDate>Mon, 25 Oct 2010 04:35:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207609#post2207609</guid>
        </item>
                <item>
          <title>Re: [Jason] Displaying single record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207572#post2207572</link>
          <description><![CDATA[excellent! you are a life saviour! works great, thanks! now please help with my Image upload problem, ahahah! :-) <br /><br />  <br /><br />thanks<br />m<br />]]></description>
          <pubDate>Fri, 22 Oct 2010 16:09:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207572#post2207572</guid>
        </item>
                <item>
          <title>Re: [Jason] IMAGES won&apos;t display in CMS</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207565#post2207565</link>
          <description><![CDATA[have a look at this: <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('/homepages/45/d281998588/htdocs/casaroccapiccola/','','../','../../','../../../');<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($image_upload2Records, $image_upload2MetaData) = getRecords(array(<br />    'tableName'   =&gt; 'image_upload2',<br />    'where'       =&gt; whereRecordNumberInUrl(1),<br />    'limit'       =&gt; '1',<br />  ));<br />  $image_upload2Record = @$image_upload2Records[0]; // get first record <br /><br />  // show error message if no matching record is found<br />  if (!$image_upload2Record) {<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;<a target="_blank" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&gt;<br />&lt;html xmlns=&quot;<a target="_blank" href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>&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;image_upload2 - Detail Page Viewer&lt;/h1&gt;<br />      Record Number: &lt;?php echo $image_upload2Record['num'] ?&gt;&lt;br/&gt;<br />      Title: &lt;?php echo $image_upload2Record['title'] ?&gt;&lt;br/&gt;<br />      Content: &lt;?php echo $image_upload2Record['content'] ?&gt;&lt;br/&gt;<br />      _link : &lt;a href=&quot;&lt;?php echo $image_upload2Record['_link'] ?&gt;&quot;&gt;&lt;?php echo $image_upload2Record['_link'] ?&gt;&lt;/a&gt;&lt;br/&gt; <br /><br />      &lt;hr/&gt;<br />    &lt;?php if (!$image_upload2Record): ?&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 $image_upload2MetaData['_listPage']; ?&gt;&quot;&gt;&amp;lt;&amp;lt; Back to list page&lt;/a&gt; - <br />  &lt;a href=&quot;<a target="_blank" href="mailto:?subject=&lt;?php">mailto:?subject=&lt;?php</a> echo thisPageUrl() ?&gt;&quot;&gt;Email this Page&lt;/a&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /> <br /><br /><a target="_blank" href="http://s281998607.websitehome.co.uk/casaroccapiccola/test2.php">http://s281998607.websitehome.co.uk/casaroccapiccola/test2.php</a> <br /><br />images show in CMS both thumbnails and the ones on the backpage, but do not display in the web browser. heres the link witha  prtsc of my settings (again images in cms work, but not in the actual web browser!):<br /><a target="_blank" href="http://s281998607.websitehome.co.uk/casaroccapiccola/urls.jpg">http://s281998607.websitehome.co.uk/casaroccapiccola/urls.jpg</a><br />]]></description>
          <pubDate>Fri, 22 Oct 2010 15:20:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207565#post2207565</guid>
        </item>
                <item>
          <title>Re: [Jason] Displaying single record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207561#post2207561</link>
          <description><![CDATA[Hmmm... What I am trying to do is to display just one record, in this case &quot;Featured Video&quot;, but it only shows the &quot;Welcome&quot; entry... If I however set to show the record at random they do mix... this is the code (viewer type: detailed page, which record: load record number..., record sorting: default): <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('/homepages/45/d281998588/htdocs/casaroccapiccola/','','../','../../','../../../');<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($home_pageRecords, $home_pageMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'home_page',<br />    'where'       =&gt; whereRecordNumberInUrl(1),<br />    'limit'       =&gt; '1',<br />  ));<br />  $home_pageRecord = @$home_pageRecords[0]; // get first record <br /><br />  // show error message if no matching record is found<br />  if (!$home_pageRecord) {<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;<a target="_blank" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&gt;<br />&lt;html xmlns=&quot;<a target="_blank" href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>&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;Home Page - Detail Page Viewer&lt;/h1&gt;<br />      Record Number: &lt;?php echo $home_pageRecord['num'] ?&gt;&lt;br/&gt;<br />      Parent Category: &lt;?php echo $home_pageRecord['parentNum'] ?&gt;&lt;br/&gt;<br />      Name: &lt;?php echo $home_pageRecord['name'] ?&gt;&lt;br/&gt;<br />      Content: &lt;?php echo $home_pageRecord['content'] ?&gt;&lt;br/&gt;<br />      _link : &lt;a href=&quot;&lt;?php echo $home_pageRecord['_link'] ?&gt;&quot;&gt;&lt;?php echo $home_pageRecord['_link'] ?&gt;&lt;/a&gt;&lt;br/&gt; <br /><br />      &lt;hr/&gt;<br />    &lt;?php if (!$home_pageRecord): ?&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 $home_pageMetaData['_listPage']; ?&gt;&quot;&gt;&amp;lt;&amp;lt; Back to list page&lt;/a&gt; - <br />  &lt;a href=&quot;<a target="_blank" href="mailto:?subject=&lt;?php">mailto:?subject=&lt;?php</a> echo thisPageUrl() ?&gt;&quot;&gt;Email this Page&lt;/a&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /> <br /><br />So how can i set the second record which i have in my Home_Page category as static? Mind- i have another one with 12 entries! hahahaha... <br /><br />  <br /><br />THANKS!<br />M<br />]]></description>
          <pubDate>Fri, 22 Oct 2010 14:58:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207561#post2207561</guid>
        </item>
                <item>
          <title>IMAGES won&apos;t display in CMS</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207548#post2207548</link>
          <description><![CDATA[I am having a weird problem... Images I upload do not display (thumbnails and big ones) in cms, however they are being visable on the actual php page when uploaded? could anyone tell me why is that the case? I did change the Upload Folder URL settings as the pictures wouldnt appear on the site (even thought they were displayed in the CMS), but that made it complete the opposite... <br /><br />Please see what i have done below: <br /><br />1. Images (thumbnails and big ones) work in cms after being uploaded but dont work on the website:<br />Program Directory : /homepages/45/d281998588/htdocs/casaroccapiccola/cmsAdmin (didnt change)<br />Website Root Directory : /kunden/homepages/45/d281998588/htdocs/casaroccapiccola (didnt change)<br />Upload Directory  : /homepages/45/d281998588/htdocs/casaroccapiccola/cmsAdmin/uploads/ (didnt change)<br />Upload Folder URL: /homepages/45/d281998588/htdocs/casaroccapiccola/cmsAdmin/uploads/ (didnt change)<br /> <br /><br />2. Images (thumbnails and big ones) DO NOT work in cms after being uploaded but WORK on the website:<br />Program Directory : /homepages/45/d281998588/htdocs/casaroccapiccola/cmsAdmin (didnt change)<br />Website Root Directory : /kunden/homepages/45/d281998588/htdocs/casaroccapiccola (didnt change)<br />Upload Directory  : /homepages/45/d281998588/htdocs/casaroccapiccola/cmsAdmin/uploads/ (didnt change)<br />Upload Folder URL: /cmsAdmin/uploads/ (deleted everything before /cmsAdmin/)<br /> <br /><br />Anyoe knows what's happening? <br /><br />Thanks,<br />m<br />]]></description>
          <pubDate>Fri, 22 Oct 2010 06:58:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207548#post2207548</guid>
        </item>
                <item>
          <title>Displaying single record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2207547#post2207547</link>
          <description><![CDATA[Hi there! <br /><br />I am having a serious problem with show details of a single record from a category I have set up... <br /><br />So here it is:<br />Main category: HOME PAGE<br />Sub Categories: Welcome , Featured Video <br /><br />How can I display just a single record? Let's say I would like to display just the &quot;featured video&quot;. I have managed to display them (Welcome and Featured Video) at random but for some reason when i try to add the &quot;Where&quot; clause, it all goes bazookas! :-S <br /><br />HEEELP!<br />]]></description>
          <pubDate>Fri, 22 Oct 2010 04:17:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2207547#post2207547</guid>
        </item>
                <item>
          <title>ALL IMAGES ARE GONE!!! HEEEEELP!</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2205824#post2205824</link>
          <description><![CDATA[Hi there... I am having a massive problem :-S <br /><br />For some reason all of the images which are part of my cms ARE NOT SHOWING (<a target="_blank" href="http://www.interactivetools.com/forum/forum.cgi?url=http%3A%2F%2Fwww.casaroccapiccola.com">http://www.casaroccapiccola.com</a>)! i have checked the files- they are there :-S i have checked the forms, again- just an empty box... <br /><br />funny enough, all of them are showing in my cms BUT NOT ON THE SITE! i would apprecieate some help as this is rather urgent! ahahaha <br /><br />thanks! <br />m  <br /><br />  <br /><br />...small update: i have changed the image url, in cms, from lets say &quot;<a target="_blank" href="http://www.casaroccapiccola.com/cmsAdmin/uploads/radnom.png">cmsAdmin/uploads/radnom.png</a>&quot; and added &quot;<a target="_blank" href="http://www.casaroccapiccola.com/">http://www.casaroccapiccola.com/</a>&quot;, so that the image url n cms now says &quot;<a target="_blank" href="http://www.casaroccapiccola.com/cmsAdmin/uploads/random.png">http://www.casaroccapiccola.com/cmsAdmin/uploads/random.png</a>&quot; and it works... so it must be something in the settings :-S help please? what would i have to do so that if i upload an image in cms it appears on the site and that i dont have to manually enter the link :-S<br />]]></description>
          <pubDate>Thu, 05 Aug 2010 16:13:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2205824#post2205824</guid>
        </item>
              </channel>
    </rss>
  