<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Category Menu Pulling in Multi page record</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Category-Menu-Pulling-in-Multi-page-record-69905</link>
        <description></description>
        <pubDate>Mon, 15 Jun 2026 19:32:15 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Category-Menu-Pulling-in-Multi-page-record-69905" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197046#post2197046</link>
          <description><![CDATA[Hi Ross,<br /><br />Attached are the teamList and teamDetail pages - it's working on the list page but somethings not quite there with that following detail page! These teamDetail pages have different records/content to the main detail pages that are within the breadcrumb navigation.<br /><br />Thankyou!<br />]]></description>
          <pubDate>Tue, 21 Apr 2009 03:06:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197046#post2197046</guid>
        </item>
                <item>
          <title>Re: [Kittybiccy] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197024#post2197024</link>
          <description><![CDATA[Hi Hannah<br /><br />Let's have a look at the new code you are using.  Could you post your templates again? Thanks!<br />]]></description>
          <pubDate>Mon, 20 Apr 2009 12:26:08 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197024#post2197024</guid>
        </item>
                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2197002#post2197002</link>
          <description><![CDATA[Hi Ross,<br /><br />I tried that and although it pulled in the navigation correctly, it then lost all content as these pages have different records to the other detail pages.<br /><br />What do you suggest?<br />]]></description>
          <pubDate>Fri, 17 Apr 2009 11:27:26 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2197002#post2197002</guid>
        </item>
                <item>
          <title>Re: [Kittybiccy] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196852#post2196852</link>
          <description><![CDATA[Hi Hannah<br /><br />I think the main problem here is going to be that you don't have the breadcrumb's viewer code on your detail page. Try adding:<br /><br /><code>  list($ansleyRecords, $selectedCategory) = getCategories(array(<br />    'tableName'           =&gt; 'ansley',<br />    'selectedCategoryNum' =&gt; '',         // defaults to getNumberFromEndOfUrl()<br />    'categoryFormat'      =&gt; 'showall',  // showall, onelevel, twolevel<br />  ));</code><br /><br />to your detail page and see where that gets you. Thanks!<br />]]></description>
          <pubDate>Thu, 09 Apr 2009 10:52:29 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196852#post2196852</guid>
        </item>
                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196827#post2196827</link>
          <description><![CDATA[The detail pages in this instance will just hold the details for one person.<br /><br />Attached is the page and also the teamList page where the breadcumb is working!<br /><br />Hannah<br />]]></description>
          <pubDate>Wed, 08 Apr 2009 03:16:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196827#post2196827</guid>
        </item>
                <item>
          <title>Re: [Kittybiccy] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196817#post2196817</link>
          <description><![CDATA[Hi Hannah<br /><br />You will be able to link from a breadcrumb to the detail page so we'll just need to figure out what's happening here.<br /><br />Do you have any other viewers on the detail page or is it just the one?<br /><br />Could you post a copy of it to a reply? Thanks!<br />]]></description>
          <pubDate>Tue, 07 Apr 2009 11:43:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196817#post2196817</guid>
        </item>
                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196807#post2196807</link>
          <description><![CDATA[I've got the breadcrumb navigation working on all of the pages now except for when I try and replicate it on a detail page that is coming off of a list page within the breadcrumb navigation. <br /><br />I get a 'Warning: Invalid argument supplied for foreach() in /homepages/31/d271660971/htdocs/CMSB/ansley_teamDetail.php on line 91.'<br /><br />The page in question is a detail page for a list page we coded in: <a target="_blank" href="http://www.arcschoolsuk.com/CMSB/ansley_teamDetail.php?Test-4-4.">http://www.arcschoolsuk.com/CMSB/ansley_teamDetail.php?Test-4-4.</a><br />The list page for this works though: <a target="_blank" href="http://www.arcschoolsuk.com/CMSB/ansley_teamList.php">http://www.arcschoolsuk.com/CMSB/ansley_teamList.php</a><br /><br />Is there something I need to change to get the breadcrumb to work on the detail page because this is coming from a list page or am I just doing something silly?!<br /><br />Hannah<br />]]></description>
          <pubDate>Tue, 07 Apr 2009 04:18:09 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196807#post2196807</guid>
        </item>
                <item>
          <title>Re: [Kittybiccy] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196720#post2196720</link>
          <description><![CDATA[Hi Hannah<br /><br />Thanks for getting me your details through email :). I replied to you there as well but for anyone following along, the problem was with variable names.<br /><br />The viewer code at the top was using variable names from the other section so when they were copied to this new page, they didn't match what was already on the page further down.<br /><br />Let me know if I can take a look at anything else for you :).<br />]]></description>
          <pubDate>Wed, 01 Apr 2009 15:07:50 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196720#post2196720</guid>
        </item>
                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196698#post2196698</link>
          <description><![CDATA[I've been working on a breadcrumb navigation which I've managed to get to work on one section of a site that has three sections! You sent some code to Charlie which I used and have created category menus for each section. The editors in these categories are to be displayed in the breadcrumb navigation.<br /><br />So I got one of the sections to work fine. I've then copied the code across - changing the table name and anything else needed but I'm getting this error: Warning: Invalid argument supplied for foreach() in /homepages/31/d271660971/htdocs/CMSB/church_end.php on line 79<br /><br />This is the section in question:<br /><a target="_blank" href="http://www.arcschoolsuk.com/CMSB/church_end.php?1">http://www.arcschoolsuk.com/CMSB/church_end.php?1</a><br /><br />And the section that is working:<br /><a target="_blank" href="http://www.arcschoolsuk.com/CMSB/napton.php?1">http://www.arcschoolsuk.com/CMSB/napton.php?1</a><br /><br />Could anyone tell me what I've done wrong and why it's not working on the second section, I will need to add a third section too with the same breadcrumb too once I get this one sorted!<br /><br />Hannah<br />]]></description>
          <pubDate>Wed, 01 Apr 2009 09:54:13 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196698#post2196698</guid>
        </item>
                <item>
          <title>Re: [chassa2556] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196664#post2196664</link>
          <description><![CDATA[Hi.<br /><br />Sounds good. I actually just asked that in the other thread :).<br /><br />Thanks!<br />]]></description>
          <pubDate>Tue, 31 Mar 2009 11:46:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196664#post2196664</guid>
        </item>
                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196644#post2196644</link>
          <description><![CDATA[Hi Ross - have tried this and its still coming up with the error. I think I will send you my log in details and would you mind having a closer look for me please?<br />]]></description>
          <pubDate>Mon, 30 Mar 2009 12:36:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196644#post2196644</guid>
        </item>
                <item>
          <title>Re: [chassa2556] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196635#post2196635</link>
          <description><![CDATA[Hi Charles<br /><br />This is similar to the problem we discussed in that other thread. You are hardcoding the URLs now so the line of code that checks for a number in the URL is breaking things because there is no number.<br /><br />Try removing:<br /><br />'selectedCategoryNum' =&gt; '',         // defaults to getNumberFromEndOfUrl()<br /><br />And let me know how you make out :).<br />]]></description>
          <pubDate>Mon, 30 Mar 2009 11:19:13 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196635#post2196635</guid>
        </item>
                <item>
          <title>Re: [chassa2556] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196609#post2196609</link>
          <description><![CDATA[Hi there.<br /><br />I have some code for you to try out. The main thing is that I used &quot;linkOverride&quot; as the name of my field. You can use anything you like though. Just make sure to update the code accordinly.<br /><br /><code>&lt;div id=&quot;topMenu&quot;&gt; <br />&lt;ul&gt; <br />&lt;li&gt; <br />&lt;?php foreach ($school_2Records as $school_2Record): ?&gt; <br />&lt;?php echo $school_2Record['_listItemStart'] ?&gt; <br /><br />&lt;?php //Ross Code Starts Here ?&gt;<br />&lt;?php if ($school_2Record['linkOverride']): ?&gt;<br />	&lt;a href=&quot;&lt;?php echo $school_2Record['linkOverride'] ?&gt;&quot;&gt;<br />&lt;?php else: ?&gt;<br />	&lt;a href=&quot;&lt;?php echo $school_2Record['_link'] ?&gt;&quot;&gt;<br />&lt;?php endif ?&gt;<br />&lt;?php //Ross Code Ends Here ?&gt;<br /><br />| &lt;?php echo $school_2Record['name'] ?&gt;&lt;/a&gt; <br /><br />&lt;?php echo $school_2Record['_listItemEnd'] ?&gt; <br />&lt;?php endforeach; ?&gt; <br />&lt;/a&gt; <br />&lt;![endif]--&gt; <br />&lt;/ul&gt; <br />&lt;/li&gt; <br />&lt;/div&gt;</code><br /><br />I put tags around my code so you can sit it better. One thing you'll notice is that I took out the if block that checked whether the category selected or not.  You would only need that if the selected category was going to have a different style. Based on your code, the would all look the same.<br /><br />Give it a shot and let me know how you make out :).<br />]]></description>
          <pubDate>Fri, 27 Mar 2009 16:27:34 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196609#post2196609</guid>
        </item>
                <item>
          <title>Re: [ross] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196594#post2196594</link>
          <description><![CDATA[Hi Ross<br /><br />Here is the code I'm using for my category menu <br /><br /><code>&lt;div id=&quot;topMenu&quot;&gt;<br />&lt;ul&gt;<br />&lt;li&gt;<br />&lt;?php foreach ($school_2Records as $school_2Record): ?&gt;<br />&lt;?php echo $school_2Record['_listItemStart'] ?&gt;<br /><br />&lt;?php if ($school_2Record['_isSelected']): ?&gt;<br />&lt;a href=&quot;&lt;?php echo $school_2Record['_link'] ?&gt;&quot;&gt; | &lt;?php echo $school_2Record['name'] ?&gt;&lt;/a&gt;<br /><br />&lt;?php else: ?&gt;<br />&lt;a href=&quot;&lt;?php echo $school_2Record['_link'] ?&gt;&quot;&gt; | &lt;?php echo $school_2Record['name'] ?&gt;&lt;/a&gt;<br />&lt;?php endif; ?&gt;<br /><br />&lt;?php echo $school_2Record['_listItemEnd'] ?&gt;<br />&lt;?php endforeach; ?&gt;<br />&lt;/a&gt;<br />&lt;![endif]--&gt;<br />&lt;/ul&gt;<br />&lt;/li&gt;<br />&lt;/div&gt;</code><br /><br />Could you let me know how that magic code would look please?<br />]]></description>
          <pubDate>Fri, 27 Mar 2009 12:21:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196594#post2196594</guid>
        </item>
                <item>
          <title>Re: [chassa2556] Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196592#post2196592</link>
          <description><![CDATA[Hi there.<br /><br />Thanks for posting!<br /><br />The categories in CMS Builder right now are setup to link to single pages only. What you could do though is add a field to your categories section called &quot;URL&quot; or something like that.<br /><br />Then, in the code for displaying your categories, a bit of code that says, if there is value for the URL field, go to that page instead. Otherwise, go to the page you normally work.<br /><br />Does that sound like it would work?<br />]]></description>
          <pubDate>Fri, 27 Mar 2009 12:04:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196592#post2196592</guid>
        </item>
                <item>
          <title>Category Menu Pulling in Multi page record</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2196584#post2196584</link>
          <description><![CDATA[Hi <br />We have set up a category menu system for a site which is fine for single pages but there is one page within the breadcrumb that needs to route to a multi-page record with a 'more info' link to a detail page. We were thinking of hard coding a link to the end of the breadcrumb linking to a different type of section but this doesn't seem very satisfactory. <br /><br />What is the best strategy for doing this?<br />]]></description>
          <pubDate>Fri, 27 Mar 2009 06:37:41 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2196584#post2196584</guid>
        </item>
              </channel>
    </rss>
  