Generic List
|
Powerful generic list node with many options. This node can be used for many purposes such as job lists, project lists, member lists, etc. Allows logos in index page and individual pages.
|
Screen Shots
Generic List
wpList
This node allows you to produce a list of items with both and index and detail page. Options include adding an image, a file, a link and some optional customized content in the form of a slide (usually a banner image) and/or content area.
Where to use this node
Attributes
Name | Use | Value | Help |
---|
name | required | newslist | A unique name for the list. |
style | oneof | standard, logo_only | Controls layout of the index page. Standard will display each item's title, logo-only shows only the logos, if supplied. |
columns | oneof | 1, 2, 3 | Allows the items to be listed in 1,2 or 3 columns on the index page. |
date-format | oneof | yyyy-mm-dd, yyyy/mm/dd, mm/dd/yyyy, dd/mm/yyyy, dd-Mon-yy, Wkd_Month_dd_yyyy, Wkd_Mon_dd, Wkd_dd_Month_yyyy, Wkd_Month_dd_yyyy, Month_dd_yyyy, Mon_yyyy | Determines what format the date should be in if a date node exsists for a list item |
design | optional | | Selects the template to be used for the details page. |
read-more-link | optional | | If a phrase is given, each item will be listed with the phrase as a "read more" link to the item page. No link is created if empty (default). |
printerfriendly-design | optional | | Selects the design to use for the detail pages' printer-friendly version. No printer-friendly icon is generated if empty (default). |
enable-email-to-friend | oneof | yes, no | Selects if the email-to-friend icon is displayed on the detail pages. |
email-to-friend-page | default | emailtofriend.html | Define a custom email to friend page. |
email-to-friend-title | default | Email this to a friend | Customize the text which appears on the page as a link leading to your email a friend page. |
show-description | oneof | index- and -itempage, only- in -index | Determines if the description is shown on the index and item page or only on the index page. |
show-logo | oneof | index- and -itempage, only- in -index | Determines if the logo is shown on the index and item page or only on the index page. |
prev-next-links | oneof | no, yes | Determines whether or not to show previous / next links. |
generate-rss | oneof | no, yes | Enable RSS for the list by setting this option to "yes". The RSS feed can be found here: http://www. myfancydomain. com/_rss |
Sub Nodes
Name | Type | Help |
---|
listitem | wpListItem | An instance of a list item. |
Sample
wpListItem
This is an instance of a list item.
Where to use this node
Attributes
Name | Use | Value | Help |
---|
name | optional | | This is a unique name given to each item which is used to create the URL. Eg. http://www. myfancydomain. com/ mylist/ listname1.html |
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 |
---|
title | wpStringL | The title of the list item. |
description | wpHtml | A short description of the list item which can be shown as a summary on the index page. |
text | wpHtml | The full content of the list item to be displayed on the details page. |
date | wpDate | The date the item was posted in the format: yyyymmdd |
logo | wpImage | An image which can be displayed to the left of the item. |
link | wpStringL | A link which can be included as part of the item. |
file | wpFileL | A file which can be included in the list item details page. |
slide | wpSlide | This provides the option of including a slide for each item. Used in conjunction with a design that uses the slideshow node. |
related-info | wpHtml | An option to include item specific content in a distinct content area. |
Sample