Issue 12931

Implement FILTER NEWS BY REGION on news summary

12931
Reporter: mdoering
Assignee: cvizitiu
Type: Improvement
Summary: Implement FILTER NEWS BY REGION on news summary
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-03-05 15:54:03.363
Updated: 2013-09-02 13:46:28.674
Resolved: 2013-03-11 13:41:12.57
        
Description: Remove "ALL news" in favor of "Global.
Show filtered list in the same way as the news summary]]>
    


Author: cvizitiu@gbif.org
Comment: First version for the moment but needs to be redone. 
Created: 2013-03-11 06:15:15.092
Updated: 2013-03-11 06:15:15.092


Author: mdoering@gbif.org
Created: 2013-03-11 10:29:17.355
Updated: 2013-03-11 10:29:17.355
        
Reopening cause the urls seems wrong:
http://staging.gbif.org/drupal/archive/allnewsarticles/europe

All news urls should be below the newsroom path, so sth like this?
http://staging.gbif.org/drupal/newsroom/news/europe

    


Author: cvizitiu@gbif.org
Comment: OK
Created: 2013-03-11 13:41:12.606
Updated: 2013-03-11 13:41:12.606


Author: mdoering@gbif.org
Created: 2013-03-11 14:32:01.838
Updated: 2013-03-11 14:32:01.838
        
the url is now: newsroom/archive/allnewsarticles/oceania
Which is ok, but nicer would be to not introduce new paths like archive or allnewsarticles (which we called pages in the detail path)

Im happy to keep this for the demo, but if theres a chance to update the path to one of these that'll be great:

/newsroom/news/europe
/newsroom/news/region/europe
    


Author: cvizitiu@gbif.org
Comment: Can't have both that easy... EITHER you have one combined News/History page and then we'll name that "News" OR you can have two pages. If you pay attention "news" is slightly different than allnewsarticles; and this reflects the "data use" part where the "entry" page is different: one with presumably more detailed listing of news and then an archive which should be called with all sorts of params to get back in time. In other words TH might want to have a significantly different page for "News" and as it is now we have that option... 
Created: 2013-03-11 14:37:37.011
Updated: 2013-03-11 14:37:37.011


Author: cvizitiu@gbif.org
Comment: Plus I thought "archive" will make a lot of sense if you're looking for past events... one could eventually have "allpastevents" and so on.
Created: 2013-03-11 14:39:01.265
Updated: 2013-03-11 14:39:01.265


Author: mdoering@gbif.org
Created: 2013-03-11 15:07:28.681
Updated: 2013-03-11 15:07:28.681
        
with the portal we are trying to follow a restful approach and its nice if the same kind of pages have the same paths. In that sense a single path for a list of news is ideal with optional query parameters to filter or do paging. The single details (news) pages return a different kind, so a new url path is expected.

I find the notion of an archive strange when it does not behave any different to recent articles.

When it comes to news vs data uses we have the distinction already in the summary tabs, so news(/region)/europe should only return news. We also only link from the news page to regions  - so far at least
    


Author: cvizitiu@gbif.org
Comment: Sounds very nice; Just wait until the "participation" and "training/capacity building" teams will rain on your party. ;-) ;-)
Created: 2013-03-11 15:14:03.0
Updated: 2013-03-11 15:14:03.0