×

Notice

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

TOPIC: I link added to the slide out window

I link added to the slide out window 12 years 6 months ago #14040

  • Robert Meyers
  • Robert Meyers's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
Hello Daniel,

Hope all is well. My wishlist wish is to have a link to the add location page in the slide out window if there no new hotspots added yet. Right now it says "No hotspots in this category" But it would be cool if it also said "Add a new hotpot now." and was a link to the add a hotspot page.

Could this be done on my side as in editing a file? Also since I am running a photo site and just bought a new license for that site what file do I need to change the word Hotspot to photo in?

Thank you.

Robert

I link added to the slide out window 12 years 6 months ago #14043

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
This is actually a very cool idea! And I'll put it to the wishlist.
You need to edit the file components/com_hotspots/views/json/tmpl/list.php from line 34 till 84 you have the logic for the "no hotspots in this category" or "there are 20 hotspots in this category". It is there that you need to add the text.

Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.150 seconds