Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  FAQ Module [Lea...  Sorting FAQs alphabetically
Previous Previous
 
Next Next
New Post 8/1/2007 8:39 PM
User is offline sagearch
13 posts
www.spoke.net.nz
10th Ranked


Sorting FAQs alphabetically 

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 8:44 AM
Online now... Mitch Sellers
5366 posts
www.mitchelsellers.com
3rd Ranked




Re: Sorting FAQs alphabetically 

Great find.

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


-Mitchel Sellers
MCITP, MCPD, MCTS
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 Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 10/11/2007 6:07 PM
User is offline sagearch
13 posts
www.spoke.net.nz
10th Ranked


Re: Sorting FAQs alphabetically 

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 2:39 PM
User is offline SarahB
1 posts
10th Ranked


Re: Sorting FAQs alphabetically 

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 10:32 AM
User is offline gderosa
65 posts
10th Ranked


Re: Sorting FAQs alphabetically 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  FAQ Module [Lea...  Sorting FAQs alphabetically
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com
Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP