×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Text above and below map

Text above and below map 13 years 3 months ago #13204

  • Michel Du
  • Michel Du's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 0
Add two (optional) html fields in the Configuration.
First one to display html text between the title and the map.
The second one to display html text below the map.
This text can be used - for example - to describe the map or anything else.
I think it's very easy to add thoses fields and can be very helpful.
Your map is very nice, but a little bit 'naked'.
Regards.

Text above and below map 13 years 3 months ago #13207

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
I think you can 'dress' the map using it in an article as a plug-in. But Daniel will give you more details about it.

Text above and below map 13 years 3 months ago #13318

  • Michel Du
  • Michel Du's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 0
In fact, it's very easy to add those text fields.
You fave to modify : components\com_hotspots\views\hotspots\tmpl\default.php
For text before the map, add your text in line 72.
For text after the map, add your text in line 168.
Of course, you can link these text fields to DB fields.
Regards.
  • Page:
  • 1
Time to create page: 0.092 seconds