1. xama
  2. Support
  3. Monday, November 21 2016, 11:16 AM
I want to hide by default USERNAME on hotspot popup and show Custom Fields instead (as on backend map properties)

Thanks

GC
admin Accepted Answer
Admin
Hi,
this is not possible natively, the purpose of map module is to show users, so name (or username) is required.

To do this you can override Maps module output with Joomla override feature:
- Copy file from /modules/mod_jsnmap/tmpl/default.php to /templates/your-template-folder/html/mod_jsnmap/default.php
- Edit new file and comment or remove line 43 and 47

You can choose another name for the new layout, for example "nousername.php" instead "default.php" and set this new layout in the module parameters (see screenshot).
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.