php include not working on multi-listing page

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 16, 2009   (RSS)

Re: [misery217] php include not working on multi-listing page

By Luke - November 13, 2009

Hi misery217,

Thank you for your post.

Try removing this line:

'where' => whereRecordNumberInUrl(1),

The only URL that has "1" in it is:

http://174.143.92.42/waxahachiechamber.com/calendar/defaultDetail.php?New-Site-Opening-1

So this is why your Upcoming Events are only displayed on the above event.

Your other events have "3" and "4" in the URL.

Also, I noticed when clicking on an event the URL was doubling up in the browser's address bar. I'm not sure what's causing this but you might want to take a closer look at the source code for your hyperlinks to remove the duplication.

Cheers,
Luke
Luke Holzken
Product Development

Re: [Luke] php include not working on multi-listing page

By misery217 - November 16, 2009

Thanks Luke, That worked.

I did look at the source code for the Email link and it is showing:

<a href="mailto:?subject=<?php echo thisPageUrl() ?>">Email this Page</a>

My Viewer URL's are set to http://174.143.92.42/waxahachiechamber.com/calendar/defaultDetail.php which is clunky, but this is mainly because the site is not in full production yet and this way is easier to set up the CMS database.