×

Notice

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

TOPIC: (Solved) Start location and zoom Question

(Solved) Start location and zoom Question 11 years 1 month ago #20176

  • Christine Spinder
  • Christine Spinder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Is there a way to change the start location and zoom to a variable instead of it being preset in Joomla? Or where is the file that adds the domready function with the startlocation in it?

Start location and zoom Question 11 years 1 month ago #20177

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Look at components/com_hotspots/utils.php the getJsVariables function generates the start position and zoom.

window.addEvent is generated in components/com_hotspots/views/hotspots/tmpl/default.php

Regards,
Daniel

Start location and zoom Question 11 years 1 month ago #20191

  • Christine Spinder
  • Christine Spinder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thanks for your help. I made some minor tweeks and it worked.
  • Page:
  • 1
Time to create page: 0.133 seconds