Updating the modb webpage

From GHER

Jump to: navigation, search
  • The DocumentRoot is /var/www/gher/public as defined in /etc/apache2/sites-enabled/gher
  • For a new Liege colloquium, a new directory in /var/www/gher/public must be created
year=2014
pyear=$((year-1))
mkdir /var/www/gher/public/colloquium/$year


copy stuff:

cd /var/www/gher/public/colloquium/$year
sudo cp ../$pyear/{colloquium.html,abstract.html,abstract.doc,abstract.tex,authorsguide.html,Bus48TimeTable.pdf,ilc.sty,InstructionsforAuthors.pdf,venue.html} .
sudo mkdir abstracts abstracts_temp /var/www/gher/colloquium_registrations/$year
sudo cp /var/www/gher/public/colloquium/$pyear/abstracts_temp/ilc2.sty abstracts_temp/
sudo chown -R www-data.www-data abstracts abstracts_temp /var/www/gher/colloquium_registrations/$year

set permissions

cd /var/www/gher/public/colloquium/$year
sudo chmod -R g+w abstracts
getfacl abstracts
sudo chmod g+s abstracts
getfacl abstracts
sudo setfacl -d -m g::rwx abstracts
sudo setfacl -d -m o::rx abstracts
getfacl abstracts


link nice picture of Li├Ęge from 2011:

sudo ln -s ../$pyear/pictures_liege.html .
sudo ln -s ../$pyear/Pictures/
cd /var/www/gher/public/colloquium/
sudo chown www-data.www-data -R $year
sudo chmod -R g+rw $year


  • View old colloquium pages, ULR is
http://modb.oce.ulg.ac.be/?page=colloquium&year=2011
  • To create a new entry in the Colloquium sidebar, modify /var/www/gher/public/inc/parts/sidebar.php
  • update $current_colloquium in /var/www/gher/public/inc/colloquium.php and /var/www/gher/public/inc/colloquium_abstract.php


Abstracts

Components:

  • HTML: /var/www/gher/public/colloquium/2012/abstract.html
  • JavaScript: /var/www/gher/public/js/abstract.js
  • PHP: /var/www/gher/public/inc/colloquium_abstract.php
Personal tools