forked from hhucn/adhocracy.hhu_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
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:
- Pylon Template
- Diazo HTML Rewrite according adhocarcy.adhocracy_theme/adhocracy/adhocracy_theme/rules.xml
- Deactivate changes for pages that
- not contain an
div
withid='main'
- path is
/proposal/filter
- not contain an
- Fix links that come from external wordpress to /_pages/*
- Add Navigation
<li>
elements - Replace some content according to
- if local_content = true in adhocracy.ini then
use backend/static
Needsbackend
set inadhocracy.ini
- else use adhocracy.wordpressbasic_theme/adhocracy/wordpressbasic_theme/*.xml
Needswordpress_backend
andwordpress_backend_startseite
set inadhocracy.ini
- if local_content = true in adhocracy.ini then
- Deactivate changes for pages that