掲示板
$reserved-article-title and freemarker
7年前 に Jakub Bebjak によって更新されました。
$reserved-article-title and freemarker
Junior Member 投稿: 25 参加年月日: 14/01/16 最新の投稿
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
7年前 に Sami Mikkonen によって更新されました。
RE: $reserved-article-title and freemarker
New Member 投稿: 12 参加年月日: 12/07/06 最新の投稿
Hi Jakub,
Try with:
Try with:
${.vars['reserved-article-title'].data}
7年前 に Jakub Bebjak によって更新されました。
RE: $reserved-article-title and freemarker
Junior Member 投稿: 25 参加年月日: 14/01/16 最新の投稿
Thanx Sami,
Its working!
Its working!
6年前 に Milind Jain によって更新されました。
RE: $reserved-article-title and freemarker
Junior Member 投稿: 28 参加年月日: 17/12/29 最新の投稿
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.