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

GoogleMapAPI: Adress in the sidebar

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


Joined: 18 Nov 2008
Posts: 4

PostPosted: Wed Nov 19, 2008 3:18 pm    Post subject: GoogleMapAPI: Adress in the sidebar Reply with quote

Is there a way that i can show the adres in the sidebar. i am using this API as a sort of store locator. It would be realy nice if a user would search on place an the sidebar would show al the names and adresses from that place.

at the moment it only shows names. for example

current:
b&g jeans store

and i want:

b&j jeans store
jacob nielstenstreet 388
3456TD Amsterdam
Phone:0204567865
Back to top
View user's profile Send private message
fahiemoto
Smarty n00b


Joined: 18 Nov 2008
Posts: 4

PostPosted: Fri Nov 21, 2008 1:26 am    Post subject: Reply with quote

Nobody that can help me? Crying or Very sad

i think it got something to do with this line:

$_output .= "sidebar_html += '<div style=\" border-bottom:1px solid #CCCCCC;padding:2px; \"><a class=\"locator\" href=\"javascript:click_sidebar(' + counter + ')\">' + title + '<\/a>
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7365
Location: Lincoln Nebraska, USA

PostPosted: Fri Nov 21, 2008 8:23 pm    Post subject: Reply with quote

You should be able to put whatever text you want into the title? Otherwise, you can build your own sidebar too.
Back to top
View user's profile Send private message Visit poster's website
fahiemoto
Smarty n00b


Joined: 18 Nov 2008
Posts: 4

PostPosted: Fri Nov 21, 2008 8:35 pm    Post subject: Reply with quote

Yes, that is great to kwow.

But i whas wondering how to call upon the adres.
the name is called with + title +

how can you call the address?
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