QWP_Headlines

Tag Name
---------------

QWP_headlines

Description
-----------------

Returns a list of pages from a given sectionID

Required Parameters
-------------------------------

-id = The section id you wish to pull the pages from.

Optional Parameters
------------------------------

-headlines = The number of headlines to pull

-row1color = The background color of odd rows

-row2color = The background color of even rows

-charLimit = If you want the number of characters in the headline limited to a certain number

-image = If you want page images to appear in the QWP_Headlines output

-imagePlacement = Should have a value of either top or bottom. Indicates where the image should be placed in relation to the headline

-imageWidth = If you want to restrict the width of an image

-noSectionName = If you do not want to include a row with the name of the section in the HTML output, pass a value in for this parameter

-showArticlePreviews = Shows a preview of each page body in the HTML output

-num_preview_words = If you are showing article previews, this parameter limits the number of characters for each. If no value is passed in for this parameter, the tag will default to 10 words for each preview

-preview_style = The CSS class to apply to the div containing the article preview text

-more_link_style = At the end of the article preview, there will be a More hyperlink which links to the full page

-noMoreLink = If you do not want to include a "More" link after the article preview text, pass a value for this parameter

-HeadlineStyle = The CSS class to apply to the column containing the name of the section. If no value is passed in, defaults to "hitListHeadline"

-dateContainer = If "Show Page Date" is set to Yes for the section under Content / Section Detail, the page date will appear next to the headline. The dateContainer specifies what HTML element to use. Most likely "Div". Defaults to "Span"

-dateClass = The CSS class to apply to the page date

-dataOnly = Returns the query results as a Lasso Map. Very useful if you want to apply a custom HTML layout to the headlines, however, you will need to iterate through the map and code a bit more.

-excludePageID = Excludes a particular page ID from the output. Most frequently used when you do not want to show the page you are currently viewing in the output.

-maxToShow = Pass in a value for this parameter if you plan on using pagination for the headlines. If you pass in (var:'max'), you will be able to control the headlines per page under Setup / Preference / Page List Count in QWP

-hitListOnClass = The CSS class to apply to links if you are currently on that page


Sample Usage
------------------------------

[QWP_headlines:
-id = '2';]

[QWP_headlines:
-id = '2',
-headlines = 10,
-noSectionName = true,
-hitListOnClass = 'hitListItem-On';]






QuickwebPro
Custom Tags
External Site Redirect
Headlines With Body as a Hidden Div (QWP_headlines_hidden_divs)
Javascript News/Headline Ticker (buildTicker)
QWP_BreadCrumbs
QWP_Headlines
Random Pictures (getRandomFile)