Separate detail page for archived records

4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 14, 2014   (RSS)

By MercerDesign - September 22, 2014

I have my list and detail showing on the same page which works fine but I need to do an archive list that appears on a second page, how can I do it so that the detail page for the archive list page is different, when I set it up the detail page linked back to the page with the curretn articles on. Thank you in advance.

By claire - September 24, 2014

Hi there

What you'll need to do is set a flag or a checkbox of some kind in your section to identify records as being archived or not. Then change the detail page to check and see if the current record is marked as archived, and load whatever different formatting you need.

This may be a little unwieldy but it's the simplest way of doing it.

Does this make sense?

--------------------

Claire Ryan
interactivetools.com

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

By MercerDesign - October 13, 2014

Hi, I have got two check boxes, one for current and one for archive.

I have sorted out how the current records display and how the archive records display and I have put the archive page in a folder so the detail page can actually be the same one.

But my problem now is that because the list and detail records are on the same page as a Combo Page, the detail record for the first entry in the multi record list displays instead of the first archvie record displaying, so basically I need to tell the detail record to only show if it's been ticked as being an archive record. The URL's to see what is going on are:

http://www.twentyfifty.co.uk/2050-training.php

http://www.twentyfifty.co.uk/training-archives/2050-training.php

I hope you can help.