<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Using a Multi Record on a Category Menu page</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Using-a-Multi-Record-on-a-Category-Menu-page-72312</link>
        <description></description>
        <pubDate>Mon, 20 Jul 2026 03:36:49 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Using-a-Multi-Record-on-a-Category-Menu-page-72312" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [Jason] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210108#post2210108</link>
          <description><![CDATA[thanks Jason, this really helped me.<br />]]></description>
          <pubDate>Mon, 14 Mar 2011 16:38:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210108#post2210108</guid>
        </item>
                <item>
          <title>Re: [Jason] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210046#post2210046</link>
          <description><![CDATA[Perfect. Everything seems to be working now.<br /><br />jason<br />]]></description>
          <pubDate>Tue, 08 Mar 2011 14:23:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210046#post2210046</guid>
        </item>
                <item>
          <title>Re: [zip222] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210045#post2210045</link>
          <description><![CDATA[Hi,<br /><br />A good way to do the where clause would be like this:<br /><br /><code>'where' =&gt; &quot;num = '&quot;. mysql_escape($newsid).&quot;' &quot;,</code><br /><br />we use mysql_escape to make sure no one is putting malicious code in the url string.<br /><br />You would only use the &quot;%&quot; in the where clause when using the LIKE operator.  Also, the tab characters(&quot;\t&quot;) are only used for multi-value lists.<br /><br />Hope this helps clarify.  Is everything working now?<br />]]></description>
          <pubDate>Tue, 08 Mar 2011 14:15:33 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210045#post2210045</guid>
        </item>
                <item>
          <title>Re: [Jason] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210044#post2210044</link>
          <description><![CDATA[I think I understand what you are suggesting, and I believe I am headed in the right direction....<br /><br />I have changed the url structure to this:<br />show.php?type=news&amp;newsid=2&amp;page=4<br /><br />This viewer code works correctly:<br /><code>	// load news record details<br />	list($news_details, $news_detailsMetaData) = getRecords(array(<br />		'tableName'   =&gt; 'news_items_template',<br />		'where' =&gt; 'num=2',<br />		'limit'       =&gt; '1',<br />	));<br />	$news_details = @$news_details[0]; // get first record</code><br /><br />But if I modify the where statement to utilize the a number from the url it stops working. like this:<br /><br /> <code>	// load news record details<br />	<b>$newsnum = @$_GET[&quot;newsid&quot;];</b><br /><br />	list($news_details, $news_detailsMetaData) = getRecords(array(<br />		'tableName'   =&gt; 'news_items_template',<br />		<b>'where' =&gt; &quot;num='%\t$newsnum\t%'&quot;,</b><br />		'limit'       =&gt; '1',<br />	));<br />	$news_details = @$news_details[0]; // get first record</code><br /><br />if i change my where statement to the following it works properly.<br /><br /><code>'where' =&gt; &quot;num='{$newsid}'&quot;,</code><br />]]></description>
          <pubDate>Tue, 08 Mar 2011 13:59:41 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210044#post2210044</guid>
        </item>
                <item>
          <title>Re: [zip222] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210043#post2210043</link>
          <description><![CDATA[Hi,<br /><br />There are actually quite a few things happening on show.php.  From what I can tell, the category being selected is being based on the last number in your URL string.  <br /><br />I would recommend starting out selecting your news/event record not using whereRecordNumInUrl().  Instead use the 'where' option to create your own where clause.  Once that's working, you can pass your category number at the end of your url without worrying about how it will affect your record selection.<br /><br />In order to give an exact example of how this is done, I would need to be able to see more of what's happening on your page and in your database, which isn't something we can handle through support.  If you'd like us to take a look at getting this functionality working for you, please send an email to <a href="mailto:consulting@interactivetools.com">consulting@interactivetools.com</a> and we can go over some options with you.<br /><br />Hope this helps<br />]]></description>
          <pubDate>Tue, 08 Mar 2011 13:34:41 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210043#post2210043</guid>
        </item>
                <item>
          <title>Re: [Jason] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210015#post2210015</link>
          <description><![CDATA[Jason, this sounds like it would work for me, but I am not sure how to proceed. Help?<br />]]></description>
          <pubDate>Mon, 07 Mar 2011 15:41:25 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210015#post2210015</guid>
        </item>
                <item>
          <title>Re: [zip222] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2210008#post2210008</link>
          <description><![CDATA[Hi, <br /><br />I took a look at your code, and I think what's happening is you're not passing any category information in you're url.<br /><br />You can try passing &quot;page&quot; in your url and then manually setting your WHERE clause to get your news using id and type instead of using whereRecordNumInUrl()<br /><br />Hope this helps get you started.<br />]]></description>
          <pubDate>Mon, 07 Mar 2011 14:54:57 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2210008#post2210008</guid>
        </item>
                <item>
          <title>Re: [Jason] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209993#post2209993</link>
          <description><![CDATA[show.php is attached.<br /><br />Thanks.<br />]]></description>
          <pubDate>Mon, 07 Mar 2011 13:17:03 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209993#post2209993</guid>
        </item>
                <item>
          <title>Re: [zip222] Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209991#post2209991</link>
          <description><![CDATA[Hi,<br /><br />Can you attach show.php as well as the code that outputs your menu?<br /><br />Thanks<br />]]></description>
          <pubDate>Mon, 07 Mar 2011 13:01:58 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209991#post2209991</guid>
        </item>
                <item>
          <title>Using a Multi Record on a Category Menu page</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2209958#post2209958</link>
          <description><![CDATA[I am building a site that uses a Category Menu to create all of the primary pages of the site. But I also trying to use a Multi Record for managing news and event listings. On one of the Category Menu pages I am displaying a list of news items. But I am having trouble setting up the detail page. I have been successful in getting the news detail information to display properly, but the menu that is generated from the Category Menu is not doing want I need it to do. Because I am sending a number at the end of the url for the news item, it is causing the Category Menu navigation to change as well. You can see what I am talking about here:<br /><br />news list <br /><br />Ideally I want the News category to stay highlighted.<br />]]></description>
          <pubDate>Thu, 03 Mar 2011 21:04:30 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2209958#post2209958</guid>
        </item>
              </channel>
    </rss>
  