Portal Engine
Version 2.x > Portal Engine > Sorting with FAQ documents View modes: 
User avatar
Member
Member
forrester - 3/15/2007 7:04:25 PM
   
Sorting with FAQ documents
I am using 2.1b and have added a FAQ template to the site. I have added approx. 10 FAQs, but wish to move the order of them around. I thought by using the 'up' and 'down' buttons this would be accomplished, but I am not seeing. I have even cleared my cache to see if that was it.

Am I missing something here?

Thanks,
forrester

User avatar
Member
Member
james@kellycs.co.uk - 3/21/2007 5:48:09 PM
   
RE:Sorting with FAQ documents
Forrester,

From my own tests, by default the FAQs are ordered by the order in which they were created, presumably by FAQID.

I changed the ORDER BY field in the repeater properties to FAQQuestion, and now they are ordered alphanumerically by the question title. (You may be using different field names.)

This may not be desirable either. You might consider inserting a new field in the FAQ table, which you won't display, but will use for ordering, and use some numeric sequence there to order the FAQs as you desire, which you can then change.

This would be in addition to any Category field you may already have added.

James

User avatar
Member
Member
forrester - 3/21/2007 6:05:46 PM
   
RE:Sorting with FAQ documents
Thanks,

I added a field as FAQOrder which does the job. I just assumed that the FAQ's were handled the same way as Pages in the cmsdesk.

forrester