Snippets - Little bits of code to make you happy
-
SnippetsA Data Object Manager Cheatsheet
6 October 2010 | |
TweetWe all love the DataObject Manager (DOM, not to be confused with the Document Object Model) as well as its creator UncleCheese of LeftAndMain.com. However one thing which has always frustrated me is having to look back through my code or even worse having to search the forums to find that function to set the upload folder, or create a filter for my DOM. So here within this page, lies a comprehensive list of all the things you can do with your DOM and File/ImageDOM. Viva la DOM!
Continue reading... -
SnippetsInserting Javascript into a DOM Popup
11 September 2011 | | | Supports v2.4, v2.3
TweetI recently ran into the problem of how to insert my own Javascript into a DOM (DataObjectManager) popup window. After much googling and getting nowhere I resorted to reading the code and discovered that it was in fact quite simple to do.
The problem I was trying to solve was for a dropdown select box to toggle fields in the form, depending on whether a link is internal or external to the site.
Continue reading...