This is going to be a hit! We added a twitter widget to the detail view, and small maps and store hours to the v-card view. We are going to implement a version of this for a pizza franchise customer of ours to list all their stores,
and then all their stores have separate twitter accounts on the detail view too!
You'll see in our online demonstration vs. your installation that we tweaked the CSS a little bit and resized the map in the v-card view to make it look a little better for this purpose - it's really easy to customize these templates.
Online Demonstration: http://drpcfix.com/home/store-locator
Download Now: SOBI Template Club
README
Sobi2 template that creates a listing of stores along with google map applets on both the vcard view and details view. Both using the javascript google maps api, to pull the applet with either the latitude and longitude fields or geocodes an address. A preset style variable is set for each view and styles can be added simplely with placing css in the $style variable(with or without line breaks and tabs). Also includes twitter widget in details view.
INSTALL
Simple SOBI2 template just install through sobi's install menu and edit sobi2.vc.tmpl.php and sobi2.details.tmpl.php to account for google maps settings.
sobi2.details.tmpl.php :
54 | $key = '{YOUR_KEY}'; // ADD YOUR GOOGLE MAPS API KEY
sobi2.vc.tmpl.php :
53 | $key = '{YOUR_KEY}'; // ADD YOUR GOOGLE MAPS API KEY
Also you will need to add sobi2 fields for latitude and longitude if you're using them. As well as for hours. I just used a simple textarea field for the 'hours' field and added a html list.
You will also need to add a field named 'twitter' for the twitter widget to grab the latest twitter posts.
You will need to also put the API key in SOBI for the mappick code field to work, under configuration, view, google maps.
Tell Google you like us:
Copyright - 2009 - | ReallyClicking.com | 425-401-9523
13501 100th AVE NE, Suite 10 | Kirkland WA 98034
Bellevue Computer Repair by Dr PC Fix | Site Map
Comments
RSS feed for comments to this post.