Changes between Version 7 and Version 8 of collective.stickyitem


Ignore:
Timestamp:
Feb 2, 2011 3:12:44 PM (13 years ago)
Author:
olha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • collective.stickyitem

    v7 v8  
    1616After product installation all newsitems get a new field - '''Sorting date'''. This field allows to sort newsitems in a listing according to the date/time specified in this field.  
    1717 
    18 [[Image(sorting-date.png, nolink)]]      
    19  
    20  
    2118 * If sorting date is NOT set - newsitems are sorted by their effective date as in default Plone. 
    2219 * If sorting date IS set - newsitems are sorted by this date. 
    2320 
    2421This field can be used in cases when you don't want to change object's effective date, but need to make is appear as the first in the listing. 
     22 
     23[[Image(sorting-date.png, nolink)]]      
    2524 
    2625=== Example === 
     
    3029[[Image(news.png, nolink)]]      
    3130 
    32 If now we want '''NewsItem 2''' to appear at the top of the listing - we edit this newsitem and set the most recent date (e.g. the time/date we have now) as its '''Sorting Date''': 
     31If now we want '''!NewsItem 2''' to appear at the top of the listing - we edit this newsitem and set the most recent date (e.g. the time/date we have now) as its '''Sorting Date''': 
    3332 
    3433[[Image(newsitem2.png, nolink)]] 
    3534 
    36 As a result '''NewItem 2''' will be displayed on top of News listing, while its location in the News portlet remained unchanged (news portlets item sorting remained unchanged - according to the effective date) 
     35As a result '''!NewItem 2''' will be displayed on top of News listing, while its location in the News portlet remained unchanged (news portlets item sorting remained unchanged - according to the effective date) 
    3736 
    3837[[Image(news-sort.png, nolink)]]