Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Mrinal kumar
Header Footer in Lifery Site
30 de Janeiro de 2013 21:33
Resposta

Mrinal kumar

Ranking: New Member

Mensagens: 15

Data de entrada: 30 de Janeiro de 2013

Mensagens recentes

Hi,

I am developing my first app using liferay.

Requirement : Header,body,footer.

Header will have dropdowns. And on click of each menu item it should open a page.


Should the header be designed using themes or somelayout.

Then where should the menu code be written so that on click of a menu time a portlet is opened.

Should these be in a portlet?

What should be the approach
Chirag Patadia
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 22:14
Resposta

Chirag Patadia

Ranking: Junior Member

Mensagens: 29

Data de entrada: 2 de Fevereiro de 2012

Mensagens recentes

Hi Mrinal,

If your header should be common for all pages/windows then you should write code into Theme and apply that in your application.

About the portlet to be opened on click of any menu item you manage it through pages which contains portlets configured inside it. Only thing is that your theme development should be in a way that menu should appear as drop down as per your requirement.

Best Regards,
Chirag Patadia.
Jignesh Vachhani
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 22:38
Resposta

Jignesh Vachhani

Ranking: Liferay Master

Mensagens: 780

Data de entrada: 10 de Março de 2008

Mensagens recentes

Yes you can achieve your requirement by creating theme if you have good knowledge of velocity scripting language.
When you create sample theme in liferay it will create many .vm files and in that there is one file called navigation.vm will be there.
So you can modify that file as per your requirement and put logic over there.
For creating new theme, you can see This Article
Mrinal kumar
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 22:45
Resposta

Mrinal kumar

Ranking: New Member

Mensagens: 15

Data de entrada: 30 de Janeiro de 2013

Mensagens recentes

I am new to life ray...I have created a theme... but how to call a portlet from menu click....

can you help me with example
Mrinal kumar
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 22:46
Resposta

Mrinal kumar

Ranking: New Member

Mensagens: 15

Data de entrada: 30 de Janeiro de 2013

Mensagens recentes

Thansk chirag... I am new to life ray can you help with a snippet
Jignesh Vachhani
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 22:49
Resposta

Jignesh Vachhani

Ranking: Liferay Master

Mensagens: 780

Data de entrada: 10 de Março de 2008

Mensagens recentes

Do you want to open portlet or specific page by clicking on drop down ?
What is your exact requirement ? can you elaborate in more detail please ?
Mrinal kumar
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 22:54
Resposta

Mrinal kumar

Ranking: New Member

Mensagens: 15

Data de entrada: 30 de Janeiro de 2013

Mensagens recentes

MY requirement:

HEADER : MENU

LAYOUT BEGIN:
NAVIGATION ----BODY
LAYOUT END:
FOOTER

ON click of header menu : The layout body be replace with new portlet
Jignesh Vachhani
RE: Header Footer in Lifery Site
30 de Janeiro de 2013 23:35
Resposta

Jignesh Vachhani

Ranking: Liferay Master

Mensagens: 780

Data de entrada: 10 de Março de 2008

Mensagens recentes

Do you have any sample site link which can show your bit requirement ?
Mrinal kumar
RE: Header Footer in Lifery Site
31 de Janeiro de 2013 01:54
Resposta

Mrinal kumar

Ranking: New Member

Mensagens: 15

Data de entrada: 30 de Janeiro de 2013

Mensagens recentes

HI JIgnesh...

I know this is not the right thread to ask this questions...

Do we have data grid control in life ray if not how can we achieve it.