
32
Packaging Extensions with Extension Manager CS5
insertbar-item-insert
Description
Inserts the specified item at the specified location.
Attributes
insertBefore | insertAfter
,
appendTo | prependTo
,
category, {xml:lang}
insertBefore | insertAfter
ID of the existing item before or after which the specified item
should be inserted.
appendTo | prependTo
ID of the existing category to which the specified item is appended or
prepended.
category
ID of the category to append to if the
insertBefore|insertAfter
item isn't
found.
xml:lang
Specifies the language for the listed file. Extension Manager compares this language
with the user language, which is determined by the process outlined in
defaultLanguage
on
page
12
. If the languages match, configuration changes are applied; if not, they are ignored. If
Extension Manager can't determine the user language, it applies all configuration changes
regardless of their specified language.
For more information, see
Creating multilingual extension packages (version 2.1 and
later)
on
page
54
.
Contents
A tag that describes the item to insert. The Extension Manager verifies only that the XML
structure is valid.
Container
This tag must be contained in the
insertbar-changes
tag.
Example
<insertbar-item-insert
insertBefore | insertAfter | appendTo | prependTo =
category_or_item_id
category =
category_id
<
itemtype
.../>
</insertbar-item-insert>
insertbar-item-remove
Description
Removes the specified
insertbar
item.
Attributes
id, {xml:lang}
id
ID of the item to be removed.