Google maps question

mankind:

In doing my implementation of the database options I note that your google maps implementation instantiates foogle in functions.php. That presents a problem with options. When functions.php is first loaded the DB Options are not yet instantiated. So, you MUST put your apikey in zp-config.php.

If we could delay instantiation until, say class-gallery.php or better even template-functions.php, then the option can come from the database.

Comments

  • Never mind. atif311 & I got the code moved to a better location. atif311 verified the functions still work.
Sign In or Register to comment.