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

googlemapAPI and mod_rewrite.

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


Joined: 23 Mar 2006
Posts: 12

PostPosted: Wed Apr 23, 2008 5:25 pm    Post subject: googlemapAPI and mod_rewrite. Reply with quote

Ive got a bit of code working wonderfully with the googlemap API.

In an effort to pretty up my URL's I have a .htacces file which makes use of mod_rewrite to alter my URL and make them more search engine friendly. When I do this though my map no longer works.

I basically followed the section in the README on integrating the googlemap API with smarty.

When using mod_rewrite and viewing the page source I do have the JS code in the page source im just not getting any map info displayed.
Back to top
View user's profile Send private message
Exitium
Smarty Rookie


Joined: 23 Mar 2006
Posts: 12

PostPosted: Wed Apr 23, 2008 5:55 pm    Post subject: Reply with quote

Well, I think I figured it out. It looks like somehow some of the escaping is being stripped from the generated JS.
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