Hi all,

I have trouble exporting wiki pages. In manual (http://zim-wiki.org/manual/Help/Templates.html) I see that it's possible to choose a base section for index:
index(section, collapse, ignore_empty)

However, when I try to do this, by having something like:
[% index(section=":homepage") %]
I get the following error:

  File "/usr/lib/pymodules/python2.7/zim/index.py", line 1271, in walk
    if path is None or path.isroot:
AttributeError: 'str' object has no attribute 'isroot'

I've tried to rewrite in slightly different ways, but still no success. I also wonder if the manual page mentioned above is the only source of help for the template writing (with a few examples on wiki and templates installed with zim)? Are there any other examples?

Best regards,
Eugene

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to