OS Builder/Add additional Activities

From OLPC
< OS Builder
Revision as of 12:47, 16 March 2011 by Martinlanghoff (talk | contribs) (Created page with 'Look into the sugar_activity_group and sugar_activities_extra modules. =sugar_activity_group= If your activities are published online and can being fetched from public URLs, th…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Look into the sugar_activity_group and sugar_activities_extra modules.

sugar_activity_group

If your activities are published online and can being fetched from public URLs, the best option is to use sugar_activity_group. This works both for the builder and for later updates.

Define a 'base URL' -- for example, http://wiki.laptop.org/Activities/YourDeployment . Add the module to the modules list and a new section:

 [sugar_activity_group]
 url=http://wiki.laptop.org/go/Activities/YourDeployment

The system will actually request a url adding the OS version number, so it will try, in order

 http://wiki.laptop.org/go/Activities/YourDeployment/10.1.3
 http://wiki.laptop.org/go/Activities/YourDeployment/10.1
 http://wiki.laptop.org/go/Activities/YourDeployment/10
 http://wiki.laptop.org/go/Activities/YourDeployment

For best control over activity versioning, create a page for this specific version http://wiki.laptop.org/go/Activities/YourDeployment/10.1.3 . The format of the page is described here -- the easiest way is to start copying the contents of http://wiki.laptop.org/go/Activities/G1G1/10.1.3 or http://wiki.laptop.org/go/Activities/G1G1Lite/10.1.3