Homec4science

WebSearch: change CFG_SITE_URL to CFG_BASE_URL

Authored by Jan Aage Lavik <jan.age.lavik@cern.ch> on Oct 22 2012, 16:21.

Description

WebSearch: change CFG_SITE_URL to CFG_BASE_URL

  • Now uses the CFG option CFG_BASE_URL instead of CFG_SITE_URL so that the functional property of CFG_SITE_URL as link builder and representation of the site name is separated.
  • Also updates all BibFormat elements using CFG_SITE_URL in this way as well as WebStyle default template.
  • Adds a new server variable "absoluterecurl" (previously "recurl") that links in "external" formats such as RSS, DC and NLM.
  • Changes the <base /> tag in <head> to be added only when CFG_SITE_URL is not the root domain name.

Details

Committed
Samuele Kaplun <samuele.kaplun@cern.ch>Dec 18 2013, 16:21
Parents
R3600:d21d1dd219f7: inveniocfg: new derived config CFG_BASE_URL
Branches
Unknown
Tags
Unknown

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:96007b17d8a1: WebSearch: change CFG_SITE_URL to CFG_BASE_URL (authored by Jan Aage Lavik <jan.age.lavik@cern.ch>).Dec 18 2013, 16:21