November Happy Hour will be moved to Thursday December 5th.

linkcollection expired items

Vote:
 
Can you select only items that are published and within the correct date period for publishing? Is there also a way of auto updating the name of the item if it is changed?

All the items I am linking to are EPiServer content items in the same site

LinkItemCollection links =
   ((LinkItemCollection)CurrentPage.Property["RelatedLinks"];
#37229
Feb 25, 2010 17:42
Vote:
 

For presentation you can convert the LinkItems to PageData objects and Filter out the pages that are not published. See http://www.frederikvig.com/2009/06/episerver-extension-methods-part-2/ for more information.

#37233
Feb 25, 2010 18:31
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.