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  
Engage Software - Training Partner for DotNetNuke
 


  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...  Announcements M...  top 5 Announcmnets
Previous Previous
 
Next Next
New Post 11/1/2007 4:18 PM
User is offline Miss .Net
87 posts
10th Ranked


top 5 Announcmnets 

hi all>>

I have a box (ContentPane) in my home page and I want to show the title with it link of the top 5 Announcments (ordered by date) on this ContentPane. I already added the Anouncments page which has a list of announcments.

I know I can not do this by sittings or options? how can  I do it by the code.

one of my ideas was to drag the (REPORT) module in this contetntpan then I added this quere

Select Top 5 Title from Announcments and it is worlking fine.. but how can I add a link to theses title?

 

is there any help on this issue.

 
New Post 11/23/2007 2:44 AM
User is offline ErikVB
2710 posts
www.apollo-software.nl
5th Ranked










Re: top 5 Announcmnets 

you can dynamically calculate the proper link, even from within sql. Bind the table to the tabmodules table (on ModuleId). This will give you the tabid that contains the module.

You could use rss too of course


Erik van Ballegoij, Apollo Software
If what i am saying is wrong: blame Google
MLSkinHelper: the easy way to put editable text in your skin!
Nederlandse DotNetNuke Gebruikersgroep Apollo Software
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  top 5 Announcmnets
 


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.

 


Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net
WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz
Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca

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