<?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%3AMickC</link>
        <description></description>
        <pubDate>Sat, 02 May 2026 22:43:01 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3AMickC&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Sidebar menu items &amp; links</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2238570#post2238570</link>
          <description><![CDATA[<p>Hi guys</p>

<p>I am revisiting a project I developed with CMS Builder 5 years ago, and need to add a link on the left sidebar of the CMS Admin page.</p>
<p>I have added the link in the Section Editor area, but it still does not show up in the sidebar.</p>

<p>I am obviously forgetting something, any ideas?</p>

]]></description>
          <pubDate>Mon, 28 Mar 2016 22:18:11 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2238570#post2238570</guid>
        </item>
                <item>
          <title>Grouping by Categories then Sub-Categories</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213452#post2213452</link>
          <description><![CDATA[Hi guys,<br /><br />I have implemented Gerry's code for inserting headings when a category changes, works great.<br /><br />I am trying to generate reports that list all of our equipment by &quot;Type&quot; then groups each type into its &quot;branch&quot;<br /><br />I effectively got the code working by doubling it up, and changing fields, and added in listing counts at each heading.<br /><br />I can get it to work, however the issue is this:<br /><br />When a &quot;Type&quot; heading changes, and the only listing is one for the same &quot;branch&quot; as the last record in the previous &quot;type&quot;, it doesnt list the &quot;Branch&quot; at the start of the group.<br /><br />Sounds a bit complex, so attached is a screenshot of the results I am getting. <br />Note that the heading &quot;Lawn Mowers', the listings are from &quot;Haeuslers Echuca&quot;, which is the same as the last record from the previous Equipment type, and therefore does not list the branch heading because it is not different to the last listing.<br /><br />Basically, every time the Equipment type changes, i need the branch heading to be displayed, regardless of if it hasn't changed from the last Equipment type.<br /><br /><br />Also here is the very dodgy and un-refined code I have so far:<br /><br /><br /><code>&lt;?php $old_type = ''; ?&gt;<br />&lt;?php $old_branch = ''; ?&gt;<br />&lt;?php foreach ($listingsRecords as $record): ?&gt;<br /><br />&lt;?php $branch = $record['branch']; <br />   $type = $record['type'];// load sub-group value from record.<br />if ($type != $old_type) { // If different from the last sub-group value, print the sub-group name.<br />print '&lt;div class=&quot;spacer&quot;&gt; space &lt;/div&gt;&lt;table bgcolor=&quot;#009933&quot; style=&quot;page-break-before:auto; page-break-after:avoid&quot; width=&quot;900&quot; height=&quot;5&quot; align=&quot;center&quot; border=&quot;0&quot;&gt;';<br /> print '&lt;tr&gt;&lt;td class=&quot;toplinksl&quot; align=&quot;left&quot;&gt;&lt;strong&gt;';<br />  echo &quot;$type&quot;; <br /> print '&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;&lt;span class=&quot;toplinksr&quot;&gt; Listings: &lt;strong&gt; ';<br /> list($listingsCount, $listingsCountMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'listings',<br />   	'where' =&gt; &quot;type='$type'&quot;<br />  ));<br /><br />  echo $listingsCountMetaData['totalRecords'];<br />//echo mysql_select_count_from($listingsCount, 'branch');  <br /> print '&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;';}<br /> if ($type != $old_type) { // If different from the last sub-group value, print the sub-group name.<br /> print '&lt;hr width=&quot;900&quot; style=&quot;margin-bottom:0; margin-top:0&quot; color=&quot;#009900&quot; /&gt;'; } ?&gt;<br /><br />   &lt;?php $old_type = $type; // retain sub-group name before moving to new record. ?&gt;<br />   <br />   &lt;?php if ($branch != $old_branch) { // If different from the last sub-group value, print the sub-group name.<br />print '&lt;table style=&quot;page-break-before:auto; page-break-after:avoid&quot; width=&quot;900&quot; align=&quot;center&quot; border=&quot;0&quot;&gt;'; print '&lt;hr width=&quot;900&quot; noshade=&quot;noshade&quot; style=&quot;margin-bottom:0; margin-top:1&quot; color=&quot;#009900&quot; /&gt;';<br />print '&lt;tr&gt;&lt;td class=&quot;toplinks2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;';<br />print 'Haeuslers '; echo &quot;$branch&quot;; <br /> print '&lt;/strong&gt;&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;&lt;span class=&quot;toplinksr2&quot;&gt; Listings: &lt;strong&gt; ';<br /> list($listingsCount2, $listingsCount2MetaData) = getRecords(array(<br />    'tableName'   =&gt; 'listings',<br />   	'where' =&gt; &quot;branch='$branch' and type='$type' and approved='1'&quot;<br /><br />  ));<br />  echo $listingsCount2MetaData['totalRecords'];<br />//echo mysql_select_count_from($listingsCount, 'branch');  <br /> print '&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;';}<br /> if ($branch != $old_branch) { // If different from the last sub-group value, print the sub-group name.<br /> print '&lt;hr width=&quot;900&quot; noshade=&quot;noshade&quot; style=&quot;margin-bottom:0; margin-top:0&quot; color=&quot;#009900&quot; /&gt;'; }<br />   ?&gt;<br />   &lt;?php $old_branch = $branch; // retain sub-group name before moving to new record. ?&gt;<br /> </code><br />]]></description>
          <pubDate>Sun, 09 Oct 2011 05:56:03 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213452#post2213452</guid>
        </item>
                <item>
          <title>Re: [tom] Iframe targeting</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213416#post2213416</link>
          <description><![CDATA[You are a godsend Tom!<br /><br />everywhere else i looked, the mention of &lt;iframes&gt; sent people running.[:/]<br /><br />Unfortunately, our existing site uses them, so i have to integrate with it.<br /><br />I ended up getting it to work with a few mods, <br /><br />with the link, i had to do a bit of directory navigating to get the results right, then add the listing link to it:<br /><br /><code>&lt;a href=&quot;../draft/usedeq.htm?pageLink=&lt;?php echo $record['_link'] ?&gt;&quot; target=&quot;_parent&quot;&gt;&lt;img src=&quot;&lt;?php echo $upload['thumbUrlPath'] ?&gt;&lt;/a&gt;</code><br /><br />Then I had to change a little bit of the body code on the receiving page to make the iframe the right size and blend in like the old one did:<br /><br /><code>&lt;script type=&quot;text/javascript&quot;&gt; <br />var pageLink = gup(&quot;pageLink&quot;); <br />document.write( &quot;&lt;iframe src='&quot;+pageLink+&quot;'&quot;+&quot; width='100%' height='100%' scrolling='0' frameborder='0' allowtransparency='true'&gt;&quot;); <br />&lt;/script&gt;</code><br /><br />The only other thing I had to do was modify the header script of the receiving page to display the original content if no link is specified, (by adding to the &quot;   if( results == null ) &quot; line,  otherwise opening that page directly from the existing menu gave a blank iframe.<br /><br /><code>&lt;script type=&quot;text/javascript&quot; &gt;<br /> function gup( name ) <br />    { <br />      name = name.replace(/[\[]/,&quot;\\\[&quot;).replace(/[\]]/,&quot;\\\]&quot;); <br />      var regexS = &quot;[\\?&amp;]&quot;+name+&quot;=([^&amp;#]*)&quot;; <br />      var regex = new RegExp( regexS ); <br />      var results = regex.exec( window.location.href ); <br />      if( results == null ) <br />        return &quot;our_default_UsedMachinerypage.php&quot;; <br />      else  <br />        return results[1]; <br />    }<br />    &lt;/script&gt;</code><br /><br />Works like a charm now!<br /><br />Thanks again mate :)<br />]]></description>
          <pubDate>Mon, 03 Oct 2011 16:14:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213416#post2213416</guid>
        </item>
                <item>
          <title>Iframe targeting</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213407#post2213407</link>
          <description><![CDATA[Hi,<br />This is probably more of a HTML/Javascript question, but you guys all seem pretty switched on with all this, so here goes!<br /><br />I have an iframe on our homepage, the source of which is a scrolling list of machinery, out of the CMSB<br />When a unit is clicked on, I want the details page to open in an Iframe on another page of our website.<br /><br />I have read http://www.interactivetools.com/iforum/P59754#59754<br />the only issue is that our homepage and the other page containing the iframe are html, not php<br />]]></description>
          <pubDate>Sun, 02 Oct 2011 23:31:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213407#post2213407</guid>
        </item>
                <item>
          <title>Re: [Dave] Where Statement Issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213404#post2213404</link>
          <description><![CDATA[Top Job Dave, <br /><br />That was it! <br /><br />I can see now why it wasn't working correctly<br /><br />Thanks mate<br />]]></description>
          <pubDate>Sun, 02 Oct 2011 03:16:37 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213404#post2213404</guid>
        </item>
                <item>
          <title>Where Statement Issue</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213402#post2213402</link>
          <description><![CDATA[Hi guys, <br /><br />I am trying to limit my page results to the following criteria:<br /><br />'Approved'= 1 (checked)<br />'sales_status' = &quot;in Stock&quot; or &quot;Coming In&quot;<br /><br />here is my current page query:<br /><br /><code> list($listingsRecords, $listingsMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'listings',<br />    'perPage'     =&gt; '6',<br />	'where'       =&gt; 'sales_status=&quot;In Stock&quot; OR sales_status=&quot;Coming In&quot;' and 'approved=&quot;1&quot;',</code><br /><br />I cant get it to limit it so that all criteria are checked.<br /><br />I can get it to show the right &quot;sales_status&quot; records, but it ignores the &quot;approved&quot; check.<br /><br />If I reverse the order of the statement, it show approved records only, but only &quot;in stock&quot; records.<br /><br />i.e, the AND part is working, and the OR part is working, but not both at the same time.<br /><br />Im sure its just the way I have the statement worded, but can only find references to WHERE / AND statements, not WHERE / AND /OR statement<br />]]></description>
          <pubDate>Sat, 01 Oct 2011 22:31:37 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213402#post2213402</guid>
        </item>
                <item>
          <title>Re: [Jason] Page number links</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213401#post2213401</link>
          <description><![CDATA[Ahh, perfect<br /><br />Thanks Jason!<br />]]></description>
          <pubDate>Sat, 01 Oct 2011 22:22:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213401#post2213401</guid>
        </item>
                <item>
          <title>Page number links</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213394#post2213394</link>
          <description><![CDATA[HI guys, <br /><br />Got a quick one here:<br /><br />I have a search page set up, with 2 frames, &quot;Header&quot; and &quot;Content&quot;<br /><br />&quot;Header&quot; frame contains the drop-downs and parameters for the search, and &quot;Content&quot; displays the results, usually in multiple pages.<br /><br />The page works great, and does everything I want it to.<br /><br />The Prev/Next page links on the &quot;content&quot; page all work, and cycle through the appropriate selected records.<br /><br />The issue I have, is that use Pagination code that allows user select an individual page, but when using an individual page link, the frame reverts to the whole listing, ignoring the specified criteria.<br /><br />The Prev/next page links use the $listingsMetaData['prevPageLink'] / ['nextPageLink'], and as I said, these work correctly, and pass the search criteria on the the next page, but the individual page links just use &quot;?page=&lt;?php echo ['page']; ?&gt;&quot; and do not pass on the criteria, which results in the whole listing being returned with no filtering.<br /><br />At the moment, i have the links disabled, so the page numbers are just for indication.<br /><br />Any Ideas here?<br />]]></description>
          <pubDate>Fri, 30 Sep 2011 18:15:25 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213394#post2213394</guid>
        </item>
                <item>
          <title>Re: [ross] Drop-down box record count / refreshing</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213380#post2213380</link>
          <description><![CDATA[Ahh, beautiful mate!<br /><br />That worked a treat :)<br /><br />I was trying almost the same thing, but as using:<br /><br />&lt;?php if (mysql_count('listings', &quot;manufacturer = '$value'&quot;)=&quot;0&quot;): ?&gt;<br /><br />to get the empty ones.<br /><br />Thanks Ross!<br />]]></description>
          <pubDate>Thu, 29 Sep 2011 15:55:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213380#post2213380</guid>
        </item>
                <item>
          <title>Re: [MickC] Drop-down box record count / refreshing</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213371#post2213371</link>
          <description><![CDATA[Okay, so I have all my search menus working well, getting list options as above.<br /><br />We decided to do away with the count because it looked messy in the list. <br /><br />What I want to do now, is to only put an entry in the list if there are records for it. <br /><br />Our &quot;Manufacturers&quot; list is quite long, and a lot of the time, most of them wont have any matching records, so I only want the list to populate with options if they have records matching them.<br /><br />Im sure i can do it with the same mySql count function, where anything with a count of less than 1 would be omitted, possibly with an &quot;If&quot; for each option?<br />]]></description>
          <pubDate>Wed, 28 Sep 2011 21:18:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213371#post2213371</guid>
        </item>
                <item>
          <title>Approved uncheck on saving</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213282#post2213282</link>
          <description><![CDATA[Is there an easy way of have a record automatically become &quot;unapproved&quot; when a non-editor changes it?<br /><br />We have salesmen that enter machine details, then a designated editor checks them, and ticks the approved checkbox to enable them to be listed on the website.<br /><br />Editors only have access to the approved checkbox, and salesmen can only create new records, view all, and modify only their own. <br /><br />What i want to prevent, is after the Editor approves it, the salesman can modify it to add more pictures etc, but when doing so could enter incorrect pricing etc, while sitll listed on the website.  <br /><br />Ideally, on a salesman modifying the record, if it unchecks the approved status, the editor must check it before it appears back on the website.<br /><br />Any ideas?<br />]]></description>
          <pubDate>Tue, 20 Sep 2011 20:20:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213282#post2213282</guid>
        </item>
                <item>
          <title>A few Questions</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213265#post2213265</link>
          <description><![CDATA[Hi guys, <br /><br />I'm going quite well with this system, I just have a few queries that should be easy to answer.<br /><br />I have bought CMSB 2.12, CreatePDF plugin, Report Builder, and the Basic Auto template.<br /><br />A)  Most of our Internal staff will be using the admin side of the software, and to make it easier, I want to be able to modify the layout of the Section.<br /><br />For example, I want to have about 8-10 options under Advanced search, but want them spread out across the top of the section, not one under the other.  <br /><br />I have explored the .php files, and heavily modified the style.css and the SimplAdmin images to reflect our company colors, but cant seem to see where you can alter the layout of the actual section listings<br /><br />B) in the same area, i have listings that when opened, have &quot;Created by&quot; and &quot;updated by&quot;, but i want this to state the users Full name, not the login name. I know how to do it in with the createdBy.fullname for the lsiting itself, but not the other parts of the page.<br /><br />C)Id like to add the option of making a button to print the reports that the report builder makes, or at least a print button<br /><br />That's enough for now, im off to the plug-ins forum to get the most out of my 90 days free support [;)]<br />]]></description>
          <pubDate>Tue, 20 Sep 2011 07:17:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213265#post2213265</guid>
        </item>
                <item>
          <title>Re: [Jason] Include/create hyperlinks from a report query</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213232#post2213232</link>
          <description><![CDATA[Thanks Jason,<br /><br />I have had a go, but cant quite figure out what to change.<br /><br />All our records have a unique field called &quot;stock_number&quot;<br />I want users to run any report, which will have a list of units, with stock numbers as part of the report.<br /><br />But, i want this field in the report,or a button next to the row, that editors can click on to take them straight into the edit page for that record. (otherwise they have to run the report, write the stock numbers down and go back to the listing to edit them.<br /><br />so for example, i have a report that lists units that are on hire. - in the stock number field, instead of a text sating &quot;U20013&quot;  i want this to be a link to &quot; /admin.php?menu=listings&amp;action=edit&amp;num=&quot; then the listing number.<br /><br />Or a button next to it.<br />]]></description>
          <pubDate>Sun, 18 Sep 2011 03:53:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213232#post2213232</guid>
        </item>
                <item>
          <title>Re: [videopixel] Facebook comments plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213231#post2213231</link>
          <description><![CDATA[Hi Videopixel, <br /><br />I just set up the Facebook Like/Recommend plugin at the bottom of each dynamic listing, and just used PHP code to specify the URL - works perfectly for me!<br /><br />here is the code that does the job:<br /><code>&lt;div class=&quot;fb-like&quot; data-href=&quot;http://used.xxxxxxx.com.au/listing/extListingDetails.php?&lt;?php echo $listingsRecord['num'] ?&gt;&quot; data-send=&quot;true&quot; data-width=&quot;500&quot; data-show-faces=&quot;true&quot; data-action=&quot;recommend&quot; data-font=&quot;verdana&quot;&gt;&lt;/div&gt;</code><br /><br />This makes the url specify the  exact page to go to.<br /><br />I know this is for the Like/Share plugin, but i looked at the code for the Comments plugin and it looks very similar<br /><br />See how that goes :)<br />]]></description>
          <pubDate>Sat, 17 Sep 2011 22:00:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213231#post2213231</guid>
        </item>
                <item>
          <title>Re: [MickC] Query about PDF creator Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213224#post2213224</link>
          <description><![CDATA[I tidied a few things up and get it working perfectly,<br /><br />I even worked out a way to dynamically name the PDF file with a bit of trial and error.. [;)]<br /><br /><code>&lt;?php require_once &quot;lib/viewer_functions.php&quot;; ?&gt;<br />&lt;?php<br />  $filename= $listingsRecord['manufacturer'].&quot;-&quot;.$listingsRecord['Model'];<br />  $num= $listingsRecord['num'];<br />  $url  = &quot;listingInfoSheet.php?&quot;.$num;<br />  $data = createPDF_fromUrl($url);<br />  createPDF_display('attachment', $data, $filename.'.pdf');<br />?&gt;</code><br /><br />Now the customer's file is meaningfully named, instead of 4 different &quot;example.pdf&quot; files.<br /><br />Now to play with a few switches and see what else I can do!<br />]]></description>
          <pubDate>Sat, 17 Sep 2011 01:56:13 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213224#post2213224</guid>
        </item>
                <item>
          <title>Re: [Jason] Drop-down box record count / refreshing</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213222#post2213222</link>
          <description><![CDATA[Thanks Jason.<br /><br />That worked perfectly. My attempt had me about 2 characters off....<br /><br />Now I am going to try and employ an &quot;if&quot; statement so that any options with a listing count of &quot;0&quot; will not be shown<br /><br />I haven't had a proper go at this yet, but this is the code i have so far  - but Dreamweaver doesnt like it.<br /><code>&lt;select name = &quot;type&quot;&gt; <br />&lt;option value=&quot;?&quot;&gt;All Equipment Types&lt;/option&gt;<br />&lt;?php foreach (getListOptions('listings', 'type') as $value =&gt; $label): ?&gt; <br /> &lt;?php $lisitingCount = mysql_count('listings', &quot;type = '$value'&quot;); ?&gt; <br />&lt;option value = &quot;?type=&lt;?php echo $value;?&gt;&quot; &lt;?php selectedIf($value, @$_REQUEST['type']);?&gt;&gt;<br />&lt;?php if $lisitingCount =0; ?&gt;<br />&lt;?php echo $label; ?&gt; - (&lt;?php echo $lisitingCount;?&gt;)<br />&lt;?php else; ?&gt;<br />&lt;?php echo $label; ?&gt;<br />&lt;?php endif; ?&gt;&lt;/option&gt; <br />&lt;?php endforeach ?&gt; <br /><br />&lt;/select&gt; </code><br /><br />I will have a play and see what I can do<br />]]></description>
          <pubDate>Fri, 16 Sep 2011 21:42:27 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213222#post2213222</guid>
        </item>
                <item>
          <title>Re: [Jason] Query about PDF creator Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213221#post2213221</link>
          <description><![CDATA[Hi jason. <br /><br />Thanks for you help mate, it ended up being a DNS problem, of all things!<br /><br />The domain name it is running on only has entries in our local DNS server, not to the public. I got it to the stage where it would make PDFs of any public website, but all &quot;internal&quot; pages would just come up blank.<br /><br />Anyway, I made the domain name public and the problem disappeared.  Obviousy the PDF engine uses the DNS of the hosting provider to resolve the domain name, which is where i was coming unstuck. [crazy]<br />]]></description>
          <pubDate>Fri, 16 Sep 2011 21:37:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213221#post2213221</guid>
        </item>
                <item>
          <title>Query about PDF creator Plugin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213207#post2213207</link>
          <description><![CDATA[I have just bought the PDF creator plugin and installed it, after a few fixes it is working.<br />I have also bough the Cookbook, and scoured the forum and the cookbook for an answer for this:<br /><br />I have a listing of used equipment, each record of which  links to a detail page for each item.  I also created another detail page which will be converted to PDF so the customer can print off, email etc.<br /><br />Every time i put the code into the page i get the following issue:<br /><br />If i put the createPDF code like this:<br /><code>in the header<br />&lt;?php if (@$_REQUEST['pdf']) { createPDF_fromOutput('inline', 'example.pdf'); } ?&gt;<br /><br />in the body<br />&lt;a href=&quot;http://used.haeuslers.com.au/listing/listingInfoSheet.php?pdf=1&amp;&lt;?php echo $listingsRecord['num'] ?&gt;&quot;&gt;CLICK TO CONVERT THIS PAGE TO A PDF&lt;/a&gt;<blockquote><br />which id about halfway down the page, i get an error like this:<br />createPDF_display: Can't output PDF because headers already sent! Output started in /home/haeusler/public_html/used/listing/listingInfoSheetPrep.php line 125. Make sure you don't have any html or whitespace characters in your code before calls to createPDF_ functions.<br /><br />If i move it up to the top of the page, it makes a PDF, but it is just a blank white page.<br /><br />The only errors after i installed and tested it were ones that required me to add the switch to ignore errors.<br /><br />Running the test in the admin section, the google page works correctly.<br />]]></description>
          <pubDate>Fri, 16 Sep 2011 09:21:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213207#post2213207</guid>
        </item>
                <item>
          <title>Include/create hyperlinks from a report query</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213204#post2213204</link>
          <description><![CDATA[I have just bought and installed the Report Builder plug in.<br /><br />What i want to, is have the report contain a hyperlink to edit the record.<br /><br />I made a report on out &quot;listings&quot; table, and it shows all records where &quot;approved=No&quot; - this works well.<br /><br />What i need, is to make a hyperlink out of the results so the editor can click it to go directly to the edit page of that record.<br /><br />If I could access the php page that the report is on, i could code it in, but I can't seem to find where that page is.<br />When the report is in the browser,  it shows the URL as ..cmsAdmin/admin.php?_pluginName=reportBuilder&amp;_report=4<br />]]></description>
          <pubDate>Fri, 16 Sep 2011 04:23:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213204#post2213204</guid>
        </item>
                <item>
          <title>Re: [Jason] Drop-down box record count / refreshing</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213181#post2213181</link>
          <description><![CDATA[Thanks Jason, <br /><br />I gave it a quick try, but just got 0's after each option.<br />I tried this code last night and it gave every option a 1 after it.<br /><code> &lt;select style=&quot;background-color:#615921; font:Verdana, Geneva, sans-serif; size:10pt; color:#FFF&quot; name = &quot;manufacturer&quot; onchange=&quot;MM_jumpMenu('self',this,1)&quot;&gt; <br />&lt;option value=&quot;?&quot;&gt;All Manufacturers&lt;/option&gt;<br />&lt;?php foreach (getListOptions('listings', 'manufacturer') as $value =&gt; $label): ?&gt; <br /><br />&lt;option value = &quot;?manufacturer=&lt;?php echo $value;?&gt;&quot; &lt;?php selectedIf($value, @$_REQUEST['manufacturer']);?&gt;&gt;<br /><br />&lt;?php echo $label; ?&gt; - &lt;?php echo count($record);?&gt;&lt;/option&gt; <br /><br /><br />&lt;?php endforeach ?&gt; <br /><br />&lt;/select&gt; </code><br />Anway, i'll have a play with this tonight<br />Thanks mate.<br />]]></description>
          <pubDate>Thu, 15 Sep 2011 17:53:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213181#post2213181</guid>
        </item>
                <item>
          <title>Editor editing certain records only</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213168#post2213168</link>
          <description><![CDATA[G'day, <br /><br />Another one I can't find an easy way around:<br /><br />I have set up a used machinery database with CMSB, with 5 different branches.<br /><br />I have it set so that internal users can view records all records, add new ones, but only change their own entries, and an editor at each branch needs to approve them before they are listed on our public website. - this part all works fine.<br /><br />What I want to be able to do, is have it so that the editors can only edit records for their own branch.<br /><br />I have a listbox field in the &quot;listings&quot; called &quot;branch&quot; <br />and in the User accounts table, i also have a field called &quot;branch&quot; but this is a multiple choice checkbox ( the reason being that<b> some</b> editors need access to more than one branch - just to be difficult  [;)] )<br /><br />So in then end, when creating or editing a user, I can just tick the checkboxes for the branches I want them to have access to.<br /><br />Any ideas?<br />]]></description>
          <pubDate>Thu, 15 Sep 2011 07:49:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213168#post2213168</guid>
        </item>
                <item>
          <title>Drop-down box record count / refreshing</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2213165#post2213165</link>
          <description><![CDATA[I am using multiple drop down boxes to search machines by location, type, or manufacturer. <br />They auto-populate options from the table, I even employed the mm_jumpmenu feature to prevent user from having to click a button.<br /><br />I have the problem where if you choose say &quot;location 1&quot;, the page refreshes with the correct results, but if you then want to specify another field, eg &quot;Manufacturer 1&quot;,  the page will show only the results  for that manufacturer, and the Location dropdown reverts back to &quot;all locations&quot;   <br />Is there a way to make this work?<br /><br />2nd part of this question is:<br />I have the options coming out of the table correctly, but i have seen where drop downs  have &quot;Make (3)&quot; with the 3 being the number of listings in that category.<br />Is this just come coding to get the information to display?<br /><br />Here is the current code for one of the drop downs:<br /><br /><code> &lt;select name = &quot;branch&quot; onchange=&quot;MM_jumpMenu('self',this,1)&quot;&gt; <br />&lt;option value=&quot;?&quot;&gt;All Locations&lt;/option&gt;<br />&lt;?php foreach (getListOptions('listings', 'branch') as $value =&gt; $label): ?&gt; <br /><br />&lt;option value = &quot;?branch=&lt;?php echo $value;?&gt;&quot; &lt;?php selectedIf($value, @$_REQUEST['branch']);?&gt;&gt;<br /><br />&lt;?php echo $label; ?&gt;&lt;/option&gt; <br />&lt;?php endforeach ?&gt; <br /><br />&lt;/select&gt;</code><br />]]></description>
          <pubDate>Thu, 15 Sep 2011 01:11:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2213165#post2213165</guid>
        </item>
              </channel>
    </rss>
  