Did a geocoding widget almost exactly the same as that recently - didn’t use ManagerManager though.
We used a plugin attached to the ’OnDocFormPrerender’ event with output buffering and then manipulated the various DOM elements using jQuery to get the TV widget showing in the right place.
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
We couldn’t get it to work in ManagerManager either, but the plugin did indeed work well as Garry mentioned.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
- 386 Posts
OK thanks guys. I’d still like to keep it as a widget within MM - it just seems right as I use MM all the time to customize the manager- so I’ll write a simple plugin to include Google’s code without needing to hack the manager template.