]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/discussion.mdwn
layout
[ikiwiki.git] / doc / templates / discussion.mdwn
index 61205bd479a1a9fa596f83dbbf04ad7238c1403f..efeedf448a03735492411cfb4f16b88e9ba5276e 100644 (file)
@@ -1,7 +1,22 @@
-I was wondering what the best way to customise the templates is.
+This confuses me enormously. Perhaps because I am new to ikiwiki, to perl, to Linux, etc.
 
-Would it be best to copy them all into the wiki under version control or have them seperate?
+note and popups are templates? But they're not in the templates directory, and in my readings here, templates are supposed to be in the ../templates directory. 
 
-Thanks
+> Ikiwiki has an basewiki underlay that provides wiki files not included in
+> your personal wiki sources. The note and popup template pages are
+> installed there, typically in `/usr/share/ikiwiki/basewiki/templates/`
+> --[[Joey]]
 
-john
\ No newline at end of file
+> > And how am I able to use e.g. links? It's not listed in `/usr/share/ikiwiki/basewiki/templates`.
+> > I intend do (mis)use links for a horizontal navigation. Or may I be better off altering page.tmpl?
+> > --z3ttacht
+
+Is there a list of the TMPL_VAR-Variables that are defined by ikiwiki?
+
+What I'm trying to achieve is to print the URL of every page on the page itself and therefore I would need the corresponding value in the Template.
+
+Am I missing something?  --[[jwalzer]]
+
+> If there isn't a suitable variable (I don't think there is a list at
+> the moment), a [[plugin|plugins/write]] to add one would be about 10
+> lines of perl - you'd just need to define a `pagetemplate` hook. --[[smcv]]