×

Notice

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

TOPIC: Update Hotspot Submission Message

Update Hotspot Submission Message 10 years 11 months ago #24108

  • Justin Scarfe
  • Justin Scarfe's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
After a user submits a hotspot, I'd like to include a mention that their entry will require approval. Currently the message is "1 items were unpublished". I'd like to update the message to something like "Your location has been submitted and will be published once approved."

If you could point me in the right direction to update the message that would be much appreciated!

Update Hotspot Submission Message 10 years 10 months ago #24115

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Justin,
As with all joomla extensions messages are stored in administrator/language/en-GB and language/en-GB in the en-GB.com_hotspots.ini file.
You can use the joomla language override feature to override any strings in there:
docs.joomla.org/J2.5:Language_Overrides_in_Joomla

I think that in your case you need to modify the COM_HOTSPOTS_N_ITEMS_UNPUBLISHED message. But now that I think about it. If you have set the Hotspots to not be auto-approve we generally need a better message for the user. I'll look into this and do what is necessary to make this better. (until then you can of course change the string)

Regards,
Daniel
The following user(s) said Thank You: Justin Scarfe

Update Hotspot Submission Message 10 years 10 months ago #24118

  • Justin Scarfe
  • Justin Scarfe's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks Daniel!
I've added an override for the string.
  • Page:
  • 1
Time to create page: 0.087 seconds