Not working through Live Template
nav_first.pngFirst: thread:383
Is Wikidot a dead project?
Edited: 21 Oct 2020 03:07 by: padthaiinvestigation
Comments: 0
Tags:
nav_prev.pngPrevious: thread:225
Page Template with Profile
Edited: 05 Jan 2010 00:51 by: tsangk
Comments: 2
Tags:
Last: thread:209
Liveness Selector
Edited: 22 Dec 2009 13:13 by: (user deleted)
Comments: 4
Tags:
nav_last.png
Next: thread:217
Listusers in profile:page
Edited: 30 Dec 2009 13:59 by: Steven Heynderickx
Comments: 5
Tags:
nav_next.png

leigerleiger wrote on 01 Jan 2010 22:11

The code

[[module ListUsers users="."]]
Hello %%title%%
[[/module]]

works fine when typed directly onto the page it's used on.

However, when using it in a live template, I get this result on the page that uses that live template:

Hello [[user ]] (if the page has no title)
or
Hello homepage (if the page's title is 'homepage')

Example… on the homepage of http://cyclods.wikidot.com/
The "sidebar" is actually just part of a live template (_default:_template)
Edit: I've made a workaround (including the page instead of using a live template) so that website no longer shows the problem.


Start a new sub-thread

Comments: 6

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License