Fórum

Using custom Layout template on maximize

thumbnail
Sandeep Nair, modificado 13 Anos atrás.

Using custom Layout template on maximize

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
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
thumbnail
zaheer mohammed saddapalli, modificado 13 Anos atrás.

RE: Using custom Layout template on maximize

Regular Member Postagens: 165 Data de Entrada: 15/01/08 Postagens Recentes
Hi Sandeep,

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>
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Using custom Layout template on maximize

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Thanks zaheer
thumbnail
deep shah, modificado 7 Anos atrás.

RE: Using custom Layout template on maximize

New Member Postagens: 9 Data de Entrada: 07/06/16 Postagens Recentes
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

<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>