IIRC, I left open a hook to add your own models.  I didn't put this hook 
in page_attachments because I couldn't be sure anyone was going to use 
import_export.  Also consider that import_export is half-baked, too.  
I'm of a mind to rewrite it as Rake tasks with dependencies.

Sean

Will Green wrote:
> Disregard this. I needed to alter 
> vendor/extensions/import_export/lib/exporter.rb, line 3, to specify 
> which models to export. After adding PageAttachment to the end of the 
> list (there has *got* to be a better, more Rails-esque way to do this), 
> my page_attachment records are now exported.
>
> I have yet to try importing with this fix in place, though.
>
> Will Green wrote:
>   
>> After closer inspection, it appears that the applied patches are causing 
>>   my page_attachments to be neither exported nor imported (probably 
>> because they aren't exported!).
>>
>> Giovanni, since you added a priority field to the extension_meta table, 
>> must I now assign a priority to each extension in order for them to be 
>> processed at all?
>>
>>     
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to