aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbhobbit <bhobbit@web>2010-03-09 10:50:03 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-03-09 10:50:03 +0000
commitfa6d082955dbc75de62839e285c0d441cd83acb1 (patch)
tree1536c74a7ddc29a5a50bf67ef118691c24ca755a
parent312b7d05f82045f400931c8e110efb7d76b69eed (diff)
downloadikiwiki-fa6d082955dbc75de62839e285c0d441cd83acb1.tar
ikiwiki-fa6d082955dbc75de62839e285c0d441cd83acb1.tar.gz
-rw-r--r--doc/forum/Exception:_Unknown_function___96__this__39___.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn b/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn
index ac4d7ed12..4f94b77bd 100644
--- a/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn
+++ b/doc/forum/Exception:_Unknown_function___96__this__39___.mdwn
@@ -27,3 +27,26 @@ What might be causing this exception and how I might go about debugging exceptio
>>>>> I don't see how that's relevant. It would help if you showed me
>>>>> exactly something that could be inserted into a page to cause the
>>>>> problem. --[[Joey]]
+
+>>>>>> Correct me if I'm wrong: ikiwiki generates an Omega template from its own templates, such as searchquery.tmpl and puts it into {$srcdir}/.ikiwiki/xapian/templates/query. Omega has its own template syntax, where function names are prefixed with dollar signs (`$`). So, when I call my wiki `$foobar`, ikiwiki generates an Omega template that looks like this snippet:
+
+ <div id="container">
+ <div class="pageheader">
+ <div class="header">
+ <span>
+ <a href="http://example.com">$foobar</ a>/search
+ </span>
+ </div>
+ </div> <!-- .pageheader -->
+
+ <div id="content">
+ $setmap{prefix,title,S}
+ $setmap{prefix,link,XLINK}
+ $set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France}
+ ${
+ $def{PREV,
+ $if{$ne{$topdoc,0},<INPUT TYPE=image NAME="&lt;" ALT="&lt;"
+ SRC="/images/xapian-omega/prev.png" BORDER=0 HEIGHT=30 WIDTH=30>,
+ <IMG ALT="" SRC="/images/xapian-omega/prevoff.png" HEIGHT=30 WIDTH=30>}
+
+>>>>>> So `$foobar` clashes with Omega's template tags. Does this help?