<?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%3ARusty</link>
        <description></description>
        <pubDate>Tue, 14 Apr 2026 16:24:57 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3ARusty&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [gkornbluth] Multi Section Editor with List Options from another</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218286#post2218286</link>
          <description><![CDATA[Well I'm getting closer, based on your tips I modified the Section Editor for the Job Positions to be a Single Menu Type, and then created 6 records with Save &amp; Copy:<br />Apprentice<br />Journeyman<br />Master<br />Foreman<br />Instructor<br />Management<br /><br />Oddly enough, it is showing all the different Job Position Types, even though it's a Single Menu Type.  CMSB still shows that there's 6 records there in the MYSQLDB, but there's no way to change them in CMSB.<br /><br />So I'm close, I've got the drop down list that populates from another Menu Section.  The thing I'm wanting to achieve is also showing a drop down selection list for each of the different Position Types selected.<br /><br />For example the Company has a job site in Denver, and they need a full crew.  So they'll hire 1 management person, 1 foreman, 3 Masters, 3 Journeymen, and 6 Apprentices.<br /><br />So they'd go to the Job Site Section, create a new record in the Jobs Multi Section, fill out all the details, then select Apprentice, Journeyman, Master, Foreman, and Management.  BUT they need to be able to specify 6 Apprentices, 3 Journeymen and Masters, and 1 Foreman and Management personnel.<br /><br />Does that make sense?<br /><br />I'm going to fiddle around and delete the Single Section Editor and make it a Multi with the Position Type as the Title, and a simple list for the quantity and see if I can get that to work.<br /><br />[IMG]http://i50.tinypic.com/1h5irk.jpg[/IMG]<br />]]></description>
          <pubDate>Fri, 26 Oct 2012 16:45:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218286#post2218286</guid>
        </item>
                <item>
          <title>Re: [Rusty] Multi Section Editor with List Options from another</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218281#post2218281</link>
          <description><![CDATA[<br />The Jobs Section - Down at the bottom where it says Job Positions, and it simply lists them all across in a single row/selection value, I would like to make it so that the list of check boxes is show, like in the next image down, and then if the check box was selected then a drop down with quantity desired would unhide.<br />[IMG]http://i50.tinypic.com/mc4w7k.jpg[/IMG]<br /><br /><br />The Positions Section - What I'm driving for, but I'd like to be able to fill the Jobs Section above with the options created below.  And the issue is that for this single record there are multiple Type/Position options, but only one (associated) quantity option.<br />[IMG]http://i50.tinypic.com/zufomg.jpg[/IMG]<br /><br />The Positions Job Type Editor<br />[IMG]http://i50.tinypic.com/15y839h.jpg[/IMG]<br /><br /><br /><br />I honestly think that it's a waste of time (this go round) though it's certainly something that's entertaining to consider employing later on.  And yes, I am personally aware that I can do this if I make forms on a site that would provide this kind of functionality.  I'll stick with the simple way in the CMS by doing Field Label: Apprentice List - Drop Down Quantity.<br />]]></description>
          <pubDate>Fri, 26 Oct 2012 15:03:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218281#post2218281</guid>
        </item>
                <item>
          <title>Re: [gkornbluth] Multi Section Editor with List Options from another</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218280#post2218280</link>
          <description><![CDATA[Oh well I mean manually creating each Job Type as a Drop Down List Quantity (as hard coded)  I would think there's got to be a way to pull the labels from a multi-selection list, and also have a specific accompanying quantity value for each item selected from said list.<br />]]></description>
          <pubDate>Fri, 26 Oct 2012 14:50:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218280#post2218280</guid>
        </item>
                <item>
          <title>Re: [gkornbluth] Multi Section Editor with List Options from another</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218277#post2218277</link>
          <description><![CDATA[Well that kind of worked.<br /><br />While I was thinking of a another way to put it I came up with this.<br /><br />The same way we have a Multi Section Editor where we create a schema for each record that will be created under that section editor, I want to also embed the ability (within CMSB) to setup another sub-section editor.  So that within CMSB a company could add multiple jobs and specify the quantity for each.   EG:<br /><br />Company is logged in, goes to Job Section Editor, the fill out the info for that particular job site, and then could click &quot;Add Job&quot; (which I think would require a custom plugin/unique CMSB modding) or using a drop down/Check box select from a list of job types, and then using a drop down select the number of positions that need filled.<br /><br />I'm starting to think that this is more of a PITA than necessary and I might just end up doing it with Drop Downs so that the Field Label for a the list is the Job Type Description, and then there's a drop down to select the number of employees for that Job Type.<br /><br />The downside to hard coding it like that is that it's not as Dynamic.<br /><br /><br />Jerry,<br /><br />Wasn't there a way in CMSB to Hide Dependant Fields unless the Parent/Primary was filled out?<br /><br />Thanks again, I'm going to keep tinkering with this all weekend.  I'll throw up screen caps in a minute to help clarify.<br /><br />I'm not doing this to make life difficult on myself, I would just like a good and easy way to ensure I can come up with totals:<br /><br />Open Positions w/ Company ABC<br />2 Apprentice<br />3 Journeyman<br />1 Master<br /><br />Then also list all the Openings:<br /><br />20 Apprentice<br />30 Journeyman<br />10 Master etc.<br /><br />Hope that makes sense.<br />]]></description>
          <pubDate>Fri, 26 Oct 2012 14:31:14 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218277#post2218277</guid>
        </item>
                <item>
          <title>Multi Section Editor with List Options from another</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2218260#post2218260</link>
          <description><![CDATA[Hey guys, trying to do something a bit different here and I could use a hand getting it working.<br /><br />I'm attempting to create a Multi Section that has list options populated from another Multi Section.  And while I know a CMSB help/walkthrough has been covered for almost the same thing my implementation hasn't yet worked.  And I believe it has to do with how I'm wanting to use that second Multi Section.<br /><br />Overview of what I'm doing with the Membership Plugin:<br /><br /> User has two options:<br />   Job Seeker<br />   Job Lister (Company)<br /><br />I want to set it up so that a Company can have multiple Jobs, and then also that Job can have multiple positions and each position a quantity.<br /><br />So in terms of Multi Section editor population it is something like this.<br /><br />A user (with the option of Company set in the User Accounts editor) can create<br />---a Job (in the Jobs Multi Section Editor)<br />      ---This Job will have a list of positions filled from another Multi Section Editor (which only contains a Position list and a Quantity list)<br />utsi<br />I would like within the CMS to be able for a user that's signed in as a Company to be able to create a Job Listing that pulls the position titles list from the other section editor and presents it as check boxes with an accompanying quantity drop down next to it.<br /><br /><br />However as I've typed this and thought about this out loud it it seems more and more like something that can be accomplished, however only outside of CMSB.  EG: it can be done in php, with CMSB, but not actually done from within the confines of CMSB itself (like actually using the CMSB Section Editor).<br /><br />The reason I want to do it this way is so that I can easily attribute for a User all the Jobs they have (via a list) and then also collectively for a User all the Positions and Number of Positions (eg: 5 entry level, 2 mid level, 1 management).<br /><br />And of all the times in the past when I just hammered my way through things and finally got it/a way around it, the time I would just rather pay to have it fixed and done my server is down... Sadface :(<br />]]></description>
          <pubDate>Fri, 26 Oct 2012 10:27:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2218260#post2218260</guid>
        </item>
                <item>
          <title>Re: [Jason] Input Date From Membership Signup Form</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210529#post2210529</link>
          <description><![CDATA[Interesting, now the results simply give me the leading zero.<br /><br /><code>Option Value: 01 - Label: December<br />Option Value: 02 - Label: December<br />Option Value: 03 - Label: December<br />Option Value: 04 - Label: December<br />Option Value: 05 - Label: December<br />Option Value: 06 - Label: December<br />Option Value: 07 - Label: December<br />Option Value: 08 - Label: December<br />Option Value: 09 - Label: December<br />Option Value: 10 - Label: December<br />Option Value: 11 - Label: December<br />Option Value: 12 - Label: December</code><br /><br />I wonder why the month in numeric form is working but the label isn't.<br />]]></description>
          <pubDate>Fri, 08 Apr 2011 06:51:42 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210529#post2210529</guid>
        </item>
                <item>
          <title>Re: [gkornbluth] Show/Hide Dependant Fields Implementation</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210490#post2210490</link>
          <description><![CDATA[Yeah, I hear you there.<br /><br /><code>// For each section and list field, copy this block<br />// Fields will start hidden if they appear in any &quot;fields to show&quot; list <br />$GLOBALS['SHOWHIDE_DEPENDANT_FIELDS_CONFIG']['<b>the_section_editor</b>']['<b>list_field_name</b>'] = array(<br />// list option   =&gt; fields to show<br />  ''             =&gt; array(), // show these fields when the topmost '&lt;select&gt;' option is selected<br />  '<b>List 1 - Opt 1</b>'       =&gt; array(),<br />  '<b>List 1 - Opt 2</b>'       =&gt; array(),<br />  '<b>List 1 - Opt 3</b>'       =&gt; array(),'     =&gt; array('<b>List 1</b>', '<b>List 2</b>'),<br />  '_any_value_'  =&gt; array('<b>List 1</b>'), // show these fields when a value not listed above is selected<br />);</code><br /><br />Isn't altogether too intuitive.  I understand the &quot;my_section&quot; and the &quot;my_list_filed&quot; however the array options is a bit confusing.<br /><br />I want to make it so that if an option from a list is selected, that another, second list will be shown.  But only if that option is selected, otherwise, it'd hide the second list.<br /><br />Like this:<br /><br />List 1 - Opt 1 (either 1 or 2 selected)<br />List 1 - Opt 2 (either 1 or 2 selected)<br />List 1 - Opt 3<br /><br />=========== then IF....<br /><br />List 1 - Opt 1<br />List 1 - Opt 2<br />List 1 - Opt 3 (3 selected)<br /><br />With List 1 - Opt 3 selected then List 2 shows<br /><br />List 2 - Opt 1<br />List 2 - Opt 2<br />List 2 - Opt 3<br />]]></description>
          <pubDate>Wed, 06 Apr 2011 06:36:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210490#post2210490</guid>
        </item>
                <item>
          <title>Re: [Jason] Input Date From Membership Signup Form</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210489#post2210489</link>
          <description><![CDATA[<blockquote>Hi Rusty,<br /><br />You can try something like this:<br /><code><b><br />Month:<br />&lt;select name=&quot;month&quot;&gt;<br />  &lt;?php foreach(range(1,12) as $month): ?&gt;   <br />    &lt;option value=&quot;&lt;?php echo $month;?&gt;&quot;&gt;&lt;?php echo date(&quot;F&quot;,strtotime(&quot;0000-$month&quot;));?&gt;&lt;/option&gt;<br />  &lt;?php endforeach ?&gt;<br />&lt;/select&gt;<br /></b></code><br /><br /></blockquote><br /><br />Any particular reason that on CMSB v2.07  that the Month would be populating nothing but December as the Label?<br /><br /><code>          &lt;?php foreach(range(1,12) as $month): ?&gt;<br />          Option Value: &lt;?php echo $month;?&gt; -  Descriptor: &lt;?php echo date(&quot;F&quot;,strtotime(&quot;0000-$month&quot;));?&gt;&lt;br /&gt;<br />          &lt;?php endforeach ?&gt;</code><br /><br />Gives me this:<br /><code>Option Value: 1 - Descriptor: December<br />Option Value: 2 - Descriptor: December<br />Option Value: 3 - Descriptor: December<br />Option Value: 4 - Descriptor: December<br />Option Value: 5 - Descriptor: December<br />Option Value: 6 - Descriptor: December<br />Option Value: 7 - Descriptor: December<br />Option Value: 8 - Descriptor: December<br />Option Value: 9 - Descriptor: December<br />Option Value: 10 - Descriptor: December<br />Option Value: 11 - Descriptor: December<br />Option Value: 12 - Descriptor: December</code><br /><br />So I can tell the foreach is working properly, but for some reason it's displaying the month improperly.<br />]]></description>
          <pubDate>Wed, 06 Apr 2011 05:36:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210489#post2210489</guid>
        </item>
                <item>
          <title>CSV Import - Error - Import File Doesn&apos;t Exist</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210137#post2210137</link>
          <description><![CDATA[Using the CSV Import plugin. Getting an error:<br /><br /><code><span style="color:red">Import file doesn't exist!</span></code><br /><br />I know the import file exists, I checked via FTP &amp; ssh and the file is there.<br /><br />AND the Live Preview shows me my data.<br /><br />Full Disclosure.. I previously had issues with &quot;<a target="_blank" href="http://www.interactivetools.com/forum/gforum.cgi?do=post_view&amp;post=86845&amp;t=search_engine#last"><span style="color:red">Upload Directory Doesn't Exist!</span></a>&quot;<br />]]></description>
          <pubDate>Wed, 16 Mar 2011 17:15:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210137#post2210137</guid>
        </item>
                <item>
          <title>Re: [Rusty] ERROR &quot;Upload Directory Doesn&apos;t Exist&quot; - tried everything with no resolution</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210135#post2210135</link>
          <description><![CDATA[Problem solved.  Turned out to be a discrepancy between the following:<br /><br />Program Directory: '/nfs/c04/h01/mnt/#####/domains/dev-beta.com/html/admin/'<br />and the<br />Uploads Directory: '/nfs/c04/h0<b>4</b>/mnt/#####/domains/dev-beta.com/html/admin/uploads/'<br /><br />Unbeknownst to me the path somehow changed.  I have no clue, as I don't tinker with those settings.  *shrugs* Got it fixed after I changed it to match the program directory.<br />]]></description>
          <pubDate>Wed, 16 Mar 2011 17:06:07 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210135#post2210135</guid>
        </item>
                <item>
          <title>Re: [meg] ERROR &quot;Upload Directory Doesn&apos;t Exist&quot; - tried everything with no resolution</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210132#post2210132</link>
          <description><![CDATA[Do we have any idea how this was resolved?  One of my servers is on MediaTemple and today when I tried to do a CSV import I get the error:<br /><br /><code><span style="color:red">Upload directory '/nfs/c04/h04/mnt/#####/domains/dev-beta.com/html/admin/uploads/' doesn't exist!</span></code><br /><br />Checked permissions and all the the rest, all were set ok.  Can't wrap my head around it.<br />]]></description>
          <pubDate>Wed, 16 Mar 2011 16:07:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210132#post2210132</guid>
        </item>
                <item>
          <title>Re: [Jason] more fav lists</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209930#post2209930</link>
          <description><![CDATA[What I want to do sort and filter for a users particular favorites without having to hard code it in the head of the page.<br /><br />eg: <br /><br /><code>// load matching records<br />    list($favoriteRecords, $favoriteMetaData) = getRecords(array(<br />      'tableName'     =&gt; 'items', // update this with your table or tag name<br />    //  'perPage'       =&gt; '10',<br />      'where'         =&gt; &quot; num IN ($favoriteNumsQuery) &quot;,<br />      'loadCreatedBy' =&gt; false,<br />      'allowSearch'   =&gt; false,<br />    ));</code><br /><br />However I'm curious to see if we can do something similar to this:<br /><br /><code>&lt;li&gt;## <b>&lt;a href=&quot;<span style="color:red">?orderBy=title</span>&quot;&gt;Sort by Last Name /\&lt;/a&gt; | &lt;a href=&quot;<span style="color:red">?orderBy=title DESC</span>&quot;&gt;\/&lt;/a&gt;</b>&lt;/li&gt;<br />    &lt;li&gt;## &lt;a href=&quot;?orderBy=first_name&quot;&gt;Sort by First Name /\&lt;/a&gt; | &lt;a href=&quot;?orderBy=first_name DESC&quot;&gt;\/&lt;/a&gt; &lt;/li&gt;<br />    &lt;li&gt;## &lt;a href=&quot;?orderBy=email&quot;&gt;Sort by Email /\&lt;/a&gt; | &lt;a href=&quot;?orderBy=email DESC&quot;&gt;\/&lt;/a&gt;&lt;/li&gt;</code><br /><br />Right now I want to figure out how to sort a list page, showing items, and sort them so that the favorites come up first or last (DESC obviously)<br /><br />From what I see if I do it like this: <br /><br /><br /><b>?createdByUserNum=$CURRENT_USER['num']</b> is going to show just the documents (if any) created by that particular user, not necessarily showing me documents created by an admin, but favorited by the current user.<br /><br />I hope this helps/makes sense.<br />]]></description>
          <pubDate>Tue, 01 Mar 2011 16:28:31 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209930#post2209930</guid>
        </item>
                <item>
          <title>Re: [Jason] more fav lists</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209862#post2209862</link>
          <description><![CDATA[Is there a way to filter results from a list page to ONLY show items currently in the Favorites table??<br /><br />I know we can do:<br /><br />&lt;a href=&quot;?orderBy=title&quot;&gt;<br />&lt;a href=&quot;?orderBy=fieldname&quot;&gt;<br /><br />howevever this:<br /><br />&lt;a href=&quot;?createdByUserNum=&lt;?php echo $CURRENT_USER['num'] ?&gt;&quot;&gt;&lt;strong&gt;View Favorites&lt;/strong&gt;&lt;/a&gt;<br /><br />just shows me records actually created by that user, not ones in their favorites.<br />]]></description>
          <pubDate>Sun, 27 Feb 2011 06:59:51 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209862#post2209862</guid>
        </item>
                <item>
          <title>Re: [Jason] Using List values between records</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209861#post2209861</link>
          <description><![CDATA[<blockquote>Hi Kenny,<br /><br />Just to refresh, the problem you're encountering is when you're outputting a list value, you getting a number instead of the label?  Is that right?<br /><br />If you're using CMS Builder 2.04 or higher, you can use the label pseudo field like this:<br /><br /><code>  <span style="color:red"><b>&lt;?php echo $record['category:label'];?&gt;</b></span></code><br /><br />Hope this helps.</blockquote><br /><br /><br />YAY THIS IS EXACTLY WHAT I WAS LOOKING FOR!! <br /><br />I was trying to figure out how to echo the LABEL for a list field, instead of the actual value.  In my case it's a height field, and although the value is in metric, I have the labels set to show both the metric amount and the standard amount.  Absolutely simple and perfect. YAY!<br /><br /><font size="1">Keyword spamming: display multi list drop down select value instead of label name unit</font><br />]]></description>
          <pubDate>Sun, 27 Feb 2011 03:37:51 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209861#post2209861</guid>
        </item>
                <item>
          <title>Re: [Jason] Question About Sub Categories and Filtering / Sorting via URL</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209847#post2209847</link>
          <description><![CDATA[Thanks so much Jason, I'll give that a try!  For some reason looking at that now, it looks so familiar, and I can't figure out why I didn't try that earlier.  Probably a mental block from too much caffeine.<br />]]></description>
          <pubDate>Fri, 25 Feb 2011 15:45:29 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209847#post2209847</guid>
        </item>
                <item>
          <title>Question About Sub Categories and Filtering / Sorting via URL</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209830#post2209830</link>
          <description><![CDATA[I ask because I'm not sure how to phrase my searching on this one.<br /><br />This is an example.<br /><br />Section Editor, List Page for Blog, with blog.php as list view, and blog-detail.php as detail view.<br />Within the Blog Section Editor I have a Field Label, and Field Name of &quot;Category&quot;, with a Field Type of &quot;List&quot; displayed as &quot;Check Boxes (Multi Value)&quot; with the List Options as &quot;Get options from database (Advanced )&quot;.<br /><br />This list or check boxes pulls its values from another Section Editor, list page with &quot;Blog Categories&quot; and the only thing it has is a Title text field.<br /><br />So.. the Blog Section Editor, populates the Category Check Boxes from the Blog Categories Section Table Name, with the Title for the Label and the Values.<br />Let's say the categories are News, Sports, &amp; Weather.<br /><br />I realized late last night that I don't know how to properly filter the sub categories.  I know I can filter them if I manually code in Checkboxes as News, Sports, and Weather, however I really like the idea of being able to provide dynamic category population and filtering.<br /><br />For example, hard coded check boxes filter just fine with this bit of code:<br /><br /><b>This works for hard-coded, non-dynamic checkboxes</b><br /><code>// load records<br />  list($blogRecords, $blogMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'blog',<br />	'where' =&gt; 'news',<br />    'perPage'     =&gt; '5',<br />    'allowSearch' =&gt; '0',<br />  ));</code><br /><b>This works for hard-coded, non-dynamic checkboxes</b><br /><br /><br />However if the Category check boxes are populated via the database from another table, it doesn't seem to work.  I did find a few posts that I think were talking about trying to do more or less the same idea with the old Article Manager, but I'm not sure.<br /><br />Does anyone have ideas where to start on this?<br /><br />I enabled MySQL Debugging and this bit of code I was trying just tells me that &quot;No Records were found&quot;<br /><br /><b>This doesn't work, where I'm trying to filter by dynamically populated subcategory</b><br />(By dynamically populated, I mean the options in the section editor, not the filtering bit, I have no problem making that hard coded to a page)<br /><code> // load records<br />  list($blogRecords, $blogMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'blog',<br />	'where' =&gt; 'category = news',<br />    'perPage'     =&gt; '5',<br />    'allowSearch' =&gt; '0',<br />  ));</code><br /><b>This doesn't work, where I'm trying to filter by dynamically populated subcategory</b><br /><br /><br /><br />[font size=4]And secondly....</font><br />I <b>know</b> there is a way to perform simple searching / filtering / sorting via URL, but for the life of me can't remember how to do it.<br /><br />I want to try and do the easy way of not having to make a hard coded section that declares the 'where' =&gt; 'category = news', and parse it with a URL search.<br /><br />I have done this before, but for the life of me can't remember how to get it to work.  It was something like this:<br /><br /><b>http://www.mysite.com/blog.php?category=news</b>  and since it was a link, when the user clicked on it, it auto-magically filtered all the blog posts with News sub category checked.  It is quicker and easier than having to hard code the loading of records.<br /><br />That being said, anyone remember how to do it properly?  And  does anyone see any reasons why I <i>wouldn't</i> want to do things that way?<br /><br />Thanks in advance, I really love this CMS..., and the amazing support we have in the small community of coders &amp; IAT staff.<br />]]></description>
          <pubDate>Thu, 24 Feb 2011 17:18:06 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209830#post2209830</guid>
        </item>
                <item>
          <title>Re: [Rusty] 3 coloumns listing + some more...</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209678#post2209678</link>
          <description><![CDATA[One other thing When working with a List Page, how can you go about incorporating CMS FOREACH to set it up to make let's say a 3x3 grid, 3 rows of 3.  Obviously some kind of counter would be necessary, to increment for each of the 9 records, and we can use the above code to force it to a new row...<br />]]></description>
          <pubDate>Thu, 17 Feb 2011 09:18:06 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209678#post2209678</guid>
        </item>
                <item>
          <title>Re: [Jason] 3 coloumns listing + some more...</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209676#post2209676</link>
          <description><![CDATA[I want to know why putting this within a foreach to list records (w/ a limit of 3 set within the table query) this works:<br /><br /><b>THIS WORKS</b><br /><code><span style="color:red">&lt;?php $maxCols=3; if (@++$count % $maxCols == 0): ?&gt;</span>&lt;div class=&quot;plan_box last&quot;&gt;<br /><span style="color:red"> &lt;?php else: ?&gt;</span>&lt;div class=&quot;one_third&quot;&gt;<span style="color:red">&lt;?php endif; ?&gt;</span></code><br /><b>THIS WORKS</b><br /><br />Properly assigning DIV &quot;one_third&quot; to the first two div's, and then &quot;plan_box last&quot; to the third and final div.<br /><br />But this: <br /><br /><code><span style="color:red">&lt;?php $counter = 0;<br />while ( $counter &lt;= 1 ) {<br />	echo &quot;</span>&lt;div class=\&quot;one_third\&quot;&gt;<span style="color:red">&quot;;<br />	 $counter = $counter + 1;<br />} 	echo &quot;</span>&lt;div class=\&quot;plan_box last\&quot;&gt;<span style="color:red">&quot;;<br />?&gt;</span></code><br /><br />makes all kinds of mumbo jumbo madness, doing what I want, but three times for each item listed within the FOREACH:<br /><code>&lt;div class=&quot;one_third&quot;&gt;&lt;div class=&quot;one_third&quot;&gt;&lt;div class=&quot;plan_box last&quot;&gt;   </code><br /><br />It's not that I don't love the fact that I finally hammered this out, however, I just wish I knew what was going on with the <b>% </b> where it's checking to see if <b>$maxCols</b> is equal to zero. I see the IF statement, I see the @ sign (to suppress errors/warnings) I see the counter, but to me it seems backwards.  Someone care to fill me in on the steps that are happening there?<br /><br /><br />BTW that works awesome, and will be very useful for defining custom CSS for the last item in a particular list (when used within a FOREACH).<br /><br /><font size="1">Keywords I used to search. php counter auto increment list foreach multiple columns limit</font><br />]]></description>
          <pubDate>Thu, 17 Feb 2011 09:11:17 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209676#post2209676</guid>
        </item>
                <item>
          <title>Re: [Deborah] inclusion of list field causes error in admin</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209672#post2209672</link>
          <description><![CDATA[It's not just you I'm having the exact same problem.<br /><br />I have 2 section editors, 1 for the Blog, and 1 for Featured Image.<br /><br />Featured Image is setup with only a Title field (descriptor) and an Upload field (for the image)<br /><br />Blog is configured just like a regular blog would be, and I have a List Field, Displayed as Pulldown List (Single Item Menu List).  List options are pulled from the Database, calling up the featured_image Section Tablename, using the IMG for values, and the title for Labels.<br /><br />I want to be able to have the functionality to create a blog post and when doing so select a single item from a drop down list choosing the image I would like to show.<br /><br />I'm getting two crazy errors :D<br /><br />First error:  rears its ugly head when I actually go to view the Blog section, none of the Blog Post Titles are showing up. (modify &amp; erase still do)<br /><br />Second error: rears its head when I modify a post, at the very top I get the following:<br /><br /><br /><code>Warning: Cannot modify header information - headers already sent by (output started at /public_html/admin/lib/menus/header.php:13) in<br /> /public_html/admin/lib/database_functions.php on line 606 There was an error creating the list field. MySQL Error: Unknown column 'img' in 'field list'</code><br /><br />Also the record creation fields, stops rendering based upon the location of the &quot;Featured Image&quot; list.  If it's at the bottom of the page, all the rest of the record creation fields (like to create a new blog post) will appear, and then it stops rendering past that.  If it's first, above title, nothing else will show past that.<br /><br /><br /><br /><b>EDIT</b><br /><br />I think it stems from CMS Building not knowing how to handle the image.  What I wanted to do is that if &quot;Image 1&quot; was selected that the file upload URL for &quot;Image 1&quot; would be passed to the &quot;featured_image&quot; variable.<br /><br />I'm currently experimenting with how to pull the image upload url into the specific blog post based upon list selection within cmsb.<br />]]></description>
          <pubDate>Wed, 16 Feb 2011 19:17:27 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209672#post2209672</guid>
        </item>
                <item>
          <title>Re: [Dave] Error connecting to MySQL!</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209648#post2209648</link>
          <description><![CDATA[Any idea where to find this detailed info in cPanel?  I'm having the exact same problem, with the exact same error:<code>Error connecting to MySQL:<br />Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</code><br /><br />Transitioning to another hosting service.  All the DB names and configurations are correct.<br /><br />Things done so far.<br /><br />Double Checked the server name via phpMyAdmin, I have it set, as listed in phpMyAdmin to <b>localhost</b>.<br />Double Checked the mySQL Database, Username, &amp; Password. (check in phpMyAdmin to see that my DB created successfully)<br /><br />I have tried the following for my hostname:<br /><br />localhost<br />127.0.0.1<br />the IP Address of my server, and I've spent the last 2 hours googling the error...<br />]]></description>
          <pubDate>Tue, 15 Feb 2011 23:46:05 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209648#post2209648</guid>
        </item>
                <item>
          <title>Re: [Rusty] CSV Import - Multi-Item List Field Workaround</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209589#post2209589</link>
          <description><![CDATA[Nevermind, I came to the answer myself.  Trial and error :D<br /><br />the mySql Plugin works great.  I was able to update the Table field &quot;permission&quot; by dumping in the Tab Separated values and it took to the checkboxes no problem.  Going to try the Drop Down List now... Just wanted to be able to visually see the entire list at once, to make sure that the scrolling action to see the entire list didn't screw it up and somehow un-select a bunch of the options.<br /><br />Thanks for the help!!<br /><br />PS.  Is there an easy way to modify how many &quot;Rows&quot; or options are shown by default with a Multi-Select Drop Down list?<br /><br />I know we can manually spec a height for a text input box etc from advanced options..<br />]]></description>
          <pubDate>Fri, 11 Feb 2011 10:48:29 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209589#post2209589</guid>
        </item>
                <item>
          <title>Re: [ross] CSV Import - Multi-Item List Field Workaround</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209588#post2209588</link>
          <description><![CDATA[<blockquote>Hi Rusty<br /><br />I am not quite sure I understand the problem but it sounds like you are trying to import or export a field that is basically a list of values separated by commas (CSV). Does that sound right? Maybe you could give me a sample of the data you are working with.<br /><br />On the other hand, if you are looking for a way to update the values in one field for all records in a table, you can always do it using the MySQL console plugin (free)<br /><br />http://www.interactivetools.com/add-ons/detail.php?MySQL-Console-1011<br /><br />That lets you run SQL right on your database. Make sure to always have backups before doing anything with this plugin :).</blockquote><br /><br />I have a section editor, where I have the basic outline/structure for mutliple items.  <br /><br />One of the fields in that section editor is labeled &quot;Permission&quot;  and it is a multi-item list field (mutli-select drop down menu).  This allows the admin to limit what pages on the site itself that a logged in viewer will have access to view.  The permission field labels are pulled from the User Accounts Full Name field, and the permission field values are pulled from the User Accounts UserNum.<br /><br />What I'm attempting to do is to import, via the CSV Import plugin, default &quot;Permission&quot; values, so that the admin won't have to sift through hundreds of files, going through and selecting all the users for each and every record.<br /><br />I exported a few of the records, using the CSV Export plugin, just to see how the exported fields looked.  And I <i>tried</i> to import a CSV with the same type of formatting, and got no where.<br /><br />So what I'm trying to discern is, short of ME having to go into phpMyAdmin and manually pasting the permissions, if there is a way to set the &quot;permission&quot; values on ALL the records in that associated table.<br /><br /><br />Attached is the CSV Export..., and the way I had formatted my last CSV to try to CSV Import.  All the fields <b>except</b> the permissions are getting properly imported.<br />I've tried calling Permission, all of the following and it just won't take: &quot;permission&quot; , &quot;permission:labels&quot;, &quot;permission:values&quot;   Obviously when I tried to import the permission lables, I replaced the UserNum with the FullName values.<br /><br />When I would try to import the numerical UserNum values into the Permission field, it does get imported however what happens is that it's listed as &quot;<b>Previous selection (no longer in list)</b>&quot;<br /><br /><br />I took a look at the mySql Console plugin, I just don't know enough yet on how to duplicate the values for one record, and update/insert them across the rest of the records in that table.  More reading to do.  <br /><br />From what I can see the Example provided:<br /><b>UPDATE cms_exampleTable SET field='value';</b><br /><br />So since my table is called forms, I would cahnge it look like this:<br /><b>UPDATE cms_forms SET permission='84, 9, 10, 11, 69, 73, 35, 27, 64, 16, 34, 42, 37, 45, 60, 15, 28, 77, 25, 79, 38, 2, 23, 40, 3, 31, 80, 62, 65, 59, 70, 19, 24, 54, 36, 8, 78, 13, 1, 33, 17, 76, 56, 44, 43, 41, 7, 55, 21, ';</b><br /><br />Or will I need to put it in as a Tab Separated like this:<br /><code>	84	9	10	11	69	73	35	27	64	16	34	42	37	45	60	15	28	77	25	79	38	</code><br />]]></description>
          <pubDate>Fri, 11 Feb 2011 10:04:24 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209588#post2209588</guid>
        </item>
                <item>
          <title>Re: [Rusty] CSV Import - Multi-Item List Field Workaround</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209557#post2209557</link>
          <description><![CDATA[I know I can manually go through and edit each record individually, is there a simple way to replace the field for ALL the records in a table?<br /><br />Right now I've only got about 100 records in the table, enough to be a pain but not impossible to do by hand, but I will have many many more.  <br /><br />I'm looking for an easy way to replace/update the values for a multi-item list field across the entire table.<br />]]></description>
          <pubDate>Wed, 09 Feb 2011 15:14:06 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209557#post2209557</guid>
        </item>
                <item>
          <title>Re: [Jason] Membership Filter</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209554#post2209554</link>
          <description><![CDATA[<blockquote>Hi Rusty,<br /><br />I think you're first attempt was actually the closest.  If I understand correctly, you have a section called forms and in each record you want to have a multi-value list that is populated from the accounts table.  When you're selecting your forms records, you want to make sure that the current user is selected for all the records returned.  Is that right?<br /><br />In that case, we don't have to worry about creating arrays.  In CMS Builder, multi-value lists are stored as a tab (\t) separated string.  That means, we know that if our current user number is in the list it would be in the form \tNUM\t regardless of how many other elements are there.  We can put this directly in the WHERE clause using LIKE.<br /><br />Give this a try:<br /><br /><code>list($formsRecords, $formsMetaData) = getRecords(array( <br />      'tableName'     =&gt; 'forms', <br />     <b><span style="color:red"> 'where'         =&gt; &quot;permissions LIKE '%\t&quot;.intval($CURRENT_USER['num']).&quot;\t%'&quot;,</span></b><br />      'loadCreatedBy' =&gt; false, <br />      'allowSearch'   =&gt; false, <br />      <br />    ));</code><br /><br />This will look for records where the permissions string has the current user number  with a tab character on either side.  The % signs mean that any other number of characters can appear on either side of the string.<br /><br />Hope this helps.</blockquote><br /><br />That more than helped, that worked EXACTLY how I wanted it to.  Thanks for your assistance, and the guiding hand.<br />]]></description>
          <pubDate>Wed, 09 Feb 2011 14:40:53 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209554#post2209554</guid>
        </item>
                <item>
          <title>CSV Import - Multi-Item List Field Workaround</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209553#post2209553</link>
          <description><![CDATA[So, since the CSV Import currently doesn't have any way to handle Multi-Item List Fields what are the work arounds?<br /><br />I've already tried every combination of configuring my CSV file, formatting it to look just like the CSV Export, and was saddened to see that it just wouldn't work.<br /><br />In terms of the work around, the first thought I had was...<br /><br />1. Go to phpMyAdmin<br />2. Go to my Datbase<br />3. Go to my Field that I'm trying to Import data into<br />4. Figure out a way to paste the same values for the Multi-Item List Field into all the records<br /><br />Again this isn't a true work around since it's appending the exact same values to a series of records in a table, but it's easier than requiring my admin to go through and check HUNDREDS and HUNDREDS of values by hand.<br /><br />Thoughts, Suggestions?<br />]]></description>
          <pubDate>Wed, 09 Feb 2011 14:38:38 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209553#post2209553</guid>
        </item>
              </channel>
    </rss>
  