Create a package that adds a new section to Umbraco
Hi,
I am using Umbraco V4 and I want to create a package for my newly created Comments section so that I can easily install it into another website, I understand there is a tool for creating a package in V4 but how can I add changes to the database and config files in my package because in order to create my new Comments section in the database changes have to be made to some tables in the database and also the dashboard.config file, also an image needs to be added to the umbraco\images\tray folder. Can anyone give me some help on this? I assume it can be done because the e-commerce package adds a new section to Umbraco.
Create a package that adds a new section to Umbraco
Hi,
I am using Umbraco V4 and I want to create a package for my newly created Comments section so that I can easily install it into another website, I understand there is a tool for creating a package in V4 but how can I add changes to the database and config files in my package because in order to create my new Comments section in the database changes have to be made to some tables in the database and also the dashboard.config file, also an image needs to be added to the umbraco\images\tray folder. Can anyone give me some help on this? I assume it can be done because the e-commerce package adds a new section to Umbraco.
Hi,
You can use Package Actions for that http://our.umbraco.org/wiki/reference/package-actions
And for executing some SQL statements, look here
http://our.umbraco.org/wiki/reference/package-actions/community-made-package-actions/execute-an-sql-statementscript
/Martin
hi guys., the above links couldn't be read.. any ideas please.. i would like to do the same thing
The links should be:
http://our.umbraco.org/wiki/reference/packaging/package-actions
and
http://our.umbraco.org/wiki/reference/packaging/package-actions/community-made-package-actions
thanks for replying
@ trfletch
did you get the solution?
Hi Sam,
No I never got round to packaging up my comments section.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.