Title not coming into a detail page

9 posts by 2 authors in: Forums > CMS Builder
Last Post: February 22, 2011   (RSS)

Re: [Mercer Design] Title not coming into a detail page

By Jason - February 17, 2011

Hi,

Could you attach News_list.php and News_details.php so I can take a look at the code?

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Title not coming into a detail page

Thanks, I have sorted it all out now.

Re: [Mercer Design] Title not coming into a detail page

I have a new problem now, I have a wysiwyg area on a list page for a banner image, it is pulling in other banner images from detail pages though, how can i limit it just to bring in the banner image from the first record.

Also I have got the first title coming in as a link from the list of records, unfortunately when you click on the second record on that page it changes that title, how can I make it so it keeps the first record from the list and not change it to the current record.

Re: [Mercer Design] Title not coming into a detail page

By Jason - February 18, 2011

Hi,

If you could attach your .php files, I should be able to give you a better example of how to do this.

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Title not coming into a detail page

Please find attached my list and detail page.

Re: [Mercer Design] Title not coming into a detail page

By Jason - February 21, 2011

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/

Re: [Jason] Title not coming into a detail page

Thanks, that works perfectly. I have done a work around the second problem by creating a separate field called link. Thanks you again. It all seems so simple when someone explains it all.

Re: [Mercer Design] Title not coming into a detail page

By Jason - February 22, 2011

Hi,

Glad to hear everything is working now. Please let us know if you have any other questions.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/