Add the Widget macro. This enables assets to be widgetized (easily embedded in
another page). Usage as such: ^Widget(assetId, width, height, templateId); assetId is the ID of the asset to widgetize, width and height are the size of the iframe, templateId is the template ID of the template to use for the widget itself. This will pop up an icon that shows you some markup to put on another page to embed the asset in widget form. If no template given, will use the ajaxInlineView of the asset.
This commit is contained in:
parent
36b622622e
commit
81736fb322
6 changed files with 242 additions and 0 deletions
|
|
@ -18,6 +18,10 @@
|
|||
- Added migration utility for Gallery
|
||||
- Removed old .tmpl files from upgrades. ALL templates in upgrades must now
|
||||
be in Packages!
|
||||
- add: widgetize asset macro. called like so: ^Widget(assetId, width,
|
||||
height, templateId); where assetId is the asset of the widget to
|
||||
templatize and templateId is the template for the widget itself. If
|
||||
templateId isn't specified, uses ajaxInlineView.
|
||||
|
||||
7.4.20
|
||||
- fix: Assets with no committed versions may be left as orphans when parent is purged
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue