Foren
What is the use of *.flt files in classic theme of Liferay 6?
zaheer mohammed saddapalli, geändert vor 13 Jahren.
What is the use of *.flt files in classic theme of Liferay 6?
Regular Member Beiträge: 165 Beitrittsdatum: 15.01.08 Neueste Beiträge
Hi All,
I am trying to explore Liferay 6 theme part. I find many *ftl files in classic theme template folder. Here the files
Here i would like to know the purpose of those ftl files
With Regards,
S Mohammed Zaheer
I am trying to explore Liferay 6 theme part. I find many *ftl files in classic theme template folder. Here the files
- init.ftl
- init_custom.ftl
- navigation.ftl
- portal_normal.ftl
- portlet.ftl
Here i would like to know the purpose of those ftl files
With Regards,
S Mohammed Zaheer
Sandeep Nair, geändert vor 13 Jahren.
RE: What is the use of *.flt files in classic theme of Liferay 6?
Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
Its the extension for a template language called freemarker, just as vm is for velocity. Apparently liferay 6 also supports freemarker along with velocity.
http://www.liferay.com/community/forums/-/message_boards/message/4721160
Regards,
Sandeep
http://www.liferay.com/community/forums/-/message_boards/message/4721160
Regards,
Sandeep
zaheer mohammed saddapalli, geändert vor 13 Jahren.
RE: What is the use of *.flt files in classic theme of Liferay 6?
Regular Member Beiträge: 165 Beitrittsdatum: 15.01.08 Neueste Beiträge
I know freemarker template language.
Let me explan in detail. There are bith Velocity Template and Freemarker Template file available in templates folder of classic theme in Liferay 6.
Why both?
With Regards,
Mohammed Zaheer
Let me explan in detail. There are bith Velocity Template and Freemarker Template file available in templates folder of classic theme in Liferay 6.
Why both?
With Regards,
Mohammed Zaheer
Sandeep Nair, geändert vor 13 Jahren.
RE: What is the use of *.flt files in classic theme of Liferay 6?
Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
Check out the link that i gave b4, in one of the replies its said that support is given for both, and by default velocity is enabled, i guess there must be some property file which when set, begins to use freemarker
Regards,
Sandeep
Regards,
Sandeep
zaheer mohammed saddapalli, geändert vor 13 Jahren.
RE: What is the use of *.flt files in classic theme of Liferay 6?
Regular Member Beiträge: 165 Beitrittsdatum: 15.01.08 Neueste Beiträge
Excellent feature ....
Here are the setting to use Freemarker Template Language
I have changed template-extion from vm to ftl for enabling Freemarker Templates Language in theme part.
Thank you Sandeep...
With Regards,
S Mohammed Zaheer
Here are the setting to use Freemarker Template Language
I have changed template-extion from vm to ftl for enabling Freemarker Templates Language in theme part.
<theme id="classic" name="Classic">
<root-path>/html/themes/classic</root-path>
<templates-path>${root-path}/templates</templates-path>
<images-path>${root-path}/images</images-path>
[b] <template-extension>ftl</template-extension>[/b]
</theme>
Thank you Sandeep...
With Regards,
S Mohammed Zaheer
Sandeep Nair, geändert vor 13 Jahren.
RE: What is the use of *.flt files in classic theme of Liferay 6?
Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
Thanks for sharing that one zaheer
Sushil Kumar Saini, geändert vor 11 Jahren.
RE: What is the use of *.flt files in classic theme of Liferay 6?
Regular Member Beiträge: 104 Beitrittsdatum: 27.07.11 Neueste Beiträgezaheer mohammed saddapalli:
Excellent feature ....
Here are the setting to use Freemarker Template Language
I have changed template-extion from vm to ftl for enabling Freemarker Templates Language in theme part.<theme id="classic" name="Classic"> <root-path>/html/themes/classic</root-path> <templates-path>${root-path}/templates</templates-path> <images-path>${root-path}/images</images-path> [b] <template-extension>ftl</template-extension>[/b] </theme>
Thank you Sandeep...
With Regards,
S Mohammed Zaheer
Thanks Zaheer for posting this helpful information ...!!