---++!! %MAKETEXT{"Modifying EP Group web pages"}% %TOC% ---+++ %MAKETEXT{"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 =webshell= 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/LinearCollider/ | nkw | | $WEBROOT/exp/H1/ | prn | | $WEBROOT/exp/LHeC/ | prn | | $WEBROOT/exp/NA57/ | de | | $WEBROOT/exp/NA62/ | cl | | $WEBROOT/exp/OPAL/ | dgc | | $WEBROOT/exp/WA102/ | de | | $WEBROOT/exp/WA85/ | de | | $WEBROOT/exp/WA94/ | de | | $WEBROOT/general/facilities | lsl | | $WEBROOT/general/seminars | prn/eg | | $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=. --> ---+++ %MAKETEXT{"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 <verbatim><font></verbatim> tag. * Make use of header tags like <verbatim><h1>, <h2>, <h3></verbatim> 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: <verbatim> <a href="index.php?page=XXXX"></a> </verbatim> ,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) <verbatim> <a href="path/relative/to/current/page/link.html"></a> </verbatim> For external pages <verbatim> <a target="_blank" href="http://atlasinfo.cern.ch/Atlas/public/Welcome.html"></a> </verbatim> 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: <verbatim> <img src="path/relative/to/current/page/picture.jpg" alt="DESCRIPTION_OF_PICTURE" /> </verbatim> For accessibility, most images have been given the =ALT= tag. If modifying/replacing any pages, do remember to include the =ALT= tag. ---+++ %MAKETEXT{"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 <a TARGET="_blank" href="http://mmmservices.web.cern.ch/mmmservices/Antispam/Offuscator.aspx">CERN e-mail encoder</a>. * Avoid !JavaScript in your webpages. * Java is not permitted. -- Main.ChunLikTan - 09 Feb 2010
This topic: Computing
>
WebHome
>
WebPageModificationGuide
Topic revision: r3 - 04 Oct 2017 - TWikiAdminUser
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback