[Ala-portal] how to change home link in thebreadcrumb

Nick.Dosremedios at csiro.au Nick.Dosremedios at csiro.au
Tue Sep 2 08:30:21 CEST 2014


I just looked at the code and there is a taglib responsible for this (see breadcrumbTrail) - https://github.com/AtlasOfLivingAustralia/collectory/blob/master/grails-app/taglib/au/org/ala/collectory/CollectoryTagLib.groovy

You can configure the URL with the config var: grailsApplication.config.ala.baseURL or remove it altogether with: grailsApplication.config.skin.includeBaseUrl

We should probably make the former var more generic...

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au>
National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au>




On 2 Sep 2014, at 4:12 pm, Santiago Martinez de la Riva <sama at gbif.es<mailto:sama at gbif.es>> wrote:

Hi Nick,

It´s the collectory project.

Thanks.
---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
Plaza de Murillo, 2                                     sama at gbif.es<mailto:sama at gbif.es>
28014 Madrid, Spain                                 www.gbif.es<http://www.gbif.es>

________________________________________
De: Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au> [Nick.Dosremedios at csiro.au<mailto:Nick.Dosremedios at csiro.au>]
Enviado el: martes, 02 de septiembre de 2014 8:09
Para: Santiago Martinez de la Riva; trobertson at gbif.org<mailto:trobertson at gbif.org>
CC: ala-portal at lists.gbif.org<mailto:ala-portal at lists.gbif.org>
Asunto: Re: [Ala-portal] how to change home link in thebreadcrumb

Hi Santiago & Tim,

I was about to post the same answer as Tim but I then realised/guessed that the question might actually be on the Collectory (not biocache-hubs), based on the screenshot(?).

Santiago, can you confirm which app/project you are referring to, please?

Nick
--
Nick dos Remedios
Software Developer
Atlas of Living Australia<http://www.ala.org.au>
National Facilities & Collections, CSIRO<http://www.csiro.au/Organisation-Structure/National-Facilities.aspx>
nick.dosremedios at csiro.au<mailto:nick.dosremedios at csiro.au><mailto:nick.dosremedios at csiro.au>




On 2 Sep 2014, at 3:59 pm, Tim Robertson <trobertson at gbif.org<mailto:trobertson at gbif.org><mailto:trobertson at gbif.org>> wrote:

Hola Santiago

I'm on my phone, so can't verify, but it looks like it's set by this property:

grailsApplication.config.organisation.baseUrl

You can see it for example on this page (look for breadcrumbs)

https://github.com/AtlasOfLivingAustralia/biocache-hubs/blob/master/grails-app/views/occurrence/exploreYourArea.gsp

Hope this helps,
Tim,
Sent from my iPhone (which makes terrible auto-correct spelling mistakes)

On 1 Sep 2014, at 20:45, Santiago Martinez de la Riva <sama at gbif.es> wrote:

Hi guys,
Sorry for this stupid question, but I would like to know how can I change the hyperlink of the breadcrumb-div. See the attached image.
Now when I click on Home link I go to ala.org.au and I want to put my own domain.

Thanks,
SaMa
---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
Plaza de Murillo, 2                                     sama at gbif.es
28014 Madrid, Spain                                 www.gbif.es
<wrongLink.jpg>
_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org
http://lists.gbif.org/mailman/listinfo/ala-portal
_______________________________________________
Ala-portal mailing list
Ala-portal at lists.gbif.org
http://lists.gbif.org/mailman/listinfo/ala-portal


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gbif.org/pipermail/ala-portal/attachments/20140902/2a8feff2/attachment.html 


More information about the Ala-portal mailing list