In our Alloy configuration, it is possible to add events. An event is a .xml file with one or more commands. We have several kinds of event types, which can be read about in this section. The event type must always be followed by one or more command cases, e.g.:
<event type="BaseExtensions:SaveEvent">
<Cmd case="BaseExtensions:update-fields"/>
</event>
Events folder from SD Installers
Within SD.installers, locate the folder named 'Events' placed as follows:
SD.Installers\AlloyPlugins\ModuleLibrary\Events\
Copy the folder and place it in the clients folder called Modules. Within this folder, a .xml named BaseExtensions is located, where the events to be used must be inserted.
It is important only to include the command cases needed by the client.
If the styles do not react as expected, try adding the cmd case 2 times in a row.
Comments
0 comments
Article is closed for comments.