留言板
Header Footer in Lifery Site
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
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,修改在11 年前。
RE: Header Footer in Lifery Site (答复)
Junior Member 帖子: 29 加入日期: 12-2-3 最近的帖子
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.
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,修改在11 年前。
RE: Header Footer in Lifery Site
Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
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
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
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
can you help me with example
Jignesh Vachhani,修改在11 年前。
RE: Header Footer in Lifery Site
Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
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 ?
What is your exact requirement ? can you elaborate in more detail please ?
MY requirement:
HEADER : MENU
LAYOUT BEGIN:
NAVIGATION ----BODY
LAYOUT END:
FOOTER
ON click of header menu : The layout body be replace with new portlet
HEADER : MENU
LAYOUT BEGIN:
NAVIGATION ----BODY
LAYOUT END:
FOOTER
ON click of header menu : The layout body be replace with new portlet
Jignesh Vachhani,修改在11 年前。
RE: Header Footer in Lifery Site
Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
Do you have any sample site link which can show your bit requirement ?