Do you know if exists something similar to Anguilla Framework for using it in Experiencie Manager (XPM)? I have used the same Anguilla commands that I use in Content Manager and they have not worked.
1 Answer
Basically the Anguilla Framework is for the CME and for XPM, see also my answer here: How to integrate my custom button into Experience Manager
What you need to do is specify in your Editor and/or Model extension configuration whether you are extending something in the CMe or in XPM (which is called SiteEdit
in the configuration. You can also have your extension apply to both, by specifying both in the configuration XML, the nodes you are looking for are:
...
<extensions>
<ext:editorextensions>
<ext:editorextension target="CME">
...
<!-- add your extension nodes for the CME here -->
...
</ext:editorextension>
<ext:editorextension target="SiteEdit">
...
<!-- add your extension nodes for XPM here -->
...
</ext:editorextension>
</ext:editorextensions>
...
</extensions>
...
NOTE: If you edit your question and provide a little more detail about your specific example, I can update my answer with a more specific example...
$display
in XPM, how is your Editor/Model configured etc. etc.$display
is available in XPM by the way, but it depends on where you are trying to use it. It will be there in the Ribbon Bar, and in the popup windows of XPM for example. But you won't find it on the webpage, since that is not a "window" (or display) controlled by XMP, it is a webpage from the staging site (there are a few limitedTridion
objects available in there, loaded from the bootstrap script, which supply the overlays required for editing).