0

It is said in manual to CompactTags portlet, that user should "open preferences interface" after portlet installation (said here).

If I press wrench icon, I get only "Look and Feel" and "Configuration" entries.

enter image description here

Is this mean that something wrong with my theme?

Dims
  • 47,675
  • 117
  • 331
  • 600
  • Preferences option appears when portlet has configured with edit mode in portlet.xml, portlet you are referring is not having that. There is code missing in portlet. – Pankaj Kathiriya Dec 04 '13 at 00:15

2 Answers2

2

in your portlet.xml, you'll have to support the portlet's "edit" mode. That's how the JSR-286 standard names the "Preferences" setting. IMHO Liferay's choice of "Preferences" is a better name than "edit", thus it's used on the user-facing interface.

In addition, the user in question must have permission to "edit" the portlet.

partial portlet.xml:

<portlet>
  ....
  <supports>
     <mime-type>text/html</mime-type>
     <portlet-mode>view</portlet-mode>
     <portlet-mode>edit</portlet-mode> <!-- this is what you need -->
  </supports>
  ...
</portlet>
Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
2

Preferences option appears when portlet has configured with edit mode in portlet.xml, portlet you are referring is not having that. There is code missing in the portlet. 

Pankaj Kathiriya
  • 4,210
  • 2
  • 19
  • 26