[GeoNetwork-users] Ratings 2.8

The default config option for 'Local Rating' in version 2.8.0 is that the enabled checkbox is un-checked and I have left it in that state, however I still see the ratings display on my records for both Firefox and IE8. Is there a way to manually disable/remove this option? Or am I misunderstanding that the checkbox is what makes the starred rating system display or not display on the record?

~Kathy

hi Kathy,

the local rating settings determines GeoNetwork's behaviour w.r.t. rating :
if local rating is enabled, ratings are only taken from your particular
GeoNetwork installation, otherwise the rating may be shared in a network of
GeoNetwork installations:

* User rating of metadata. If the metadata was harvested using the
'GeoNetwork' protocol and
* the system setting "localrating/enable" is false (the default), the
user's rating is shared
* between GN nodes partaking in this harvesting network. If the metadata
was not harvested or
* if "localrating/enable" is true then 'local rating' is applied, counting
only rating from
* users of this node itself.
*
* When a remote rating is applied, the local rating is not updated. It
will be updated
* on the next harvest run.

There is no setting to remove the rating display. You can remove the rating
display by editing the file /geonetwork/xsl/search-results-xhtml.js such
that you remove this section

<!-- metadata rating -->
                                <xsl:call-template name="rating">
                                    <xsl:with-param name="info"
select="$metadata/geonet:info"/>
                                </xsl:call-template>

You'll probably need to restart the application to see this change.

Kind regards
Heikki Doeleman

On Mon, Apr 29, 2013 at 6:15 PM, Kathy Koch <kkoch@anonymised.com> wrote:

The default config option for 'Local Rating' in version 2.8.0 is that the
enabled checkbox is un-checked and I have left it in that state, however I
still see the ratings display on my records for both Firefox and IE8. Is
there a way to manually disable/remove this option? Or am I
misunderstanding that the checkbox is what makes the starred rating system
display or not display on the record?

~Kathy

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

sorry, the file's name is /geonetwork/xsl/search-results-xhtml.xsl

On Mon, Apr 29, 2013 at 6:40 PM, heikki <tropicano@anonymised.com> wrote:

hi Kathy,

the local rating settings determines GeoNetwork's behaviour w.r.t. rating
: if local rating is enabled, ratings are only taken from your particular
GeoNetwork installation, otherwise the rating may be shared in a network of
GeoNetwork installations:

* User rating of metadata. If the metadata was harvested using the
'GeoNetwork' protocol and
* the system setting "localrating/enable" is false (the default), the
user's rating is shared
* between GN nodes partaking in this harvesting network. If the metadata
was not harvested or
* if "localrating/enable" is true then 'local rating' is applied,
counting only rating from
* users of this node itself.
*
* When a remote rating is applied, the local rating is not updated. It
will be updated
* on the next harvest run.

There is no setting to remove the rating display. You can remove the
rating display by editing the file /geonetwork/xsl/search-results-xhtml.js
such that you remove this section

<!-- metadata rating -->
                                <xsl:call-template name="rating">
                                    <xsl:with-param name="info"
select="$metadata/geonet:info"/>
                                </xsl:call-template>

You'll probably need to restart the application to see this change.

Kind regards
Heikki Doeleman

On Mon, Apr 29, 2013 at 6:15 PM, Kathy Koch <kkoch@anonymised.com> wrote:

The default config option for 'Local Rating' in version 2.8.0 is that the
enabled checkbox is un-checked and I have left it in that state, however I
still see the ratings display on my records for both Firefox and IE8. Is
there a way to manually disable/remove this option? Or am I
misunderstanding that the checkbox is what makes the starred rating system
display or not display on the record?

~Kathy

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring
service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt!
http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork