<?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%3AShore</link>
        <description></description>
        <pubDate>Wed, 29 Apr 2026 15:55:11 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3AShore&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [cmscott] Question about Filename field translation</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217830#post2217830</link>
          <description><![CDATA[Hi Dave,<br /><br />Works like a charm! Thank you sir.<br /><br />Cheers<br />[:)]<br />]]></description>
          <pubDate>Fri, 14 Sep 2012 19:00:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217830#post2217830</guid>
        </item>
                <item>
          <title>Re: [Dave] Question about Filename field translation</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217825#post2217825</link>
          <description><![CDATA[Hi Dave,<br /><br />Looks like that could work, I'll test it out later today and let you know how I make out.<br /><br />Very helpful :)<br /><br />Thanks!<br />]]></description>
          <pubDate>Fri, 14 Sep 2012 13:30:58 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217825#post2217825</guid>
        </item>
                <item>
          <title>Re: [Dave] Question about Filename field translation</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217808#post2217808</link>
          <description><![CDATA[Hi Dave,<br /><br />I'm looking up the record with both the num and title (trying to at least) fields.  So there can still be duplicate titles in the table. I should have mentioned that. <br /><br />Looking up both fields prevents duplicate pages, otherwise you can write anything between the ? and the num and the page resolves to the same content based on the num. I'm also enforcing lowercase. Throwing a 404 error page if the record isn't found.  <br /><br />Hello-World-1 (200)<br />Goodbye-World-1 (200)<br />heLlo-wOrlD-1 (200)<br /><br />Should be:<br /><br />Hello-World-1 (200)<br />Goodbye-World-1 (404)<br />heLlo-wOrlD-1 (404)<br /><br />IDEALLY, I'd like to add another field to the table that gets auto-populated with the slug - where in my case the slug is the Filename field + num. I'm not too concerned with being able to edit the slug, although that would be nice - kind of like what Wordpress does with their titles. <br /><br />That way I can easily lookup just the 'slug' field instead of both the 'title' and 'num' fields with no need to worry about de-normalizing the 'title' field for special characters. <br /><br />Let's say 'title' is my Filename field...<br /><br />num: 100<br />title: Get 20% Off Product ABC<br />slug: get-20-off-product-abc-100<br /><br />Request comes in, query the db using the slug and return the content or throw a 404 if record isn't found.<br /><br />Basically, instead of a _link field, I want a _slug field as I described.<br /><br />I'm also using mod_rewrite to rewrite the viewer urls, but that doesn't impact anything here. Also note I already made slight adjustments to the _link in viewer_functions.php such as strtolower().<br /><br />/products/product.php?the-slug gets rewritten to /products/the-slug<br /><br />OTHERWISE, I need a way to de-normalize the 'title' field based on the Filename field. <br /><br />Hope that makes sense, took a while to write it.<br /><br />Thanks!<br />]]></description>
          <pubDate>Thu, 13 Sep 2012 19:00:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217808#post2217808</guid>
        </item>
                <item>
          <title>Re: [Jason] Question about Filename field translation</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217805#post2217805</link>
          <description><![CDATA[Hi Jason,<br /><br />The problem I'm running into is that some of my Title field values contain special characters like the % character.  These characters get stripped to build the URL slug.<br /><br />So when I try to do what you suggest, it can't find the record.<br /><br />Example:<br /><br />TITLE: 10% off Product A<br />URL: 10-off-product-a<br /><br />If I replace the hyphens with blank spaces, then lookup the title, can't find the record because of the % character.<br /><br />Any ideas?<br /><br />Thanks!<br />]]></description>
          <pubDate>Thu, 13 Sep 2012 14:41:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217805#post2217805</guid>
        </item>
                <item>
          <title>Question about Filename field translation</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217789#post2217789</link>
          <description><![CDATA[Hello,<br /><br />When CMSB transforms the Filename field to the URL slug, does it get saved to the database somewhere so that I could query for the string? <br /><br />If not, is there a way to build/decrypt the Filename-translation so that I could lookup a record based off the &quot;Title&quot; field for example?<br /><br />In addition to the ability to lookup by the 'num' at the end of the URL, I'd like to be able to lookup records based on the URL value that CMSB generates from the Filename field.<br /><br />Thanks!<br />]]></description>
          <pubDate>Wed, 12 Sep 2012 20:36:53 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217789#post2217789</guid>
        </item>
                <item>
          <title>Re: [chris] where upload field IS NOT NULL</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200366#post2200366</link>
          <description><![CDATA[Hi Chris, <br /><br />There is definitely an upload field named &quot;logo&quot; in my organization table. I uploaded a screenshot.<br /><br />Also, the standard     cms_    prefix is in the Database Settings.<br /><br />Thanks]]></description>
          <pubDate>Fri, 20 Nov 2009 20:05:03 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200366#post2200366</guid>
        </item>
                <item>
          <title>Re: [chris] publicly populate a list field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200364#post2200364</link>
          <description><![CDATA[Hi Chris, <br /><br />Attached is my php.<br /><br />In CMS Builder, organization.activity is a list field that pulls it's values from another table called activities using num as the value and title as the label.<br /><br />Between lines 273-275 <br /><br /><code>                &lt;select multiple name=&quot;activity[]&quot; id=&quot;activity&quot; style=&quot;margin-left: 280px;&quot;&gt;&lt;?php foreach ($activitiesRecords as $recordActivity): ?&gt;<br />                    &lt;option value=&quot;&lt;?php echo $recordActivity['title'] ?&gt;&quot;&gt;&lt;?php echo $recordActivity['title'] ?&gt;&lt;/option&gt;&lt;?php endforeach; ?&gt;<br />                &lt;/select&gt;</code><br /><br />I'm attempting to post it's array value and insert it into the organization.activity list field.<br /><br />Appreciate any help. Let me know if you have any questions.<br /><br />Thanks<br />]]></description>
          <pubDate>Fri, 20 Nov 2009 19:33:56 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200364#post2200364</guid>
        </item>
                <item>
          <title>where upload field IS NOT NULL</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200347#post2200347</link>
          <description><![CDATA[Hello,<br /><br />I'm trying to generate a list limited to 3 random records where the logo upload field is not empty.<br /><br />----------------------------<br /><br />list($organizationRecords, $organizationMetaData) = getRecords(array(<br />'tableName'   =&gt; 'organization',<br />'limit'   =&gt; '3',<br />'where'   =&gt; 'logo IS NOT NULL',<br />'orderBy'   =&gt; 'RAND()',<br />));<br /><br />----------------------------<br /><br />However, I'm getting this error:<br /><br />MySQL Error: Unknown column 'logo' in 'where clause' <br /><br />Any help would be appreciated.<br /><br />Thanks]]></description>
          <pubDate>Fri, 20 Nov 2009 02:15:28 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200347#post2200347</guid>
        </item>
                <item>
          <title>publicly populate a list field</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200346#post2200346</link>
          <description><![CDATA[Hello,<br /><br />How can I publicly populate a cms builder multiple-select list field?<br /><br />I have a list field called 'activity' that is grabbing it's values from another table 'activities' where $num is the value and $title is the label.<br /><br />At the top of my page that has the html form, the mysql UPDATE statement for the activity field is as follows:<br /><br />-----------------------<br /><br />activity = '&quot;.mysql_real_escape_string( $_REQUEST['activity'] ).&quot;',<br /><br />-----------------------<br /><br />then in my html form <br /><br />-------------------------<br />                &lt;select multiple=&quot;multiple&quot; name=&quot;activity&quot; id=&quot;activity&quot;&gt;<br />&lt;?php foreach ($activitiesRecords as $recordActivity): ?&gt;<br />                    &lt;option value=&quot;&lt;?php echo $recordActivity['num'] ?&gt;&quot;&gt;&lt;?php echo $recordActivity['title'] ?&gt;&lt;/option&gt;&lt;?php endforeach; ?&gt;<br />                &lt;/select&gt;<br />-------------------------<br /><br />On the html form, a user can select multiple activities, but when the record is added to cms builder only the last selected activity becomes checked in the cms builder record.<br /><br />Any ideas?<br /><br />Thanks]]></description>
          <pubDate>Fri, 20 Nov 2009 01:17:03 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200346#post2200346</guid>
        </item>
                <item>
          <title>Re: [Luke] run php script on record update</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200103#post2200103</link>
          <description><![CDATA[Hi Luke,<br /><br />I have the basic structure of the script, it's not complete yet.<br /><br />There may be some other features like this I need, so before I send an email I'll need to figure that all out, perhaps you will be able to kill 2 birds with 1 stone.<br /><br />I thought there may be a simple way to do this.<br /><br />Thanks]]></description>
          <pubDate>Wed, 04 Nov 2009 16:47:15 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200103#post2200103</guid>
        </item>
                <item>
          <title>run php script on record update</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200101#post2200101</link>
          <description><![CDATA[Hello,<br /><br />I'm setting up a mechanism for site visitors to submit event info for approval. Upon approval, I want to run a script to create an event on our Google Calendar.<br /><br />I created an Events editor, that includes a checkbox field for &quot;Approved&quot;<br /><br />I have a form that allows visitors to add a new event record. The form script will also send an email to the admin to review the event. If approved, they then go into CMS builder review/edit info and check the Approved checkbox. <br /><br />Once the admin checks the Approved box and saves record, I want my google-calendar script to run which will create the event.<br /><br />Is this possible?<br /><br />Thanks]]></description>
          <pubDate>Wed, 04 Nov 2009 15:38:48 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200101#post2200101</guid>
        </item>
                <item>
          <title>Re: [Shore] Where clause on a joined field?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2199957#post2199957</link>
          <description><![CDATA[After digging through the forum, I figured out why I couldn't do a simple...<br /><br />'where' =&gt; 'category = &quot;category name&quot;'<br /><br />because for my list field in the video table, I should be using the 'num' field as the option value from the categories table, instead of the title field (which should just be used as the label).<br /><br />so after I fixed the list field, I'm able to do this...<br /><br />'where'  =&gt; 'category = 2',<br /><br />sorry about that!]]></description>
          <pubDate>Mon, 26 Oct 2009 20:11:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2199957#post2199957</guid>
        </item>
                <item>
          <title>Where clause on a joined field?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2199952#post2199952</link>
          <description><![CDATA[Hello,<br /><br />I have a video gallery, and each video has a category field. The categories are stored in a separate table called &quot;categories&quot; so I am able to add more categories down the road.<br /><br />I'm trying to do this:<br /><br />&lt;?php<br />  <br />  require_once &quot;/home/test/public_html/cmsAdmin/lib/viewer_functions.php&quot;;<br /><br />  list($videoRecords, $videoMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'video',<br />    'where'     =&gt; 'category = &quot;A category&quot;',<br />  ));<br /><br />?&gt;<br /><br />but it's not understanding my Where clause. <br /><br />I noticed in CMSB's generated viewer foreach code that the category field was being joined, as below:<br /><br />&lt;?php echo join(', ', getListLabels('video', 'category', $record['category'])); ?&gt;<br /><br /><br />How do I modify the Where clause from above so that I can create a list of videos from a specific category?<br /><br />And can I create additional $videoRecords lists for each other category, that way I can arrange each list on the page where I want it.<br /><br />Thanks]]></description>
          <pubDate>Mon, 26 Oct 2009 17:39:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2199952#post2199952</guid>
        </item>
                <item>
          <title>Re: [ShoreWebmaster] MySQL Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2199811#post2199811</link>
          <description><![CDATA[as an aside...if you made that a required selection during the &quot;list&quot; field adding process, I wouldn't have created this post at all....just a thought....<br /><br />works like a charm now though!<br />]]></description>
          <pubDate>Fri, 16 Oct 2009 16:43:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2199811#post2199811</guid>
        </item>
                <item>
          <title>Re: [ShoreWebmaster] MySQL Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2199810#post2199810</link>
          <description><![CDATA[I figured it out, for some reason I didn't select a field for option values.<br />]]></description>
          <pubDate>Fri, 16 Oct 2009 16:33:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2199810#post2199810</guid>
        </item>
                <item>
          <title>MySQL Error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2199800#post2199800</link>
          <description><![CDATA[Hello, <br /><br />I'm getting the following error when trying to add a new record. It's being caused by one of the fields which is a &quot;list&quot; field that is pulling it's values from another database table field.<br /><br />Warning: Cannot modify header information - headers already sent by (output started at /home/test/public_html/cmsAdmin/lib/menus/header.php:15) in /home/test/public_html/cmsAdmin/lib/database_functions.php on line 557 There was an error creating the list field. MySQL Error: Unknown column '' in 'field list' <br /><br />Any ideas?<br /><br />Thanks!]]></description>
          <pubDate>Thu, 15 Oct 2009 15:44:50 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2199800#post2199800</guid>
        </item>
                <item>
          <title>Re: [Dave] modify createdDate</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196381#post2196381</link>
          <description><![CDATA[Hi Dave,<br /><br />Thanks for getting back.<br /><br />For some reason, it kind of works now, not sure what happened.<br /><br />Last night, when I was adding new Testimonials, when I hit Save it would push it down to the bottom of the list, whereas I wanted it at top of list. And, they were all in order of createdDate. So I thought I had to either delete them all and start from the oldest testimonial first, or go into the mysql and reverse the createdDate fields so that they would be in proper chronological order.<br /><br />Anyhow, it seems to be working now. Maybe it was just too late to get it to work right!<br /><br />Thanks again, will let you know if something goes wrong.<br />]]></description>
          <pubDate>Wed, 18 Mar 2009 14:29:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196381#post2196381</guid>
        </item>
                <item>
          <title>modify createdDate</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196367#post2196367</link>
          <description><![CDATA[Hello,<br /><br />I created a section editor for customer testimonials, but i added the records in reverse order. <br /><br />I entered them going down the existing webpage list, whereas I should have entered them from the bottom of the webpage up.<br /><br />In other words, I entered the most recent testimonial as the first record in cms builder.<br /><br />So, now when I add a new testimonial, I have to drag it to the bottom of the record list each time I save it.<br /><br />Is there a way to reverse the &quot;createdDate&quot; system field data across all records so that a new testimonial createdDate will allow for proper sorting when createdDate is used as a ListPage Field, without doing the dragsort each time?<br /><br />Thanks]]></description>
          <pubDate>Tue, 17 Mar 2009 23:36:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196367#post2196367</guid>
        </item>
              </channel>
    </rss>
  