Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFAQFAQSorting FAQs alphabeticallySorting FAQs alphabetically
Previous
 
Next
New Post
8/1/2007 11:39 PM
 

I was looking to modify the module to allow alphabetical sorting of FAQs, when I found that was already built in, and just required the following edit - was this a release oversight?

1) Back up DesktopModules/FAQs/Settings.ascx

2) Under the sorting options (<asp:dropdownlist...) add the following line:

<asp:ListItem Value="4" resourcekey="OrderBy.Text">Question Text</asp:ListItem>

3) Save and replace the Settings.ascx file in your site, and you will now be able to sort alphabetically.

The OrderBy.Text is already coded in (see App_LocalResources/FAQs.ascx.resx, line 138) and seems to work perfectly.

 
New Post
8/2/2007 11:44 AM
 

Great find.

YOu should log this in Gemini if it is not already there.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
10/11/2007 9:07 PM
 

Many apologies - I've discovered that the process above causes FAQs to be sorted by the order of entry (which for our sites happened to be alphabetical).

To sort alphabetically, you'll need to do the following:

1) Follow the above process, but instead of OrderBy.Text, use OrderByAlphabet.Text.

2) Modify the stored procedure FAQSearch, and add the following line at the end:

CASE WHEN @OrderBy=4 THEN CAST(f.Question as VarChar(8000)) END ASC

Remember to add a comma at the end of the preceding line, and you should be in business.

 

 
New Post
11/19/2007 6:39 PM
 

Thanks for posting this tip. I wanted to enable it but I cannot find the FAQSearch stored procedure anywhere that I thought to look. Can someone tell me where I can find it?

 

Thanks,

Sarah

 

 
New Post
12/12/2007 2:32 PM
 

I have tried both above methods for adding Alphabetic sorting, but neither methods work.  I have modified Settings.ascx as well as the FAQSearch stored procedure yet the alphabetic sort does not work.  Is there any other method?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFAQFAQSorting FAQs alphabeticallySorting FAQs alphabetically


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out