Accueil > Root > Adventure (technical notes) > Technical notes about Adventure

Technical notes about Adventure

vendredi 27 mars 2026, par Mathieu Brèthes

Toutes les versions de cet article : [English] [français]

  • Use the PS field to set the HTML background color of the page
  • The text color is computed from the background color
  • Supersede this with <div class="dark", "darker" and "darkest" to hide text in dark pages
  • use the A2A plugin to create links between rooms. The link legend will be the subtitle of the linked article. Do this only on the FR version of the game.
  • add a "bonus" link using the Link field of the article (in both languages)
  • if the link is # it allows to turn on a lamp (javascript effect to light the page) and hides any link towards the Grue page
  • use the Logo to get a square image displayed on top of the article
  • add an mp3 to autoplay music (if user gave authorization)
  • add a Forum to collect suggestions. Answer the visitors to send them a mail when they are implemented. Use "modération a priori" to avoid spam
  • Game’s base "rubrique" : 42 for FR, 43 for EN
  • You can create subfolders for the game, easy peasy
  • always create the FR room first, then immediately after the EN room
  • don’t forget the <multi>blabla[en]blahblah</multi> syntax for the images

Migration Spip 5 : delete plugin "lecteur multimédia" to get the default new player which plays sounds with loop + sound active.