Page template functions disappeared in 0.62?
Did the various template functions to access page metadata disappear in 0.61 or 0.62?
I had the following functions in 0.60 that could be used to list page metadata in both standard and journal pages (via mods to Default.txt and Journal.txt):
pageindex()
page.has_backlinks
page.backlinks
page.has_links
page.basename
page.namespace
I see several of these in the "export" template options, but I get Python errors if I try to use them as templates for page rendering:
This is zim 0.62
Platform: nt
Locale: en_US cp1252
FS encoding: mbcs
Python: (2, 7, 8, 'final', 0)
Gtk: (2, 24, 10)
Pygtk: (2, 24, 0)
Zim revision is:
branch: 062
revision: 739 <email address hidden>
date: 2014-10-10 21:28:06 +0200
======= Traceback =======
File "zim\gui\
File "zim\notebook.pyo", line 1981, in get_template
File "zim\notebook.pyo", line 1994, in eval_new_
File "zim\templates\
File "zim\signals.pyo", line 376, in emit
File "zim\signals.pyo", line 224, in call_default
File "zim\templates\
File "zim\templates\
File "zim\templates\
File "zim\templates\
File "zim\templates\
File "zim\templates\
AssertionError: Not a valid function: pageindex
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Zim Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Rob Grace for more information if necessary.