Message Boards

extending asset publisher for customization (liferay 7.2)

FABIO PORTIERI, modified 4 Years ago.

extending asset publisher for customization (liferay 7.2)

New Member Posts: 6 Join Date: 10/22/19 Recent Posts
Hii have make a peculiar customization on the asset publisher bundle:
currently when clicking on an asset it redirect to the asset detail page, but setting the page focus on the asset title, the client does not want that focusafaik the only way is to dig into its source and modify it , so i'm thinking the only way is to write an ext module for it
 the "correct" way would be make a custom structure+model for the widget but i don't think i can make that customization with that
unless i'm wrong    
thank you for any tip
FABIO PORTIERI, modified 4 Years ago.

RE: extending asset publisher for customization (liferay 7.2)

New Member Posts: 6 Join Date: 10/22/19 Recent Posts
i respond to my own thread for future referencei managed to do it with an ext module project, i had to comment out
in view_content.jsp<aui:script use="aui-base">
    Liferay.once(
        'allPortletsReady',
        function() {
            if (!Liferay.Browser.isIe()) {
                A.one('#p_p_id_<%= portletDisplay.getId() %>_').scrollIntoView();
            }
        }
    );
</aui:script>since it's only a jsp modification i will get rid of the ext and use a fragment instead.