Blog Sections Open

Rendering a ddYMap Field on the Public Site

How to take manager-side map data from mm_ddYMap and output the corresponding map on the frontend with the ddYMap snippet.

It is common to get the manager plugin working and still hesitate on the public-side rendering. With map helpers, the editing field and the frontend output are two different steps: one stores coordinates, the other reads and renders them.

Typical Frontend Call

[[ddYMap?
  &geoPos=`[*map*]`
  &width=`600`
  &height=`400`
]]

The exact TV name and parameters vary by project, but the main rule stays the same: store normalized coordinates in the manager, then pass that stored value into the frontend snippet instead of trying to rebuild location data manually.

What to Verify

  • the TV really contains coordinates in the expected format
  • the frontend snippet receives the same field value you see in the manager
  • required JS assets for the map provider are present on the page
Newer post

Removing Shopkeeper Cart Items Without AJAX Refresh

How to switch a Shopkeeper cart flow back to full-page removal when custom JavaScript makes the default AJAX behavior too fragile.

Older post

Planning Delivery Price and ETA Logic by City

A practical architecture for forms where delivery cost and delivery time must change by city without hard-coding thousands of entries by hand.