PHP Includes not showing up on Multiples Detail Pages

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 20, 2008   (RSS)

By (Deleted User) - August 20, 2008

I have a problem where I have a website that contains PHP includes.
Those includes also contain some db driven information from CMS Builder.

Now, for an example, if I go to the templated page
(Templated page example: http://www.nsbc.org/about2/eab_bio.php)
and add ?1, as in:
http://www.nsbc.org/about2/eab_bio.php?1
You can see everything perfectly well.
Pay special attention to the left hand navigation menu as well as the breadcrumb trail.

Now, when I go to another bio, such as:
http://www.nsbc.org/about2/eab_bio.php?2
The left hand nav disappears, as does a portion of the breadcrumb.

Now obviously this is using the same template.
And the PHP includes aren't causing any trouble when they aren't pulling information from elsewhere.

However, I need to fix this quirk and could really use some input.

Thanks!
Kim[url]

Re: [kimamel] PHP Includes not showing up on Multiples Detail Pages

By Dave - August 20, 2008

Hi Kim, Welcome to the CMS Builder forum! :)

If it's a single record viewer that is displaying the menu try removing this line:

'where' => whereRecordNumberInUrl(1),

Otherwise, if that doesn't work, can you attach your viewer file to the post so we can see the code?

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com