On Mon, 2009-02-16 at 12:50 +0100, Will Scheidegger wrote: > We would like to import data from a text file into the data module. Of > course I could write my own import mechanism and trigger it over some > home made dialog (as we did before). But the data module features an > "import" mechanism of its own and I would prefer to customize this > than re-inventing the wheel.
What exactly would you like to get tutorial for? There is already DateTimeImportHandler in info.magnolia.module.data.samples package that should show you what you need to do. If there is anything still not clear after looking at that code, let me know. As for triggering this upload manually right now you can do so only by associating your import handler with the "import data" button in the "data types" toolbar. There is already issue for allowing to have possibility to configure one such importer per each data type (so the button would appear for each data type you create). I think the issue number is MGNLDATA-52 and it will be implemented once the Magnolia 4.0 final is out. Cheers, Jan > > Now, before I dig deep into the code and try to find out how to do > this... has anyone done it before? Could you write a short tutorial? > > Thanks! > > -will > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- -- Best regards, Jan Haderka Magnolia International Ltd. ---------------------------------------------------------------------- [email protected] http://www.magnolia-cms.com Magnolia® - Simple Open Source Content Management ---------------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
