Creating Your Own Package

A package is a collection of Chalk extensions, Widgets, Plug-Ins, Themes, or any other files in Graffiti CMS grouped together as a single unit.  For example, you may have created a Theme, a Plug-In, and a Chalk Extension for a photography website. Instead of dealing with the headache of installing all of these separately, you can simply offer them as a "Photography" package.

Creating the Package

Setup a directory somewhere on your computer that matches the folder structure of Graffiti with your files included. You only need to create the folders where you will have files installed, not empty directories. For the above example, you will create a directory and files as follows:

C:\Photography\

C:\Photography\bin -- this folder contains your two .dlls for your Plug-In and Chalk Extension

C:\Photography\files\themes\phototheme\ -- this folder contains the files for your theme

To package up the files, run Package.exe from the /Utilities/ folder, for help on this utility you can run "Package /?" at the command line. The package will be created in the directory where package.exe is located.

 

When this package is uploaded by the user, it will be installed to the directories specified.