News List
|
The news list is one of the more popular nodes used by WebPal CMS users, and as such spurred the development of some new features in 2009 to further highlight its usefulness.
This node features all the standard attributes of a news list - headline, article summary and date, but now has some nifty formatting options due to the development of the RSS Feed node. The use of a newslist in tandem with the RSS Feed node allows you to post recent new items/articles on your homepage without having to update the home page at all.
Learn more about the RSS Feed node here.
|
Screen Shots
Newslist
Newslist
Newslist
wpNewsList
Manage a list of news articles in a convenient spreadsheet format. This allows you to archive news items, and re-use them throughout the site for maximum exposure.
Where to use this node
Attributes
Name | Use | Value | Help |
---|
name | default | newslist | The name of the newslist, used as a reference for a variety of options, most notably the RSS feed. Eg. http://www.myfancydomain.com/_rss/newsfeedname.xml |
sort | oneof | yes, no | If this is set to yes, the news will be sorted by date posted from newest to oldest. |
show-date-in-index | oneof | yes, no | Determines if the date posted value will appear |
date-format | oneof | longer, long, short(no year) | longer = Weekday, Month dd, yyyy <br />long = Weekday, Month dd, yyyy<br />long(fr) = Weekday, dd Month yyyy <br />short(no year) = Weekday, Month dd, yyy |
design | optional | | The design used on the details page. |
printerfriendly-design | optional | | The printer-friendly design used on the details page. |
enable-email-to-friend | oneof | yes, no | Enables the email to friend link on the details page. |
email-to-friend-page | default | emailtofriend.html | The location where the email to friend link should go, the default is emailtofriend.html |
view-morenews-link | default | View the rest of the news | The text for the link that goes to a page which lists all news items. |
Sub Nodes
Name | Type | Help |
---|
news | wpNews | The node to populate the newslist |
Sample
wpNews
An instance of a news item.
Where to use this node
Attributes
Name | Use | Value | Help |
---|
name | required | news | This is the name that represents the individual news item. When a details page is created for the item this will be the URL of the page. Eg. http://www.myfancydomain.com/news/itemname1.html |
news-status | oneof | current, headline, expired | Headline will move the item to the top of the list regardless of the date of the item. Expired will hide the item altogether. Current is the standard status. |
secure-access | optional | | Used in tandem with a WebPal DB installation. Add "group" names (comma separated for multiples) to this field to restrict access. |
Sub Nodes
Name | Type | Help |
---|
headline | wpStringL | The headline of the item. |
synopsis | wpStringL | A short overview of the item used only on the listings page. |
dateposted | wpDate | The date the item was posted in the format: yyyymmdd |
html | wpHtml | The full text of the news article. |
file | wpFile | An instance of a file associated to the article. (Eg. pdf, doc, xls, etc.) |
slideshow | wpSlideshowV5 | Allows the use of a unique header/banner image (in conjunction with a slideshow inserted into the design used on the details page) to be associated with individual news items. |
Sample