• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [opgelost] CompagnyDirectory en CGGoogleMaps
PostPosted: Wed Mar 02, 2011 2:00 pm 
Offline
Power Poster
Power Poster

Joined: Tue Jan 27, 2009 11:47 am
Posts: 838
Location: Belgium - Flemish
iemand die weet hoe of een forum topic weet ivm. het tonen van CompagnyDirectory ingaves in een map van CGGoogleMaps ?

CompagnyDirectory bevat de 2 velden voor Latitude en Longitude !
Maar is er een manier om die te koppelen aan CGGoogleMaps


Alvast bedankt.

Mvg,
Peter


Last edited by pedes on Wed Mar 02, 2011 2:52 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [solved] CompagnyDirectory en CGGoogleMaps
PostPosted: Wed Mar 02, 2011 2:51 pm 
Offline
Power Poster
Power Poster

Joined: Tue Jan 27, 2009 11:47 am
Posts: 838
Location: Belgium - Flemish
ok topic gevonden ... soms toch precies een speld in een hooiberg

maar de aanhouder wint ;D ;D

dit is de code waarmee het werkt (in de template plaatsen)
Code:
{CompanyDirectory assign="" detailpage="churchyard-details"}
{foreach from=$items item='entry'}   
{assign var='name' value=$entry->company_name}
{assign var='lat' value=$entry->latitude}   
{assign var='long' value=$entry->longitude}   
{capture assign='description'}
<img src="{$entry->logo_path}" />
<h3>{$entry->company_name}</h3>

<a href="{$entry->detail_url}">Find out more</a>
{/capture}
{cggm_add_dynpoint map='1' name="$name" lat="$lat" long="$long" description="$description"}
{/foreach}

{CGGoogleMaps map='1' zoom='1' }


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [opgelost] CompagnyDirectory en CGGoogleMaps
PostPosted: Sun Aug 14, 2011 9:30 pm 
Offline
Power Poster
Power Poster

Joined: Wed Aug 13, 2008 10:57 am
Posts: 782
Korte Vraag,

in welke template wordt die kode geplaatst? De Map-template?

M.vr.gr.
Jan


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [opgelost] CompagnyDirectory en CGGoogleMaps
PostPosted: Mon Aug 15, 2011 4:02 am 
Offline
Power Poster
Power Poster

Joined: Tue Jan 27, 2009 11:47 am
Posts: 838
Location: Belgium - Flemish
janvl wrote:
in welke template wordt die kode geplaatst? De Map-template?


in de pagina template


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


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 post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting