Forums de discussion
Using custom Layout template on maximize
Sandeep Nair, modifié il y a 13 années.
Using custom Layout template on maximize
Liferay Legend Publications: 1744 Date d'inscription: 06/11/08 Publications récentes
Hi,
I have an issue that whenever i am maximizing a portlet for my theme it brings max.tpl of liferay.
Is it possible that for my theme it doesnot use max.tpl of liferay and use my own
Regards,
Sandeep
I have an issue that whenever i am maximizing a portlet for my theme it brings max.tpl of liferay.
Is it possible that for my theme it doesnot use max.tpl of liferay and use my own
Regards,
Sandeep
zaheer mohammed saddapalli, modifié il y a 13 années.
RE: Using custom Layout template on maximize
Regular Member Publications: 165 Date d'inscription: 15/01/08 Publications récentes
Hi Sandeep,
you can use ur own max.tpl. For achiving this you need to override liferay-layout-templates.xml file specifying your own template path.
Sandeep Nair:
Is it possible that for my theme it doesnot use max.tpl of liferay and use my own
you can use ur own max.tpl. For achiving this you need to override liferay-layout-templates.xml file specifying your own template path.
<layout-template id="max">
<template-path>/layouttpl/standard/max.tpl</template-path>
<wap-template-path>/layouttpl/standard/max.wap.tpl</wap-template-path>
<thumbnail-path>/layouttpl/standard/max.png</thumbnail-path>
</layout-template>
Sandeep Nair, modifié il y a 13 années.
RE: Using custom Layout template on maximize
Liferay Legend Publications: 1744 Date d'inscription: 06/11/08 Publications récentes
Thanks zaheer
deep shah, modifié il y a 7 années.
RE: Using custom Layout template on maximize
New Member Publications: 9 Date d'inscription: 07/06/16 Publications récentes
there is two kind of layout in liferay 1) custom and 2) standard
so for default layout you need to create standard layout by changing in liferay-layout-templates.xml
so for default layout you need to create standard layout by changing in liferay-layout-templates.xml
<standard>
<layout-template id="max">
<template-path>/layouttpl/standard/max.tpl</template-path>
<wap-template-path>/layouttpl/standard/max.wap.tpl</wap-template-path>
<thumbnail-path>/layouttpl/standard/max.png</thumbnail-path>
</layout-template>
</standard>