×

Notice

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

TOPIC: Welcome to Hotspots

Welcome to Hotspots 7 years 9 months ago #35637

  • Simon Rodway
  • Simon Rodway's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi
I'm wondering how I can edit the welcome tour that pops up for new users? I can see there is a facility to edit the first few lines of the first window. Presumably the other popup windows are not accessible? In any case, I would like to change the main welcome title, which reads "Welcome to Hotspots" to something that fits my site. Personally I think this is excessive branding of your extension, and is repeated throughout with constant references to "hotspots" which after all is a trade name, and not a generally used word. I would much prefer to be able to use the word "location" for example.
Great extension, however, and I'm really pleased so far with the way its working.

Welcome to Hotspots 7 years 9 months ago #35644

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Simon,
Glad you like Hotspots. You can modify the word Hotspots everywhere you want. Joomla has this feature called Language override and you can basically change any word on your website.
docs.joomla.org/J3.x:Language_Overrides_in_Joomla
The code for the welcome tour is in components/com_hotspots/helpers/tour.php
There you have the following language constants:
COM_HOTSPOTS_TOUR_WELCOME_LABEL
COM_HOTSPOTS_TOUR_HOTSPOTS_TAB_LABEL
COM_HOTSPOTS_TOUR_HOTSPOTS_TAB_DESC
COM_HOTSPOTS_TOUR_FILTER_LABEL
COM_HOTSPOTS_TOUR_FILTER_DESC
COM_HOTSPOTS_CENTER
COM_HOTSPOTS_TOUR_CENTER_BUTTON_DESC
COM_HOTSPOTS_FULLSCREEN
COM_HOTSPOTS_TOUR_FULLSCREEN_BUTTON_DESC
COM_HOTSPOTS_TOUR_ADDRESS_LABEL
COM_HOTSPOTS_TOUR_ADDRESS_DESC
COM_HOTSPOTS_TOUR_DIRECTION_LABEL
COM_HOTSPOTS_TOUR_DIRECTION_DESC
COM_HOTSPOTS_TOUR_END_LABEL
COM_HOTSPOTS_TOUR_END_DESC

Cheers,
Daniel

Welcome to Hotspots 7 years 9 months ago #35648

  • Simon Rodway
  • Simon Rodway's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Thank you very much Daniel, much appreciated.
I have tried using the language override feature in Joomla before, but found it difficult to implement, though I'm sure it isn't really, just needs a bit perseverance probably.
Regards
Simon

Welcome to Hotspots 7 years 9 months ago #35649

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Go, go, go Simon :)
Language overrides are awesome :)
The following user(s) said Thank You: Simon Rodway

Welcome to Hotspots 7 years 7 months ago #35906

  • Kent Morrison
  • Kent Morrison's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Daniel,
Thanks for this guidance on the tour variables.
I have found these language variables and created selected language overrides.
Please tell me how to add an image to the top of the tour balloon?
I can see a reference to the hs-buttons-map, but cannot find the image file or understand how to add one more image.
Thanks for all your help.
Kent

Welcome to Hotspots 7 years 7 months ago #35938

  • Kent Morrison
  • Kent Morrison's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
I figured out how to add an image to the top of the tour balloon.

DID YOU KNOW that this will not work with relative URL on the image ?
IT ONLY WORKS with a full path in the image URL.
I had to turn off the JCE "relative path" parameter in the JCE default profile to get this to stay working.
  • Page:
  • 1
Time to create page: 0.142 seconds