newsAll = App.WorkWith()
val = nI.GetValue(
ss = DateTime.Parse(val);
nI.PublicationDate = ss;
nI.DateCreated = ss;
I am new in sitefinity 6.2 I have news archive in my page I want to display expired news in archive only in between 3 month to 9 month .How I show it
please help me as soon as possible
I am new to sitefinity ( version 7). I have been trying to locate News Archive but didn't find it. I have created couple of news items and added news list on my News Page. Now I am trying to create news archive ( based on year) . My navigation looks like this Company->News and I want to show news archive like company->news->2015.
Thanks Stanislav .I have couple of more queries
1) I need to add a search for all listed newsitems ,So I added Search box and search result box but even after creating search Indexes only on newsitems ,it seems to search the entire site.
2) I have been trying to create a custom news search box result template which display results same as in newsItems list and copied news list template to search result template but its not working.
3) How do I set page url for News Archive link 2015 ,"company->news->2015"? Clicking on 2015 should open up a new page http://localhost/news/newsArchive but its opening on the same page I have this navigation widget which is http://localhost/news