liferay-6.2liferay-hook

Where is the Look and Feel JSP file?


There is this Look and Feel option in every portlet settings:

Look and Feel potlet settings

I want to create hook for this tab. Which JSP file do I have to override? How can I add my custom field in this tab (like Use Custom Title)?


Solution

  • How to find such files:

    1. Look into src/content/Language.properties for a term from your screen with high significance, e.g. Use Custom Title:

      ...
      use-custom-title=Use Custom Title
      ...
      
    2. Now search for a file that contains the key, in our case use-custom-title:

      portal-web/docroot/html/portlet/portlet_css/view.jsp
      

    That is indeed the file you are looking for.