|[Xpand] Determine the template file on runtime in an EXPAND statement [message #644198]
||Thu, 09 December 2010 21:03
Registered: November 2009
I want to do something like this:
«EXPAND this.content.name::createContent FOR this»
Where "this.content.name" is variable.
The goal is that if I have a new type of content, I just have to create a new templateFile, which corresponds to "this.content.name" and has a DEFINE statement "createContent".
That way I do not have to alter my main template file very time I add a new type of content.
The way I tried it does not work, but is there an another way to do the same thing?
Powered by FUDForum
. Page generated in 0.16910 seconds