I have three questions regarding the Leaflet module and its widget:

  1. How can I Include more info in the popup (Another field of the content besides the title)?
  2. How can I make the popup smaller? it is very tall.

    Thanks!

Comments

indigoxela's picture

Hi geoma,

How can I Include more info in the popup

In a view or in the popup of the field display on nodes?

In fields you can use tokens for field display settings (there's a small token browser available). For example  [node:summary] or any field available on that node type.

In views you can either use a custom entity display (and <node entity> from setting), or some customized view field (combine things from node in one Custom text field and use that in your Description Content dropdown).

How can I make the popup smaller? it is very tall.

Yeah, it looks like some <p> blow up the size here - you could inspect which field causes that and strip some markup off via views UI field settings. Depends...