pieterh wrote on 31 Oct 2009 15:11
Hi Folks,
I've spent the last couple of days deploying CSIs. They work, good enough that I'm tempted to close the design sketch and forget about more improvements.
A summary of what I've done:
- Have built out modules.wd with initial set of modules
- Iron giant templates now use the legal module
- Have put the page manager CSS into the rainbow and minimalist themes
- Have stripped down the doc.wd site (sorry, Ken!) to use a Hammer approach instead of hand-crafted cover pages
- Have fixed faq.wd and other hammer-template descendants to use the Hammer Navigator module
- Have fixed this site to use the Page Manager module
- Have written a blog that explains more or less how to use CSIs (at least incorporate modules, if not make them)
For template sites that contain complex code, this seems to be the sanest approach:
- Put the complex code into include:whatever
- In the template site, include that as a CSI e.g.: [[include :forum-template:include:section-template]]
- This way, descendants are automatically updated
I've done that for this site, as you can see from section:_summary, section:_template, and thread:_template.
What's particularly sweet about CSI (Michal, my god, I don't know how you got this working), is that you can use symbols in the CSI and then use the resulting code as live templates. This means that CSIs adapt trivially to being used in arbitrary categories.
For the modules site, I'm changing tack somewhat from "open it all up", because these modules are so utterly sensitive: any errors and lots of sites will break. Editor access will be for supergurus only and I'd appreciate discussion and proposals up-front before they are put into the site. I'll shoot first and ask questions second :-)
Agreed, Michal is God, and we should all worship him. Praise to Lord Michal Frackowiak! Thanks be to Michal! Michal Frack!
If you commercialise this new religion, may I place an order for a 10-foot Michal statue? Edit: Sorry, I meant to say a gold statue…
Sounds good to me… Permissions should be set so that anyone can submit a CSI, but only the page creator and site moderators/admins can edit it later.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Nevermind. I love the new hammer approach on the doc site. It looks heaps better!
Kenneth Tsang (@jxeeno)