Modifying EP Group web pages

About the website

  • The website uses Cascading Style Sheets (CSS) to help ensure that pages created by different authors have a more consistent look.
  • Pages are created on the fly with PHP (no Java or JavaScript used). The website template which all main web pages are based on includes a navigation bar.
  • You have been given read/write access to the directories and files that you have been assigned to allow you to update your web pages at your own time. Symlinks are not allowed from your user area to ensure that our website is not affected by any home file-system difficulties.

Source web pages are now accessible by executing the $WEBROOT script from your desktop. On running the webshell script, the web server's home area will be mounted on your desktop and you will be placed directly in the $WEBROOT (/home/webmain/html) directory. When you exit from that shell, it is automatically unmounted. This leaves the web server to do its main job of serving web pages.

The ownerships of the following directories on the website have been assigned as follows: (Please let me know immediately if any assignments need to be changed.)

$WEBROOT/exp/phdentry/ prn
$WEBROOT/exp/ALICE/ de
$WEBROOT/exp/ATLAS/ dgc
$WEBROOT/exp/BaBar/ cmh
$WEBROOT/exp/CALICE/ nkw
$WEBROOT/exp/H1/ prn
$WEBROOT/exp/OPAL/ dgc
$WEBROOT/exp/NA57/ de
$WEBROOT/general/facilities lsl
$WEBROOT/general/seminars prn
$WEBROOT/general/outreach/Masterclass pmw
$WEBROOT/general/outreach/SparkChamber jaw
$WEBROOT/general/SiliconLab sp
$WEBROOT/group/locdoc/cpp_course pjwf
$WEBROOT/jobs/ mh
$WEBROOT/news/ mh
$WEBROOT/poynters/ lsl

Note: PhD entry web pages have been moved to their corresponding experiment directories and renamed as phdentry.html.

How to make changes

You can make use of your favourite web page editor (e.g. Mozilla / WebMonkey Composer, Frontpage, etc.) but please note the following:
  • Avoid using the
    <font>
    tag.
  • Make use of header tags like
    <h1>, <h2>, <h3>
    to control text size.
  • Preferably write in XHTML (i.e. remember to close your tags).
  • The website template only requires XHTML code between and in your web page. It will also accept fully-formed web pages but the look of the generated page may be affected due to certain parameters in the other sections of the web page.
  • To create links to web pages that make use of the website template (i.e. same look with navigation bar), define them like this:
    <a href="index.php?page=XXXX"></a>
    
    ,where XXXX is the pathname of the file (excluding its extension) below $WEBROOT (e.g. exp/ATLAS/newlink). For security reasons, the extension is assumed to be .html. Links to web pages not using the website template can be defined as per normal: For internal pages (NB: extension is required)
    <a href="path/relative/to/current/page/link.html"></a>
    

For external pages

<a href="http://atlasinfo.cern.ch/Atlas/public/Welcome.html"></a>

If you want to add .php files, you need to let me know as I maintain a control list of allowed pages.

In web pages with or without the website template, images are specified with its location relative to the current page. For example:

<img src="path/relative/to/current/page/picture.jpg" />

For accessibility, most images have been given the ALT tag. If modifying/replacing any pages, do remember to include the ALT tag.

Tips

  • When using the website template, keep web pages simple and avoid using tables as layout mechanisms.
  • Avoid using more colours than necessary.... No flashing text please!
  • Avoid spam by encoding your e-mail address. Try out the CERN e-mail encoder.
  • Avoid JavaScript in your webpages.
  • Java is not permitted.

-- ChunLikTan - 13 Oct 2008


This topic: Computing > WebHome > WebPageModificationGuide
Topic revision: r1 - 13 Oct 2008 - _47C_61UK_47O_61eScience_47OU_61Birmingham_47L_61ParticlePhysics_47CN_61chun_32lik_32tan
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback