<?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%3Ancasares</link>
        <description></description>
        <pubDate>Mon, 20 Apr 2026 00:27:10 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Ancasares&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Need help sorting out schema and queries</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230904#post2230904</link>
          <description><![CDATA[<p>Hi Daryl,</p>
<p>Thanks for getting back to me! I had cooked up something along these lines and ended up with the following code to show the photos on the view-album.php page:</p>
<p><code>&lt;?php<br />  foreach ($homepage_categoriesRecord['included_categories:values'] as $photoQuery){<br />    list($photosRecords, $photosMetaData) = getRecords(array(<br />        'tableName'   =&gt; 'photos',<br />        'orderBy'     =&gt; 'photo_number DESC, newphoto DESC',<br />        'where'       =&gt; "photo_category = $photoQuery",<br />    ));<br /><br />    include($_SERVER['DOCUMENT_ROOT'] . "/inc/inc-photo-table-loop.inc.php");<br />  }<br />?&gt;</code></p>
<p>What is the actual field relationship between the homepage_categories table and the categories table (or what does showme actually do)? Is there are better way to build this so I'm keying photo category on discrete fields in the homepage_categories table?</p>
<p>When I open up the DB table view I see that the photos_categories values are all being stored in a single field. Maybe this is ok but it seems like it would make a join on this field difficult.</p>
<p>Thanks again! </p>]]></description>
          <pubDate>Thu, 06 Jun 2013 16:45:03 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230904#post2230904</guid>
        </item>
                <item>
          <title>Need help sorting out schema and queries</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2230887#post2230887</link>
          <description><![CDATA[<p>I have a site that consists of a collection of photos and static content. The photos are arranged into one or more categories and I'm displaying categories with independent viewers.</p>
<p>Currently, the site looks something like this:</p>
<p>Homepage (static links to viewers)<br />--&gt; Individual viewer page<br />--&gt; Individual viewer page<br />--&gt; Individual viewer page</p>
<p><strong>My DB looks something like this:</strong></p>
<p>[Photo Categories]<br />= num<br />= category_name</p>
<p>[Photos]<br />= num<br />= photo_category (check box selection pulled in from Photo Categories table)<br />= photo (upload)</p>
<p>What I'm trying to do is create a third table of "homepage categories" that will let me setup groups of links to selected photo categories.The idea is that I'd like to give the user a way to create sections of photo categories that appear on the homepage. All of the records in this table would be pulled into a multi-record viewer on the homepage. Albums of galleries, essentially.</p>
<p>For this, I have the following table:</p>
<p>[Homepage Categories]<br />= num<br />= photo categories (check box selection pulled from Categories table)<br />= featured image (upload)</p>
<p>I'm struggling with the best way to setup the viewers and relationships. My thought is that I should have the following viewers:</p>
<p>- homepage multi-record to show Homepage Categories<br />- detail multi-record to show photos based on the categories passed through from the homepage viewer</p>
<p>I've tried this a bunch of ways and can't seem to get it right. The part that's really confusing me is how I can generate a query that selects all photos belonging to ONLY the categories setup in a Homepage Categories record.</p>
<p>I'd like the homepage to eventually look like this:</p>
<p>homepage category 1<br />- includes photo categories 1, 4, 5, 10<br />- link/query to a viewer that shows all photos in categories 1, 4, 5, 10</p>
<p>homepage category 2<br />- includes photo categories 2, 3, 6, 7<br />- link/query to a viewer that shows all photos in categories 2, 3, 6, 7</p>
<p>homepage category 3<br />- includes photo categories 8, 9, 5, 10<br />- link/query to a viewer that shows all photos in categories  8, 9, 5, 10</p>
<p>I feel like this should be doable but I'm not quite savvy enough.</p>]]></description>
          <pubDate>Tue, 04 Jun 2013 12:32:54 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2230887#post2230887</guid>
        </item>
                <item>
          <title>Re: [Dave] PHP display based on date range</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197907#post2197907</link>
          <description><![CDATA[Hi Dave,<br />Thanks for the info. I've gone ahead with a consulting project on this one, but I'm sure the info is useful to the community. Thanks.<br />]]></description>
          <pubDate>Tue, 23 Jun 2009 15:36:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197907#post2197907</guid>
        </item>
                <item>
          <title>PHP display based on date range</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197889#post2197889</link>
          <description><![CDATA[I'm trying to figure out how to display an image based on the 'updatedDate' of a record. I'd like to show the image if a record has been updated within the past 30 days. I'm sure this is simple, but I'm struggling with the function for comparing the 'updatedDate' to a day 30 days ago. <br /><br />I don't want to limit the query based on date, just the display of a &quot;new&quot; image.<br /><br />Can anyone help point me in the right direction? <br /><br />Thanks!<br />]]></description>
          <pubDate>Mon, 22 Jun 2009 13:43:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197889#post2197889</guid>
        </item>
                <item>
          <title>MySQL LIMIT or GROUP?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197697#post2197697</link>
          <description><![CDATA[I have a table that looks like:<br /><br />- Manufacturer<br />- Name<br />- Price<br /><br />I'd like to display results that are limited to 3 rows per manufacturer, but I'm struggling with the query. Does anyone know how to do this? I'm assuming I would need to invoke GROUP then somehow LIMIT the results, but I'm lost on the syntax.<br /><br />Thanks.<br />]]></description>
          <pubDate>Mon, 08 Jun 2009 20:20:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197697#post2197697</guid>
        </item>
                <item>
          <title>Re: [ross] Custom sub-sort order?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197546#post2197546</link>
          <description><![CDATA[Hi Ross,<br />Thanks for the quick reply. This is actually what I'm doing now.<br /><br />The snag is that I'd like to use DragSortOrder since it lets the client order photos visually. Since I only have one table of photos this approach means I only get 1 defined sort for DragSortOrder. <br /><br />I guess what I'm really looking for is a way to sub-sort visually based on a filtered list of photos. Probably not doable, but I thought I'd pose the question.<br /><br />I think something like this would require a third join table and making that work visually in the editor is probably asking too much [:)]<br />]]></description>
          <pubDate>Wed, 27 May 2009 11:29:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197546#post2197546</guid>
        </item>
                <item>
          <title>Custom sub-sort order?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197537#post2197537</link>
          <description><![CDATA[I have a question that's semi-related to this post:<br /><a target="_blank" href="http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/folder_of_uploaded_images_P71859/">http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/folder_of_uploaded_images_P71859/</a><br /><br />I have a multi-record editor of images with a custom field for category. So far I can  display images based on a query for a particular category. The sort order is following the order defined in the editor (DragSortOrder). <br /><br />My challenge is that I'd like to define a custom sub-sort order for each category. Right now if I search for images in category_a and order them in the editor it changes the order of photos in category_b if any of the photos are in both categories. <br /><br />Technically, I understand why this is happening (since all images are in one table). Is there any work around for defining a sub-sort order for each category? I thought about using a third field called &quot;category sort order&quot;, but that gets messy for the end user.<br /><br />I'd love to retain the drag and drop functionality of DragSortOrder. I don't want to split each category into a separate photo editor because many of my photos need to show up in multiple categories and this would force me to upload images more than once. <br /><br />Maybe I'm asking too much here? This is a sharp group so I thought I'd see if anyone has some insight.<br /><br />Thanks.]]></description>
          <pubDate>Wed, 27 May 2009 10:27:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197537#post2197537</guid>
        </item>
                <item>
          <title>Re: [ross] Table lookups?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197395#post2197395</link>
          <description><![CDATA[Hi Ross,<br />Thanks for taking time to reply. Your solution would work if I only had one description per image. However, each image will have multiple descriptions that are tied to one or more categories.<br /><br />Essentially, I'm trying to avoid uploading images more than once while being able to list images in multiple categories. Descriptions may or may not be tied to the same categories as the image, but they will be tied to the image. <br /><br />I've decided to split descriptions into their own table and just connect them to photos via a lookup. It should accomplish the same thing it just makes the editing process 2 steps instead of 1. <br /><br />Thanks.<br />]]></description>
          <pubDate>Sat, 16 May 2009 12:15:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197395#post2197395</guid>
        </item>
                <item>
          <title>Re: [ncasares] Table lookups?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197290#post2197290</link>
          <description><![CDATA[I did some thinking about this over the weekend and here's as far as I've gotten.<br /><br />I think this can be accomplished with 3 tables:<br /><br />- Photos<br />- Categories<br />- Descriptions<br /><br />In the Descriptions table there would be 3 fields for description, category and photo number. The category and photo number fields would be looked up from their respective tables. <br /><br />Each entry in the Descriptions table would be tied to a specific photo. With this relationship is it possible to retrieve the link to the photo based on the photo number? <br /><br />I'm stuck on the viewer code that would make this happen.<br /><br />Thanks.<br />]]></description>
          <pubDate>Mon, 11 May 2009 11:22:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197290#post2197290</guid>
        </item>
                <item>
          <title>Table lookups?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197279#post2197279</link>
          <description><![CDATA[I'm trying to use CMS Builder to create a photo manager CMS for my client. Here is what I need to accomplish:<br /><br />- Photos can be uploaded and thumb-nailed - CHECK<br />- Photos can be tagged with a number and category - CHECK<br />- Photos can have multiple descriptions in multiple categories - HERE'S WHERE I'M STUCK<br /><br />The problem is that I need a field that will let my client add multiple descriptions to. Each description needs to be associated with a category. The end goal is that a single photo can be listed in multiple categories by linking from one or more of the photos descriptions. <br /><br />I think I'm getting stuck on the relation between tables here. I believe I need a second table for descriptions that references the 'photos' table. But then how would I go about referencing a photo from the descriptions table?<br /><br />Are relationships between tables even possible in CMS Builder? <br /><br />Any and all help is appreciated.<br />]]></description>
          <pubDate>Fri, 08 May 2009 19:29:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197279#post2197279</guid>
        </item>
                <item>
          <title>Re: [Dave] Can I do this with CMS Builder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191831#post2191831</link>
          <description><![CDATA[Thanks for the detailed info Dave! This is just what I needed to move forward with this. <br /><br />I'm looking forward to trying CMSB - I've been looking for a quick CMS with the right features for some time now.<br />]]></description>
          <pubDate>Tue, 03 Jun 2008 13:50:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191831#post2191831</guid>
        </item>
                <item>
          <title>Re: [Dave] Can I do this with CMS Builder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191829#post2191829</link>
          <description><![CDATA[Any chance you can point me to a screen shot of what a gallery interface would look like on the client side?<br />]]></description>
          <pubDate>Tue, 03 Jun 2008 12:58:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191829#post2191829</guid>
        </item>
                <item>
          <title>Can I do this with CMS Builder?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191827#post2191827</link>
          <description><![CDATA[I have an existing site that I'd like to use CMS Builder with. The live site is here:<br /><a target="_blank" href="http://www.dreammakerslandscapinginc.com">http://www.dreammakerslandscapinginc.com</a><br /><br />I need to allow client editing of the following items:<br />1) Page text<br />2) Photo gallery without captions<br />3) Photo gallery with captions<br /><br />I think number one and two will be straightforward. However, I have two questions:<br /><br />- Will CMSB allow me to add and display editable captions to photos?<br />- Will CMSB do auto-resizing of thumbnails? <br /><br />I apologize if this is the wrong place to ask for this info. If it is, I would appreciate a nudge in the right direction. <br /><br />Thanks!]]></description>
          <pubDate>Tue, 03 Jun 2008 12:28:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191827#post2191827</guid>
        </item>
              </channel>
    </rss>
  