<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Posting list items into code that varies</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Posting-list-items-into-code-that-varies-80622</link>
        <description></description>
        <pubDate>Mon, 13 Apr 2026 10:01:45 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Posting-list-items-into-code-that-varies-80622" rel="self" type="application/rss+xml" />

                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239223#post2239223</link>
          <description><![CDATA[<p>That did the trick! Thanks so much for your help with this :)</p>]]></description>
          <pubDate>Fri, 15 Jul 2016 21:22:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239223#post2239223</guid>
        </item>
                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239222#post2239222</link>
          <description><![CDATA[<p>Sorry - just change <span>&lt;?php echo htmlencode($record['content']) ?&gt; to <span>&lt;?php echo ($record['content']) ?&gt;</span></span></p>
<p>Also, remove the extra styling here: <span>&lt;h4 class="panel-title" <span style="color:#ff0000;">style="color: #000;"</span>&gt;</span></p>
]]></description>
          <pubDate>Fri, 15 Jul 2016 17:31:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239222#post2239222</guid>
        </item>
                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239220#post2239220</link>
          <description><![CDATA[<p>From where though? It's not coming from your code. The answer field is a WYSIWYG field - it's coming from CMSB</p>]]></description>
          <pubDate>Fri, 15 Jul 2016 03:46:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239220#post2239220</guid>
        </item>
                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239219#post2239219</link>
          <description><![CDATA[<p>Nah - that's just my stuff up.  Just delete it.</p>
]]></description>
          <pubDate>Fri, 15 Jul 2016 03:03:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239219#post2239219</guid>
        </item>
                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239218#post2239218</link>
          <description><![CDATA[<p>Excellent thank you! Great idea to use the number field for the variable.</p>
<p>Only issue I am seeing now is the answer content is showing &lt;p&gt; <span>&lt;span style="color: #00ccff;"&gt; etc within it instead of changing the style of the text. Is there any reason this is happening?</span></p>]]></description>
          <pubDate>Fri, 15 Jul 2016 01:22:36 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239218#post2239218</guid>
        </item>
                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239217#post2239217</link>
          <description><![CDATA[<p>That looks like a standard bootstrap accordion to me?  If so, so this code - just match your field names:</p>

<blockquote>
<p>&lt;?php</p>
<p>// load records from 'facts'<br /> list($factsRecords, $factsMetaData) = getRecords(array(<br /> 'tableName' =&gt; 'facts',<br /> 'loadUploads' =&gt; true,<br /> 'allowSearch' =&gt; false,<br /> ));</p>
<p>?&gt;<br />&lt;?php $count = 0 ?&gt;<br />&lt;div class="panel-group" id="accordion"&gt;<br /> &lt;?php foreach ($factsRecords as $record): ?&gt;<br /> &lt;div class="panel panel-default"&gt;<br /> &lt;div class="panel-heading"&gt;<br /> &lt;h4 class="panel-title" style="color: #000;"&gt;<br /> &lt;a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapse&lt;?php echo htmlencode($record['num']) ?&gt;"&gt;<br /> &lt;?php echo htmlencode($record['title']) ?&gt;<br /> &lt;/a&gt;<br /> &lt;/h4&gt;<br /> &lt;/div&gt;<br /> &lt;div id="collapse&lt;?php echo htmlencode($record['num']) ?&gt;" class="panel-collapse collapse&lt;?php if (!$count): ?&gt; in&lt;?php $count++ ?&gt; &lt;?php endif ?&gt; "&gt;<br /> &lt;div class="panel-body"&gt;<br /> &lt;?php echo htmlencode($record['content']) ?&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;?php endforeach ?&gt;<br />&lt;/div&gt;</p>
</blockquote>]]></description>
          <pubDate>Thu, 14 Jul 2016 22:03:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239217#post2239217</guid>
        </item>
                <item>
          <title>Posting list items into code that varies</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2239215#post2239215</link>
          <description><![CDATA[<p>I have a FAQ page that is setup using the default CMSB list.<br /><br />I want to present the list in an accordian, however the code changes slightly for every single tab. Is this possible while still generating the FAQs as a list?</p>
<p><code> &lt;h3 class="text-center"&gt;ACCORDION&lt;/h3&gt;<br /> &lt;div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"&gt;<br /> &lt;div class="panel panel-default"&gt;<br /> &lt;div class="panel-heading" role="tab"&gt;<br /> &lt;a data-toggle="collapse" data-parent="#accordion" href="<span style="color:#ff0000;">#collapseOne</span>" class="collapse collapsed"&gt;Toggle panel Item #1&lt;/a&gt;<br /> &lt;/div&gt;<br /> &lt;div id="<span style="color:#ff0000;">collapseOne</span>" class="panel-collapse collapse" <span style="color:#ff0000;">role="tabpanel" style="height: 0px;"</span>&gt;<br /> &lt;div class="panel-body"&gt;<br /> &lt;small&gt;CONTENT 1&lt;/small&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;div class="panel panel-default"&gt;<br /> &lt;div class="panel-heading"&gt;<br /> &lt;a data-toggle="collapse" data-parent="#accordion" href="#<span style="color:#ff0000;">collapseTwo</span>" class="collapse collapsed"&gt;Toggle panel Item #2&lt;/a&gt;<br /> &lt;/div&gt;<br /> &lt;div id="<span style="color:#ff0000;">collapseTwo</span>" class="panel-collapse collapse" <span style="color:#ff0000;">style="height: 0px;"</span>&gt;<br /> &lt;div class="panel-body"&gt;<br /> &lt;small&gt;CONTENT 2&lt;/small&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;div class="panel panel-default"&gt;<br /> &lt;div class="panel-heading"&gt;<br /> &lt;a data-toggle="collapse" data-parent="#accordion" href="#<span style="color:#ff0000;">collapseThree</span>" class="collapse collapsed"&gt;Toggle panel Item #3&lt;/a&gt;<br /> &lt;/div&gt;<br /> &lt;div id="<span style="color:#ff0000;">collapseThree</span>" class="panel-collapse collapse"&gt;<br /> &lt;div class="panel-body"&gt;<br /> &lt;small&gt;CONTENT 3&lt;/small&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;div class="panel panel-default"&gt;<br /> &lt;div class="panel-heading"&gt;<br /> &lt;a data-toggle="collapse" data-parent="#accordion" href="#<span style="color:#ff0000;">collapseFour</span>" class="collapse collapsed"&gt;Toggle panel Item #4&lt;/a&gt;<br /> &lt;/div&gt;<br /> &lt;div id="<span style="color:#ff0000;">collapseFour</span>" class="panel-collapse collapse"&gt;<br /> &lt;div class="panel-body"&gt;<br /> &lt;small&gt;CONTENT 4&lt;/small&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;<br /> &lt;/div&gt;</code></p>
]]></description>
          <pubDate>Thu, 14 Jul 2016 18:59:24 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2239215#post2239215</guid>
        </item>
              </channel>
    </rss>
  