Message Boards

Liferay 7-GA3 - external link (Linktarget) for Control Menu

M T, modified 7 Years ago.

Liferay 7-GA3 - external link (Linktarget) for Control Menu

New Member Posts: 11 Join Date: 11/2/16 Recent Posts
Hi Community,

I'm trying to change a links target on the control menu. Basically I'm following the dev tutorial Customizing Control Menu.

When I inspect the source code I notice that the "target" attribute of the link is set to "_self". I would like to set the "target" attribute to a different value. Is there any property or the like to achieve this? Do I have to override a certain method of ProductNavigationControlMenuEntry?
How in general can I customize the links behaviour regarding attributes like "onclick" or how about adding new attributes?

Thanks a lot!

MT