Re: [Mercer Design] Title not coming into a detail page
Hi,
I don't have the url's to these pages, so I'm having to do a little guess work as to where the problems are.
For the first problem of only displaying 1 banner instead of all of them. I'm assuming the issue is in Special_Event.php. If so, I think the problem is here:
<?php foreach ($special_eventRecords as $record): ?>
<?php echo $record['banner_image'] ?><br/>
<?php endforeach ?>
Here you're looping through all of the records and outputting their banner_image fields. Try replacing this code with this:
<?php echo $special_eventRecord['banner_image'] ?><br/>
As for the second issue, I'm not exactly sure where you're experiencing the problem. If you could let me know in which file you're seeing this issue and could provide a url so that I could see the problem in action, I'll see if I can help you out.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/