Issue 12918

Make stats on GBIF Home links to respective data section

Reporter: mdoering
Assignee: cvizitiu
Type: Improvement
Summary: Make stats on GBIF Home links to respective data section
Description: The stats are the most prominent notion of portal data so we should make then clickable links that lead to the respective sections just as the data menu items
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-03-05 13:56:40.887
Updated: 2013-09-02 13:46:36.306
Resolved: 2013-06-24 13:09:00.449

Comment: A link which should exist even for non-JavaScript browsers or the text is made a link by the update script?
Created: 2013-03-05 13:59:22.3
Updated: 2013-03-05 13:59:22.3

Comment: The link would not need to change, so just a regular anchor
Created: 2013-03-05 14:15:27.173
Updated: 2013-03-05 14:15:27.173

Comment: Only one missing is the link towards publishers. What is the href target for that?
Created: 2013-06-20 13:38:36.376
Updated: 2013-06-20 13:38:36.376

Created: 2013-06-20 15:54:10.291
Updated: 2013-06-20 15:54:10.291
that does not exist yet I am afraid. We also need to populate the count correctly and not use any dummy figures.
Please use ? as the default instead of real numbers and then use this url to retrieve the current count:

PS: right now this is still an old service that does not return a count. It will look like this when we deploy to UAT again:


Comment: I've changed numbers to "?" but due to the cross-domain security issue (I think...), the script still doesn't work. 
Created: 2013-06-21 17:57:26.67
Updated: 2013-06-21 17:57:26.67

Comment: In jquery crossdomain calls are easy using JSONP which our webservices support. Where is the script?
Created: 2013-06-21 22:39:43.778
Updated: 2013-06-21 22:39:43.778

Comment: I've added everything that I could find on portal side but still no move. 
Created: 2013-06-22 19:16:15.725
Updated: 2013-06-22 19:16:15.725

Created: 2013-06-24 12:08:41.038
Updated: 2013-06-24 12:08:41.038
On staging I find this javascript:

It is lacking the callback jsonp parameter for cross domain calls. Also there are only 2 queries and 2 are missing.
Simply copy the javascript from the staging java portal homepage which reads like this: