Mirtul
April 26th, 2025, 14:18
Hi
I'm experimenting trying to learn how to create an extension. I'm completely new and clueless to this, so it's a struggle.
I would like my extension to come with some items included. Is that possible, or do I need to use a module for adding data, and an extension for the new functionality separately?
I tried exporting a module with an item, then took the db.xml and renamed it to items.xml and used an includefile that brought it into the extension.
I'm not getting any errors, but I'm also not seeing the items I exported so I assume that either the format is different when an extension or maybe it's not possible to include data at all?
If it is possible, could anyone share a sample of the includecommand for the extension and the format of the xml file containing the items?
Thank you
I'm experimenting trying to learn how to create an extension. I'm completely new and clueless to this, so it's a struggle.
I would like my extension to come with some items included. Is that possible, or do I need to use a module for adding data, and an extension for the new functionality separately?
I tried exporting a module with an item, then took the db.xml and renamed it to items.xml and used an includefile that brought it into the extension.
I'm not getting any errors, but I'm also not seeing the items I exported so I assume that either the format is different when an extension or maybe it's not possible to include data at all?
If it is possible, could anyone share a sample of the includecommand for the extension and the format of the xml file containing the items?
Thank you