Configuration of Front Page of Bibref

mlapl1
2009-05-25
2013-05-28
  • mlapl1

    mlapl1 - 2009-05-25

    Hello

    I notice that this site: http://db.coml.org/comlrefbase/

    has some welcoming and other comments on its front page. I would like to do something similar. Is there a simple way of doing this or, if not, which files do I need to modify?

    Thanks
    Andrew

     
    • Matthias Steffens

      Hi Andrew,

      The main page is 'index.php'. If you know a bit of HTML, you can open it in a text editor and modify it to your needs. The strings on the main page are localized, i.e. they are located in separate files (inside subfolders of the 'locales' directory).

      In 'index.php', all these localized strings start with '$loc...' so it should be easy to search for them. If you just want to change the welcome/about messages on the main page, edit the values of these variables:

      $loc["Default Welcome Message"]
      $loc["ThisDatabaseIsMaintained"]
      $loc["You are welcome to send"]

      For the english (latin1-based) version, the file to edit would be 'locales/en/common.inc'.

      HTH, Matthias

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks