Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Quick API Question....

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
drbigfresh
Smarty n00b


Joined: 15 Aug 2007
Posts: 3

PostPosted: Sun Dec 02, 2007 6:05 pm    Post subject: Quick API Question.... Reply with quote

I am trying to port over an app that currently uses the google maps class, but unfortunately I no longer have access to including the JavaScript files in the head of the document, and then loading them with the Body OnLoad event. Is there another way to do it w/o using those two options? (I Hope!)

Thanks,
S.
Back to top
View user's profile Send private message
drbigfresh
Smarty n00b


Joined: 15 Aug 2007
Posts: 3

PostPosted: Sun Dec 02, 2007 6:27 pm    Post subject: Got it working....but.... Reply with quote

So I got it working, the only thing I can't figure out is:
<?php $map->printHeaderJS(); ?>

If I put it in the body, the map still works, but I imagine there is a better way to do it? Or Maybe not?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP