Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Linking two sets of logbooks, posted by Alan Stone on Wed May 17 23:39:23 2006 
    icon2.gif   Re: Linking two sets of logbooks, posted by Stefan Ritt on Thu May 18 08:08:25 2006 
Message ID: 1830     Entry time: Thu May 18 08:08:25 2006     In reply to: 1829
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: ELOG V2.6. 
Subject: Re: Linking two sets of logbooks 

Alan Stone wrote:
I would like to link the CMSROC ELOG at Fermilab:
http://nippon.fnal.gov:8081/
with the CMS ELOG at CERN:
https://cmsdaq.cern.ch/elog/

I am the administrator of the former. I want to keep the CMSROC logbook content
local, but I would like to make a link to the CMS CERN logbook visible from
http://nippon.fnal.gov:8081/
and ideally to have it show up as a tab from any sub-page.


You can achieve that with the top text option, which lets you define some HTML code visible at every ELOG page. Just create a file, let's call it top.html, and put in following contents:
<table class="frame" cellpadding=0 cellspacing=0>
<tr><td class="tabs">
<span class="sltab"><a href="https://cmsdaq.cern.ch/elog/" title="CMS ELOG at CERN">CMSDAQ</a></span>
</td></tr>
</table>

Then put following statement into your elogd.cfg:
Top text = top.html

That should do the job.
ELOG V3.1.5-3fb85fa6