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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


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
User is offline Mitch Sellers
5566 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.

 


Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com

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