1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Put Google Map in a Page

Discussion in 'XenForo Development Discussions' started by gamecock, Feb 3, 2011.

  1. gamecock

    gamecock Member

    This is a basic question, but I am still trying to get a handle on the fundamentals of developing in xenforo.

    Basic task, I need to embed a Google Map in a xenforo-Page. When the Page loads, I need do a set of Google Map tasks. In an ordinary web page, I would run these initialization tasks in an function called on body/onload.

    Should I use the callback method mentioned when creating a Page? If true, where on the file system should the class script be placed for this method. thanks in advance
  2. Mike

    Mike XenForo Developer Staff Member

    The callback is for PHP. What you want to do is in JS, so it'll just go into the page template/HTML area.
  3. gamecock

    gamecock Member

    ah yes, that was dumb. confusing myself

Share This Page