Fórum
$reserved-article-title and freemarker
Jakub Bebjak, modificado 7 Anos atrás.
$reserved-article-title and freemarker
Junior Member Postagens: 25 Data de Entrada: 16/01/14 Postagens Recentes
Hello, I would like to get Article title in article template.
In velocity template I got it without problems with:
But when I used it in freemarker template:
I got this error:
Expression reserved is not numerical
Do you have idea how to use this variable in freemarker template,pls?
Thanx
In velocity template I got it without problems with:
$reserved-article-title.data
But when I used it in freemarker template:
${reserved-article-title.getData()}
I got this error:
Expression reserved is not numerical
Do you have idea how to use this variable in freemarker template,pls?
Thanx
Sami Mikkonen, modificado 7 Anos atrás.
RE: $reserved-article-title and freemarker
New Member Postagens: 12 Data de Entrada: 06/07/12 Postagens Recentes
Hi Jakub,
Try with:
Try with:
${.vars['reserved-article-title'].data}
Jakub Bebjak, modificado 7 Anos atrás.
RE: $reserved-article-title and freemarker
Junior Member Postagens: 25 Data de Entrada: 16/01/14 Postagens Recentes
Thanx Sami,
Its working!
Its working!
Milind Jain, modificado 6 Anos atrás.
RE: $reserved-article-title and freemarker
Junior Member Postagens: 28 Data de Entrada: 29/12/17 Postagens Recentes
Hello,
How do we get "releated-asset" of an article in ftl.
please help.Thanks in advance.
How do we get "releated-asset" of an article in ftl.
please help.Thanks in advance.