Foren

Accessing Web Content Velocity variables in liferay Themes

vanishri nemagoud, geändert vor 10 Jahren.

Accessing Web Content Velocity variables in liferay Themes

New Member Beitrag: 1 Beitrittsdatum: 14.10.12 Neueste Beiträge
Can any body tell me,
whether we can access Web Content Velocity variables (Strucure(Key) and Web Content(value) pair) in liferay Themes, as we fetch from property file.
thumbnail
Apoorva Prakash, geändert vor 10 Jahren.

RE: Accessing Web Content Velocity variables in liferay Themes

Liferay Master Beiträge: 658 Beitrittsdatum: 15.06.10 Neueste Beiträge
niva N:
Can any body tell me,
whether we can access Web Content Velocity variables (Strucure(Key) and Web Content(value) pair) in liferay Themes, as we fetch from property file.


Hello Nive,

Nope, that's not possible. They are accessable in VM based templates of WC only. However custom velocity variables can be created. See this. You might change some approach, as you can implement the concept with hooks.

HTH.

Thanks and Regards,
Apoorva Prakash