Article Details

About Article Templates



Version 3.2 adds Templates to the Articles module. Templates enable an extremely flexible method of displaying Articles. An unlimited number of templates can be created to display article listings by anyone with basic asp.net skills.

The new architecture enables an unlimited number of custom views to be defined to display the list of articles. There are currently 5 templates included:
  • Standard- Includes the following with minimal formatting: Title, Image, Description
  • No Image- Same as Standard but without Images.
  • Complete- Adds Author and Creation Date to the Standard Template
  • Title Only- A very compact list where just titles are displayed.
  • Fancy- Like standard but adds background colors and other effects. This is included just as an example of how to present a fancier display, the possibilities are quite limitless.
The actual templates are defined in ascx files that inherit from ArticleListBase.ascx.vb. You can modify any of the existing templates using standard asp.net coding and you can add additional templates by:
1.) Copying ArticleList_Standard.ascx and saving it as a new file with a name that ends with ".ascx"
2.) Make the desired modifications to the new file
3.) Edit the Settings.ascx file in the Articles directory and add a new Item to the drpTemplate DropDownList.

I hope to put together a place to share templates. If you would like to share your template, please e-mail it to me and I will make it available.

Written By: David O'Leary
Date Posted: 8/14/2005
Number of Views: 6035


Comments
First Net Says:
2/17/2007 8:11:04 AM

why not writing arabic?

???? Says:
2/17/2007 8:08:49 AM

????? ??????

Carlos Olivo Says:
8/20/2006 1:50:04 PM

I'm workin in a site with a great content about WiMAX, with dozen of article categorize by topic. This module is making an amizing job. Thnaks for sharing with the community. Regards,

TRAN VAN KIM Says:
5/26/2006 2:02:41 AM

L?i tìm ki?m li?t kê bài vi?t: Module phân lo?i Efficion ph?i du?c cài d?t d? dùng v?i module Articles.Invalid object name 'Categories'. ???

Uyen Tran Thuy Nha Says:
4/24/2006 11:33:22 PM

I'd like to havethe Artical Module

Phan Hà Says:
10/31/2005 7:56:59 PM

Thanks a lot for articles module. I used it for my website. But this is a proble. I don't user it with unicode

David O'Leary Says:
10/25/2005 4:29:01 PM

The error with Fancy Templates has now been fixed.

tuan quoc Says:
10/25/2005 1:40:17 AM

If u select templates Fancy then have error. Please check again.

David O'Leary Says:
10/21/2005 7:21:32 AM

Laurence:
-A few people have requested hierarchies in Categories and it is something I've considered but, I'm not sure I see the advantage of it... could you talk in a bit more detail about how this would be useful?
-The ability to open Article details on the same page will be added to the next version, 3.3.
-Detail Templates is also currently slated for 3.3.
-For the See Also section, I think I'll skip that one as I don't see it as a very common need and hence would unnecessarily complicate the interface. Also, it can already be done in description or details using the rich text editor.

Jim:
I am looking at ways to better incorporate and use Categories. You can already do what you want by adding multiple modules to a page and either filtering by Category or by not showing Site-Wide articles.

Jim Ross Says:
10/17/2005 6:49:30 AM

Would like to be able to show the categories as a "heading" so that the list would show:
-- Category
---- Article
---- Article
---- Article
-- Catetory 2
---- Article
---- Article

etc.

Laurence Neville Says:
10/17/2005 4:51:05 AM

This is an enormously useful module for anyone looking to manage documentation in a company intranet (like me!). Will you consider these requests for 3.2?
1. Like Jesper said: templates for the details page. We would really like to be able to display the date last modified, and turn the author's name into a MailTo link etc.
2. You addressed this in your FAQ already, but could it be changed in 3.2? .... having the detail view open within the space of the module, not a new page. As it is, we loose all our left-hand navigation when the new page opens.
Some suggestions for future versions:
1. For each article, add a section called 'See Also' which contains any number of links to other articles/tabs/external links. In the module's settings there could be restrictions to the adding of links to articles: site-wide vs within module and for selected categories.
2. (For the Categories module) Enable hierachies of categories (i.e. give each category a Parent Category property)

Thanks again for a great module.

Jesper Ottosson Says:
9/30/2005 4:47:46 PM

This module is great, thanks a lot for giving this to the community. We will donate once our company is up and running properly. Is there any hope of getting templates for the details page as well in version 3.2? That would be really swell

Cheers

You must be logged in to submit a comment.

Return