/ Published in: TYPO3
                    
                                        
The TypoScript below assumes that the WEC Table Map plugin is set up to display tt_address records, with one group for hotels and one group for a conference venue. The resulting map shows location icons based on the address group.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
table = tt_address
join = JOIN tt_address_group_mm AS tta_txagg_mm ON tt_address.uid = tta_txagg_mm.uid_local
# Hotels
where = uid_foreign=6
icon {
iconID = lodging
anchorX = 0
anchorY = 0
infoAnchorX = 5
infoAnchorY = 1
imagepath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/lodging.png
width = 32
height = 32
shadowpath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/lodging.shadow.png
shadowWidth = 59
shadowHeight = 32
}
# config for description
description = COA
description {
10 {
10.field = address
10.wrap = |<br />
20.field = city
20.wrap = |, 
30.field = state
30.wrap = | 
40.field = zip
50.value = Phone: {field:phone}
50.wrap = <br /><br />|
50.insertData = true
}
10.wrap = <div>|</div>
}
}
# Travel = 5
where = uid_foreign=5
icon {
iconID = travel
imagepath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/plane.png
shadowpath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/plane.shadow.png
}
}
# Conference Venue = 4
where = uid_foreign=4
icon {
iconID = venue
imagepath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/flag.png
shadowpath = http://maps.google.com/intl/en_us/mapfiles/ms/micons/flag.shadow.png
}
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                