View more context



what is the preferred way for importing dataobjects by modeladmin's CSV importer?

upload all assets beforehand through /admin/assets/, then write down the File.ID as MyDataFileId in the csv?


I'd have thought it was better to make a custom importer


you can add that custom importer to the modeladmin, yes. It could try to find the file by path in DB and import it from a "files-to-import" folder if not found.


A lot depends where the files are really. If they're already online somewhere, you can automate the entire process


Otherwise you could upload them and find them as @wmk suggests


They're physically on the same server, so i could get them by the local path. Basically i could write a custom importer while using File::setFromLocalFile ? That would be the most stress-free way indeed


We’re having critical performance issues with pages that contain multiple embedded videos. After digging in with some profiling, it appears this is because the shortcode parser is using CURL (via the Embed module) to fetch remote data about every video when the page is displayed.

We have a blog listing page that is taking 40-60 seconds to load, because it tries to display a text excerpt for each post, which triggers this behaviour. And the individual blog post pages take 10+ seconds to load.

Does anybody know if there is a way to control or disable this behaviour?


is there any chance you can change how the videos are used, e.g. via a video block with custom behaviour? do you need to use shortcodes?