how to include html code in portal_normal.vm

134 Views Asked by At

I am using Life-ray 6.2 CE GA2 and liferay ide eclipse 2.2.1 ga2.

How can I include html in portal_normal.vm in custom theme in eclipse?

1

There are 1 best solutions below

0
On

As you don't give any other information, I'm assuming that you're building your theme with Ant. In the project structure, you'll have a folder _diffs (from memory, might be in singular), where you duplicate the complete structure of the theme.

So the file that you'll need to edit is (something like) _diffs/templates/portal_normal.vm. It will be copied during the build process to templates/portal_normal.vm - while you didn't create the file yourself, you can copy this version from the underlying theme template into your _diffs folder to have a starting point. Anything that you're editing outside of the _diffs folder will be overwritten during the build process.