<?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%3Agord</link>
        <description></description>
        <pubDate>Wed, 22 Apr 2026 16:21:08 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Agord&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Permalinks and CMSB v3.61</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246911#post2246911</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p>You're right, I used the production download link but somehow ended up installing CMS Builder v3.65 (Build 2506).</p>
<p>I take it this is the beta?</p>
<p>Any issues with me downgrading to 3.61, given that I've already got the beta installed?</p>
<p>Gord</p>]]></description>
          <pubDate>Fri, 02 Feb 2024 13:04:35 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246911#post2246911</guid>
        </item>
                <item>
          <title>Permalinks and CMSB v3.61</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246908#post2246908</link>
          <description><![CDATA[<p>It's appearing, but only with the activate/deactivate options.  The 'Permalinks DB' and 'Update Tables' menu options seem to be missing...</p>
<p>I guess I can update the hidden table from the regular editor, but it's a bit more streamlined in the plugin section.</p>
]]></description>
          <pubDate>Thu, 01 Feb 2024 14:15:18 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246908#post2246908</guid>
        </item>
                <item>
          <title>Permalinks and CMSB v3.61</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246905#post2246905</link>
          <description><![CDATA[<p>Hi,</p>
<p>I'm building a new site, and haven't used CMSB in a few updates.</p>
<p>Just downloaded CMSB v3.61 and the Permalinks plugin v1.11, and a bit confused that the Permalinks menu isn't showing up in the plugin admin panel.</p>
<p>Is this normal behaviour for 3.61?</p>
<p>Gord</p>]]></description>
          <pubDate>Thu, 01 Feb 2024 13:29:15 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246905#post2246905</guid>
        </item>
                <item>
          <title>How to remove a comma off the end in the last listing?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244969#post2244969</link>
          <description><![CDATA[<p>I think the easiest way to do this is to simply populate an array and then use json_encode() to output it...</p>
<p>Gord</p>]]></description>
          <pubDate>Fri, 14 Aug 2020 08:30:42 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244969#post2244969</guid>
        </item>
                <item>
          <title>renaming admin.php</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237960#post2237960</link>
          <description><![CDATA[<p>Hi,</p>
<p>Yet another (brief) post about renaming admin.php:</p>
<p>After renaming the file, the redirect from index.php no longer works.  Not sure which version my copy of the file originally came from, but it contains the following:</p>
<p><code>&lt;?php if (file_exists('admin.php')): ?&gt;<br />   &lt;meta http-equiv="REFRESH" content="0; URL=admin.php"&gt;<br /> &lt;?php endif ?&gt;</code></p>
<p>I'm wondering if I should replace this with the new filename (or alternatively in php with a header redirect) -- or would this negate the benefit of having renamed the file in the first place?</p>
<p>Gord</p>
]]></description>
          <pubDate>Fri, 08 Jan 2016 14:24:01 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237960#post2237960</guid>
        </item>
                <item>
          <title>Permalinks trouble - listing from mulitple tables on a detail page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236587#post2236587</link>
          <description><![CDATA[<p>Thanks for posting this Greg.</p>
<p>Is there a public reference for the CMSB library functions somewhere?  I feel like I'd get more out of the system if I fully understood what was going on under the hood...</p>
<p>Gord</p>]]></description>
          <pubDate>Fri, 17 Apr 2015 11:55:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236587#post2236587</guid>
        </item>
                <item>
          <title>Permalinks trouble - listing from mulitple tables on a detail page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236536#post2236536</link>
          <description><![CDATA[<p>Sigh.</p>
<p>I answered my own question by looking in permalinks_dispatcher.php.</p>
<p>In case anyone else is suffering from this problem, you need to add the following after your initial call to load the detail record:</p>
<p><code>unset($_GET['num']);<br />unset($_REQUEST['num']);</code></p>
]]></description>
          <pubDate>Wed, 08 Apr 2015 15:30:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236536#post2236536</guid>
        </item>
                <item>
          <title>Permalinks trouble - listing from mulitple tables on a detail page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2236535#post2236535</link>
          <description><![CDATA[<p>Hi,</p>
<p>I am having trouble getting the Permalinks plugin to work with a detail page on which I am using getRecords() to list records from several related tables.</p>
<p>For some reason, it seems to be appending  'num = ' (number of the detail record first loaded) to the SQL, and is failing.  Here is an excerpt of my code:</p>
<p><code>// load viewer library<br /> $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br /> $dirsToCheck = array('/home/aporia/public_html/','','../','../../','../../../');<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 /> // load artist details<br /> list($artistsRecords, $artistsMetaData) = getRecords(array(<br />   'tableName'   =&gt; 'artists',<br />   'where'       =&gt; whereRecordNumberInUrl(1),<br />   'limit'       =&gt; '1',<br />     'debugSql'        =&gt; true,<br /> ));<br /> $artistsRecord = @$artistsRecords[0]; // get first record<br /><br /> // show error message if no matching record is found<br /> if (!$artistsRecord) { dieWith404("Record not found!"); }<br /><br /> // load youtube video records<br /> list($youtube_linksRecords, $youtube_linksMetaData) = getRecords(array(<br />     'tableName'    =&gt; 'youtube_links',<br />     'where'        =&gt; sprintf("artist = '%s'", $artistsRecord['num']),<br />     'debugSql'    =&gt; true,<br /> ));</code></p>

<p>Here is the debug output/SQL that is being produced:</p>
<p><code>&lt;xmp&gt;SELECT SQL_CALC_FOUND_ROWS `artists`.* FROM `cms_artists` as `artists` WHERE ((num = '34') AND ((`num` = '34'))) ORDER BY active_artist DESC, name ASC LIMIT 1&lt;/xmp&gt;<br /><br /> &lt;xmp&gt;tableName = 'artists' AND fieldName IN ('photo') AND recordNum IN (34) ORDER BY `order`, num&lt;/xmp&gt;<br /><br /> &lt;xmp&gt;SELECT SQL_CALC_FOUND_ROWS `accounts`.* FROM `cms_accounts` as `accounts` WHERE (`num` IN (1)) ORDER BY fullname, username&lt;/xmp&gt;<br /><br /> &lt;xmp&gt;SELECT SQL_CALC_FOUND_ROWS `youtube_links`.* FROM `cms_youtube_links` as `youtube_links` WHERE ((artist = '34') AND ((`num` = '34'))) ORDER BY artist, release_date&lt;/xmp&gt;</code></p>

<p>It seems that whereRecordNumberInUrl() is now completely unnecessary - which makes me suspect there is a global variable being set by Permalinks??</p>
<p>Everything was working before I installed Permalinks...</p>
<p>Is there something I can unset before calling getRecords() again?</p>

<p>Any help would be greatly appreciated!!</p>
<p>Gord</p>
]]></description>
          <pubDate>Wed, 08 Apr 2015 15:20:58 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2236535#post2236535</guid>
        </item>
                <item>
          <title>Re: [Dave] auto populate a text field when creating a new record?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2214839#post2214839</link>
          <description><![CDATA[Hi Dave,<br /><br />Thanks so much - this is more or less exactly what I was thinking.  It just didn't occur to me I could embed php directly into the default value field like that!<br /><br />What would the be the best way to include a custom function, short of pasting it all into the default value field? Will I have a problem by modifying the admin.php file to include my own function(s)?<br /><br />Thanks again!<br />]]></description>
          <pubDate>Sat, 21 Jan 2012 16:09:23 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2214839#post2214839</guid>
        </item>
                <item>
          <title>auto populate a text field when creating a new record?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2214837#post2214837</link>
          <description><![CDATA[Hi,<br /><br />I'm building a system to enable downloads via a combination of random strings.  Basically users will each be assigned a random string, and the files will likewise be assigned a random string.  To download their file, the user will enter a string that consists of the two.  So far so good, but as I've already got cmsBuilder on my site, I'd like to use it to deploy this system too.<br /><br />I am trying to figure out the best way of assigning the random strings.  Is there a way cmsBuilder can automatically populate a text field in a new record by somehow calling a custom routine (that I would write) that would generate the string?<br /><br />If not, does anyone else have other ideas about how to implement this?<br /><br />Thanks,<br />gord<br />]]></description>
          <pubDate>Sat, 21 Jan 2012 14:00:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2214837#post2214837</guid>
        </item>
              </channel>
    </rss>
  