Internet Handholding posted on November 17, 2009 11:24
This is code for the Ventrian.com Articles module.
Below is a format for listing articles in a fairly clean summary format. This is a simple modification of the default template, removing the unneeded links and information. The original code is commented out preceded by *** AMW.
Check here for conditions on using our code.
Drop us an email letting us know on which page you are using the code
You can use this code with either the Default or Standard template.
You can see an example of the DotNetNuke Ventrian Articles page on this website using this code with the Standard template.
To select the Default or Standard template:
- Go to your articles page, Admin options, Main options.
- Set Article Template to Default or Standard
To change the template:
- You must be signed on as with Host authority.
- Go to your articles page, Admin options, Site templates
- Change the Listing.Item.Html
You can see an example of this DotNetNuke Ventrian Articles List Item code with the Default template in use here on InternetHandholding.com where there are tips on computers, Internet marketing, software, networking and life.
Module: Articles from Ventrian.com
Template: Default
File: Listing.Item.Html
<!-- Listing.Item -->
<table cellspacing="1" cellpadding="0" width="100%" align="center" border="0" id="tblArticles1-[MODULEID]-[ARTICLEID]">
<tr>
<td class="articleTable">
<table cellspacing="1" cellpadding="3" width="100%" border="0" id="tblArticles2-[MODULEID]-[ARTICLEID]">
<!-- *** AMW 20091117 removed
<tr align="left">
<td class="articleTopCell" align="left"><span class="NormalBold">[PUBLISHSTARTDATE]</span></td>
</tr>
-->
<tr>
<td class="articleContentCell">
<table width="100%" id="tblArticles3-[MODULEID]-[ARTICLEID]">
<tr>
<td>[IMAGETHUMB:100]</td>
<td class="Normal" align="left" width="100%">
[EDIT] <a href='[ARTICLELINK]' class="articleTitle">[TITLE]</a>
<!-- *** AMW 20091117
<br/>
By [AUTHOR] on [PUBLISHSTARTDATE] @ [PUBLISHSTARTTIME] :: [VIEWCOUNT] Views [HASCOMMENTSENABLED]:: <a href="[COMMENTLINK]">
[COMMENTCOUNT] Comments</a> [/HASCOMMENTSENABLED][HASRATINGSENABLED] :: [RATING][/HASRATINGSENABLED][HASCATEGORIES] :: [CATEGORIES][/HASCATEGORIES]
-->
</td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="1" cellpadding="0" width="100%" align="center" border="0" id="tblArticles4-[MODULEID]-[ARTICLEID]">
<tr>
<td class="articleTable">
<table cellspacing="1" cellpadding="3" width="100%" border="0" id="tblArticles5-[MODULEID]-[ARTICLEID]">
<tr>
<td class="articleTextCell">
<span class="Normal">[HASSUMMARY][SUMMARY][/HASSUMMARY][HASNOSUMMARY][DETAILS:150][/HASNOSUMMARY]</span>
</td>
</tr>
[HASMOREDETAIL:150]
<tr>
<td align="left" class="articleContentCell"><a href='[LINK]' class="CommandButton" >Read
More..</a></td>
</tr>
[/HASMOREDETAIL:150]
</table>
</td>
</tr>
<!-- *** AMW 2009117 added below -->
<tr>
<td class="normal" align="right">[HASCATEGORIES][CATEGORIES][/HASCATEGORIES] [VIEWCOUNT]
</td>
</tr>
<!-- *** AMW 2009117 added above -->
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
By Andrew Weitzen, Bronze Inc.(c) 2010
Bronze is the publisher of several online Internet journals including: InternetHandholding.com, DomainNames.gs, DotNetNuke.bz, Programmer.bz, Software.vg, WebHosting.vg