Hi Natasha

Thanks for the help. I'll have a look at the ThemeInstallTaks.

In regard to the node type bootstrapping: We now added the "RegisterNodeType" 
Task to the Delta _before_ the bootstrap task for the type, tree and dialog. 
This seems to work fine. Hope we're not doing anything terribly wrong that way.

-will

On 20.06.2012, at 11:24, Natascha Desmarais (via Magnolia Forums) wrote:

> Hello Will!
> Since you are talking about images in DMS I assume you are talking about a 
> pre-STK 2.0 environment :)
> 
> 1) If you have a look at 
> info.magnolia.module.templatingkit.setup.ThemeVersionHandler, you will see 
> that the default update task actually always contains a ThemeInstallTask. If 
> you look at info.magnolia.module.templatingkit.setup.ThemeInstallTask you 
> will see that all theme resources are re-bootstrapped or re-added in the 
> various workspaces. So if you extend the standard ThemeVersionHandler, new 
> images should be uploaded on an update. No need to specify them in a delta.
> 
> 2) It depends, because the description of the class reads as following: "Task 
> to register custom node types. When using this task, place it in the 
> getBasicInstallTasks as a very first task. It needs to be executed BEFORE 
> bootstrap task.". Now I'm not sure if the deltas are executed before the 
> defaultUpdateTasks (which usually re-bootstrap the module's config), maybe 
> you know for sure or someone can jump in here and enlighten us. 
> 
> Cheers
> Natascha
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=b0054733-b49d-4cd2-a67a-592f8a7794a8
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to