Difference between revisions of "User:Rjhodson/ECE News Special Functionality"

From WolfTech
Jump to navigation Jump to search
(New page: When submitting a new article through live writer to ECE, there are a variety of special functions that can be introduced on a code-level to the article that will effect how it is displaye...)
 
Line 2: Line 2:
  
 
==Listing View Functions==
 
==Listing View Functions==
*'''Thumbnail Display Preference''' - By default, a thumbnail is generated from the last image in the story (if there are any images, otherwise a default thumbnail is used).  To manually choose which image is thumbnailed for the article, give that image a class name of ''thumbnail_pref''.
+
These functions concern the article listing display on the home page and on the news & events page
*'''Featured Story Badge''' - To mark a story as Featured with the Featured Badge, simply insert an empty span into the article with a classname of ''featured_article''.
+
 
*'''Excluding Text from the Snippet Description''' - Under each article title in the listing there is a brief snippet of text extracted from the beginning of the article to give the reader an idea of what the article is about.  To make it so text from the article is not displayed in this snippet, encapsulate it in a span with classname ''no_show''
+
*'''Thumbnail Display Preference''' - By default, a thumbnail is generated from the last image in the story (if there are any images, otherwise a default thumbnail is used).  To manually choose which image is thumbnailed for the article, give that image a class name of <span style="color:#cc0000;">''thumbnail_pref''</span>.
 +
*'''Featured Story Badge''' - To mark a story as Featured with the Featured Badge, simply insert an empty span into the article with a classname of <span style="color:#cc0000;">''featured_article''</span>.
 +
*'''Excluding Text from the Snippet Description''' - Under each article title in the listing there is a brief snippet of text extracted from the beginning of the article to give the reader an idea of what the article is about.  To make it so text from the article is not displayed in this snippet, encapsulate it in a span with classname <span style="color:#cc0000;">''no_show''</span>.
 +
 
 +
 
 +
==Article View Functions==
 +
These functions concern the individual article display

Revision as of 13:06, 28 August 2008

When submitting a new article through live writer to ECE, there are a variety of special functions that can be introduced on a code-level to the article that will effect how it is displayed on the ECE site but will still allow it to display normally on any other site.

Listing View Functions

These functions concern the article listing display on the home page and on the news & events page

  • Thumbnail Display Preference - By default, a thumbnail is generated from the last image in the story (if there are any images, otherwise a default thumbnail is used). To manually choose which image is thumbnailed for the article, give that image a class name of thumbnail_pref.
  • Featured Story Badge - To mark a story as Featured with the Featured Badge, simply insert an empty span into the article with a classname of featured_article.
  • Excluding Text from the Snippet Description - Under each article title in the listing there is a brief snippet of text extracted from the beginning of the article to give the reader an idea of what the article is about. To make it so text from the article is not displayed in this snippet, encapsulate it in a span with classname no_show.


Article View Functions

These functions concern the individual article display