Contact Page with Map
Now we'll create a contact page with an address, opening hours and a google map.
Click the "pages" button. Now click the "+item" button to create a new page and rename "contact".
1) Address Section Add a "section" with a "heading":
[section]
[h1][Heading,Company Name][h1end]
Street[nl]
City[nl]
Postcode
[sectionend]
Company Name
Street
City
Postcode
2) Opening Hours SectionAdd another section.
[Section|| padding:5%;]
[OpenHours,Monday,9am,-,5pm]
[OpenHours,Tuesday,9am,-,5pm]
[OpenHours,Wednesday,Closed]
[OpenHours,Thursday,9am,-,5pm]
[OpenHours,Friday,9am,-,5pm]
[OpenHours,Weekends,midday,til,4pm]
[SectionEnd]
3) Contacts SectionAdd another section.
[Section|| padding:5%;]
[contact,Phone,+(44) 141 000 00000,tel:+44-141 000 00000]
[contact,Phone,mobile +(44) 771 000 00000,tel:+44-771 000 00000]
[contact,email,[var,contact.email],mailto:[var,contact.email]?Subject=From%20Website]
[contact,facebook,facebook page,https://facebook/]
[contact,instagram,instagram images,https://instagram/]
[contact,twitter,twitter account,https://twitter/]
[contact,website,favourite,https://webgenisys.co.uk/,heart.png]
[SectionEnd]
4) Google Map SectionAdd another section.
[Section|| padding:0 0;]
[map]
[info,map_container,55.8535033,-4.260045,16]
[marker,map,55.8535033,-4.260045,63,97]
[mapend]
[SectionEnd]
map_container,55.8535033,-4.260045,16
[Info,map_container,55.8535033,-4.260045,16][Marker,map,55.8535033,-4.260045,63,97][Info,map_container,55.8535033,-4.260045,16]
map,55.8535033,-4.260045,63,97
Click "Save", reload your website and click the "Contact" boxmenu item:
https://yourdomain.com/?contact
Company Name
Street
City
Postcode
map_container2,55.8535033,-4.260045,16
[Info,map_container2,55.8535033,-4.260045,16][Marker,map,55.8535033,-4.260045,63,97][Info,map_container2,55.8535033,-4.260045,16]
map,55.8535033,-4.260045,63,97
What more do I need to know? Not a lot…See Also
[h(x)][section][openhours][contact][map]content/system/variablesNotes