掲示板
Message Board
Hi..
I have installed Liferay 5.2.3 bundle.I am familiar with message board portlet,but i have some doubts related to it. I want to know how can i configure it to show only selected number of recent threads ie i want to show only 5 recent post.
How can perform this operation.
i would also like to know how can i extend it,if i require to do.
Any kind of ideas and suggestions are welcome.
Thanks in advance..
Ankit
I have installed Liferay 5.2.3 bundle.I am familiar with message board portlet,but i have some doubts related to it. I want to know how can i configure it to show only selected number of recent threads ie i want to show only 5 recent post.
How can perform this operation.
i would also like to know how can i extend it,if i require to do.
Any kind of ideas and suggestions are welcome.
Thanks in advance..
Ankit
try a hook to change a standard LR portlet to you needs;
https://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Developing+Liferay+Hooks;jsessionid=389BF7F418E81791A499F51C380C9C67.node-1
https://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Developing+Liferay+Hooks;jsessionid=389BF7F418E81791A499F51C380C9C67.node-1
Hi...
The link which you had given does not have anything..
Can you please tell me any other link????
Is there any other way which i can use to get the results.
Any idea or suggestions are welcome..
Thanks in advance..
The link which you had given does not have anything..
Can you please tell me any other link????
Is there any other way which i can use to get the results.
Any idea or suggestions are welcome..
Thanks in advance..
In Liferay you can modify existing portlets by using the Hooks
The Wiki has dsome info on hooks for instance
Custom Fields and JSP Hooks
Hooks
tag hook
The Wiki has dsome info on hooks for instance
Custom Fields and JSP Hooks
Hooks
tag hook
or read this book Liferay in Action
excerpt
excerpt
10
Hooks
Liferay Hooks are the newest type of plugin which Liferay Portal supports. They were introduced late in the development cycle for Liferay Portal 5.1.x, and are now the preferred way to customize Liferay. As with portlets, layout templates, and themes, they are created using the Plugins SDK, and are used for multiple scenarios.
So what are hooks? Aptly named, they are pieces of code which are designed to “hook” into Liferay and take over certain pieces of functionality. They allow you as a developer to override parts of core Liferay with your own implementation.