!!! Mediawiki has been upgraded !!!
Slack integration has been disabled for now due to an incompatibility.
If you want to testdrive the new skin (Tweeki), make sure your language settings are set to 'en - English' in your preferences!

Website

From Brixel - Hackerspace Hasselt
Jump to: navigation, search


Project: Website
NoProjectPicture.png
Description: The current frontpage is a mess. It was created in no-time to have an actual page up and running. That page however, should be changed to something more decent and appealing. to achieve this we started this project.
Status: New
Participants: woutervdn
Edit tags: Website



The current frontpage is a mess. It was created in no-time to have an actual page up and running. That page however, should be changed to something more decent and appealing. to achieve this we started this project.

Current frontpage on 26/06/2013

Goal

The goal is to make a frontpage/homepage/webpage that attracts people. (ProTip: Wiki's don't attract people, they are fUgly!)

That asside, it should be easy to edit the frontpage. One shouldn't need to write code to edit the frontpage.

Draft version of new frontpage on 01/09/2013

Implementation

General info

For now, the new version of the website can be found at http://brixel.be/new.

The new version of the website uses PPPPP which stands for: Plain Practical PHP Page Parser (yes, the name is a joke). PPPPP was created specially for the Brixel homepage, but it's source can be found on github via: https://github.com/Brixel/Plain-Practical-PHP-Page-Parser

The design of the new frontpage is based upon Bushwick, a theme made for AnchorCMS. We did however strip it from it's anchor code and modified it to become a PPPPP compatible theme.

How it works

PPPPP works by getting a "ContentIndex" from the wiki api itself. It then caches the content inside the <ContentIndex>-tags.

The ContentIndex is located at Website/ContentManagement and uses attributes like:

  • <MENU>
  • <STICKY>
  • <WELCOME>
  • and <FAQ>

When a user visits the PPPPP index page, the cached version of the ContentIndex is parsed and the attribute-objects are placed inside the PPPPP-theme.

Whenever the ContentIndex is updated, one must update the cache by visiting: http://brixel.be/new/update.php

A bigger tutorial on how to use PPPPP and edit the ContentIndex will be written soon at Website/ContentManagement.

To Do

  1. Make sure the ContentManagement page can only be editted by some people
  2. Add a contact page
  3. Migrate from hsha.be/new to hsha.be
  4. Make the "blog" function work