Congrats ;)
Howard wrote:
in Umbraco CMS when you use the content picker (treePicker) the "choose" button launches the window. this does not work in firefox but i can't seem to find how the js code is generated.
Explanation:
All the fields/generic properties on a document is defined in the documenttype of the document (you know this ;)) - each field has a "type" (actually a datatypedefinition that are created in developer/datatypes), these datatypedefinitions are a wrapper for an object which implements the umbraco.interfaces.IDataType interface and provides possibility to add prevalues.
The IDatatype component are responsible for:
1: Providing an "editor" - used for editing the data (this is the link+javascript which pops the window).
2: Storing the data
3: Providing a Xmlrepresentation of the data - which are inserted into the cached xml for the runtime (as a childnode to the "./node/data[@alias='propertyalias']" node)
4: Optionally providing an editor/interface for adding prevalues to itself.
The IDatatype components are registered using reflection - which makes it possible to make your own components and use them by dropping the compiled .dll in the /bin folder - this is great for customizing the interface and makes integration easy.
In this the umbraco document/member/media editing interface is built using these components like building bricks.
- I'm guessing youre using the v3 beta build (since it needs to be mozz ediding) - but there it's no different in the v.2.x builds.
The "Content picker" IDatatype is contained within:
~/umbraco/components/editorControls/pagepicker/pagePicker.cs
~/umbraco/components/editorControls/pagepicker/pagePickerDataType.cs
If you succed in making them work in Firefox, you could apply a patch by sending the code to me or to Niels it will be put in the repository.
If you run into difficulties, you can post a comment here - I'll come back and check later today