Hi,
In my module i want to create a folder in data module when i install my module.
i have add the code below code in version handler.but it is not working.
kindly send me the detailed steps to create a data folder using version handler.
protected List<Task> getExtraInstallTasks(InstallContext installContext){
final List<Task> tasks = new ArrayList<Task>();
tasks.add(new CreateNodeTask("year update ", "year", "data",
"", "Years", NodeType.NT_FOLDER) );
return tasks;
}
Thanks
Siva
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=a145fb83-3b98-4dec-a268-9048820fef4d
----------------------------------------------------------------
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]>
----------------------------------------------------------------