Dear Lanxin,

On 01. 11. 13 10:46, Lanxin Ma wrote:
> I am running Invenio 1.1.1 server. I want to customise help page.  
> Please see the attched file.
> 
> I want to replace 'Atlantis Institute of Fictive Science' with 'IHEP 
> Document server'.

See recipe to be followed when changing your site name:
<http://invenio-software.org/wiki/HowTo/HowToChangeSiteName>

| [...]
| 6) Remove help pages (user|admin|hacking) cache (please first ensure 
| that you have not mistakenly edited these files to add custom 
| information, instead of editing the source of the help pages):
|
| $ sudo -u www-data rm -r /opt/invenio/var/cache/webdoc/
|
| [...]

That would ensure that the cache of help pages get refreshed (they 
would be automatically refreshed when the source of the page changes,
but unfortunately not when a variable such as CFG_SITE_NAME is updated)

The same applies when changing the site URL:
<http://invenio-software.org/wiki/HowTo/HowToChangeSiteUrl>

On a related note, see also:
<http://invenio-demo.cern.ch/help/hacking/webstyle-webdoc-syntax>
and use the following to update cache of specific help pages only (vs 
removing all cache):

$ sudo -u www-data /opt/invenio/bin/webdoc search-guide
$ sudo -u www-data /opt/invenio/bin/webdoc --help 

Best regards
-- 
Jerome Caffaro

Reply via email to