In the latest dev release of FPP, the description in entity_info is hardcoded to be "Create a new custom entity" - see fieldable_panels_pane.inc, line 225. The downstream effect of this in Panopoly is that all of its custom entity types have the same tooltip. In order to allow different tooltips for each custom entity type, it would be nice if entity_get_info checked whether the custom entity type had set this variable, like it does for title, category, icon, etc.

Comments

cboyden’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new906 bytes

The attached patch implements this change.

damienmckenna’s picture

StatusFileSize
new1012 bytes

A minuscule tweak - there as an errant space after "$info".

damienmckenna’s picture

StatusFileSize
new1.87 KB

This version adds a note to the FPP bundle edit form's description field indicating that it will be used as the tooltip.

damienmckenna’s picture

damienmckenna’s picture

StatusFileSize
new1.86 KB

Tidied up the new field description, and translated the string for the tooltip.

dsnopek’s picture

Status: Needs review » Reviewed & tested by the community

Worked great in my testing! We've committed this to Panopoly.

  • DamienMcKenna committed 7f7b82f on 7.x-1.x authored by cboyden
    Issue #2283263 by cboyden, DamienMcKenna: Allow FPP description to be...
damienmckenna’s picture

Committed!

damienmckenna’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.