Skip to content

The Adhocracy Themeing Pipeline

phihag edited this page Dec 4, 2012 · 6 revisions

In the hhu configuration, we use just Pylons templates.

In plain adhocracy, the pipeline is quite complex:

  1. Pylon Template
  2. Diazo HTML Rewrite according adhocarcy.adhocracy_theme/adhocracy/adhocracy_theme/rules.xml
    1. Deactivate changes for pages that
      1. not contain an div with id='main'
      2. path is /proposal/filter
    2. Fix links that come from external wordpress to /_pages/*
    3. Add Navigation <li> elements
    4. Replace some content according to
      1. if local_content = true in adhocracy.ini then
        use backend/static
        Needs backend set in adhocracy.ini
      2. else use adhocracy.wordpressbasic_theme/adhocracy/wordpressbasic_theme/*.xml
        Needs wordpress_backend and wordpress_backend_startseite set in adhocracy.ini
Clone this wiki locally