Expose String to Velocity Theme in Liferay for Social Media Tags (Open Graph) -


i expose strings velocity theme in liferay framework in order write http headers used social network sharing. important controller has put these strings velocity theme during render phase.

how can done please?

you can create custom hook , add custom variable available in theme. check link http://www.opensourceforlife.com/2012/06/custom-velocity-variable-in-liferay-61.html


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -