<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Grouping</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Grouping-72624</link>
        <description></description>
        <pubDate>Mon, 10 Aug 2026 22:34:15 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Grouping-72624" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213254#post2213254</link>
          <description><![CDATA[Hi Jason<br /><br />thanks for that jsut couldnt see the issue all good now.<br />]]></description>
          <pubDate>Mon, 19 Sep 2011 15:50:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213254#post2213254</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213241#post2213241</link>
          <description><![CDATA[Hi Craig,<br /><br />I took a look at your CMS and found that in your manufacturers section you have an upload field called &quot;image&quot;.  However, in your code you use the index $record['images'] in your foreach loop.<br /><br />Try changing $record['images'] to $record['image'].  That should take care of the issue for you.<br /><br />Hope this helps<br />]]></description>
          <pubDate>Mon, 19 Sep 2011 11:56:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213241#post2213241</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213235#post2213235</link>
          <description><![CDATA[Hi Jason<br /><br />i did those changes but still not working still no images showing up.<br />]]></description>
          <pubDate>Sun, 18 Sep 2011 17:40:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213235#post2213235</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213209#post2213209</link>
          <description><![CDATA[Hi Craig,<br /><br />I took a look at your code and couldn't see anything immediately wrong.<br /><br />One thing I did notice was that you start your div for your images outside of your foreach loop, but end it inside an if statement inside your foreach loop.  This will mean that your div tags will not be balance if you have no images, or more than 1 image.  Try this instead:<br /><br /><code>&lt;div class=&quot;img&quot;&gt;<br />&lt;?php foreach ($record['images'] as $upload): ?&gt;<br />  &lt;?php if ($upload['hasThumbnail']): ?&gt;<br />    &lt;a href=&quot;speed-shopProducts.php?manufacturers=&lt;?php echo $record['title'] ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $upload['thumbUrlPath'] ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;<br />  &lt;?php endif ?&gt;<br />&lt;?php endforeach ?&gt;<br />&lt;/div&gt;</code><br /><br />I would need to be able to take a look at the code running in order to better understand why the images aren't showing up.  If you want to email me the details, we can take a look.<br /><br />Hope this helps<br />]]></description>
          <pubDate>Fri, 16 Sep 2011 11:39:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213209#post2213209</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213203#post2213203</link>
          <description><![CDATA[Hi Jason<br /><br />I have done this function on other sites since you help me with this but i am unable to get this to work on a newsite i am working on.<br /><br />I have attached the code i have been working with just wont show the images but it shows all the titles and contact no worries.<br />]]></description>
          <pubDate>Fri, 16 Sep 2011 01:58:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213203#post2213203</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211661#post2211661</link>
          <description><![CDATA[Hi Jason<br /><br />just filled out<br />]]></description>
          <pubDate>Mon, 06 Jun 2011 17:34:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211661#post2211661</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211660#post2211660</link>
          <description><![CDATA[Hi Craig,<br /><br />If you like I can take a quick look to see what's  going on in there.  Just fill out a [url http://interactivetools.com/support]2nd Level Support Request[/url] and I can see if I can find the problem quickly.<br /><br />Hope this helps<br />]]></description>
          <pubDate>Mon, 06 Jun 2011 17:23:54 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211660#post2211660</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211651#post2211651</link>
          <description><![CDATA[Hi Jason<br /><br />the section is just a list drop down with 2 option in it<br /><br />also when i put that debug line into the code it wont let the page load at all just a blank white page.<br />]]></description>
          <pubDate>Mon, 06 Jun 2011 15:58:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211651#post2211651</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211647#post2211647</link>
          <description><![CDATA[Hi Craig,<br /><br />I'm going to need some more information in order to be able to troubleshoot this further. <br /><br />What type of field is &quot;section&quot;? What are the different values it can have?<br /><br />If you add this to your code:<br /><code>// load employer form records <br />  list($employerFormsRecords, $employerFormsMetaData) = getRecords(array( <br />    'tableName'   =&gt;  'forms', <br />    'allowSearch' =&gt;  false, <br />    'where'       =&gt;  &quot;section = 'employer'&quot;,<br />    <span style="color:red">'debugSql'    =&gt;  true,</span><br />  ));</code><br /><br />What is the query that gets output?<br /><br />Let me know<br />Thanks<br />]]></description>
          <pubDate>Mon, 06 Jun 2011 12:01:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211647#post2211647</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211637#post2211637</link>
          <description><![CDATA[Nothing it says there are no records found this is the url <a target="_blank" href="www.opsjobs.com.au/forms.php">www.opsjobs.com.au/forms.php</a><br />]]></description>
          <pubDate>Sun, 05 Jun 2011 15:47:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211637#post2211637</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211631#post2211631</link>
          <description><![CDATA[Hi Craig,<br /><br />What happens when you execute that code?  Do you get an error?<br /><br />Let me know,<br />]]></description>
          <pubDate>Sun, 05 Jun 2011 12:51:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211631#post2211631</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211621#post2211621</link>
          <description><![CDATA[Hi Jason<br /><br />that is great but i tried it and it wont work.<br />]]></description>
          <pubDate>Fri, 03 Jun 2011 18:28:06 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211621#post2211621</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211613#post2211613</link>
          <description><![CDATA[Hi Craig,<br /><br />What you can do then is do 2 different queries, one to get each section.<br /><br />For example, if we assume the drop down box is called &quot;form_type&quot; values of the 2 options in the drop down are &quot;employer&quot; and &quot;employee&quot; we can do our queries like this:<br /><br /><code>// load employer form records<br />  list($employerFormsRecords, $employerFormsMetaData) = getRecords(array(<br />    'tableName'   =&gt;  'forms',<br />    'allowSearch' =&gt;  false,<br />    'where'       =&gt;  &quot;form_type = 'employer'&quot;<br />  ));<br />  <br />  // load employee form records<br />  list($employeeFormsRecords, $employeeFormsMetaData) = getRecords(array(<br />    'tableName'   =&gt;  'forms',<br />    'allowSearch' =&gt;  false,<br />    'where'       =&gt;  &quot;form_type = 'employee'&quot;<br />  ));</code><br /><br />Then you just need 2 different foreach loops, one to output each type of record.<br /><br />Hope this helps<br />]]></description>
          <pubDate>Fri, 03 Jun 2011 11:45:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211613#post2211613</guid>
        </item>
                <item>
          <title>Re: [Jason] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211593#post2211593</link>
          <description><![CDATA[Hi Jason<br /><br />i have a drop down and it is called Section with the 2 option in it.<br />]]></description>
          <pubDate>Thu, 02 Jun 2011 17:35:13 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211593#post2211593</guid>
        </item>
                <item>
          <title>Re: [kcmedia] Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211586#post2211586</link>
          <description><![CDATA[Hi Craig,<br /><br />In your forms section, how are you distinguishing between &quot;Employer&quot; and &quot;Employee&quot; forms?<br /><br />The easiest approach would be to use 2 queries, one to get the Employer forms and one to get the Employee forms.<br /><br />Hope this helps.<br />]]></description>
          <pubDate>Thu, 02 Jun 2011 11:17:27 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211586#post2211586</guid>
        </item>
                <item>
          <title>Grouping</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2211578#post2211578</link>
          <description><![CDATA[Hi<br /><br />i have this webpage and there are downloads and when they upload documents they have to select either Forms for Employers or Forms for Employees what i want to do is group the forms together with a heading for each section and then the list of downloads below them.<br /><br />this is the sample page.<a target="_blank" href="http://www.opsjobs.com.au/newsite/forms.php">http://www.opsjobs.com.au/newsite/forms.php</a><br /><br />also attached is the page code.<br />]]></description>
          <pubDate>Thu, 02 Jun 2011 04:07:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2211578#post2211578</guid>
        </item>
              </channel>
    </rss>
  