- 🇮🇳India saurabh-2k17
I am trying to make the above patch compatible with the latest version, but it is breaking at multiple steps. Anyone tried the above patch on recent versions?
Patch that provides new functionality.
Add an image field (field_image) to the article.
Upload your source images to public://$contentType'/images/' folder (sites/default/files/article/images).
Add the image field name in the respective csv column (field_image).
Import the csv.
Example csv:
title,field_seo_title,field_image,field_channel
Node Title,Node field_seo_title text,test.jpg,tags:News
Upload your source images to public://$contentType'/images/' folder (sites/default/files/article/images).
Add the image field name in the respective csv column (field_teaser_media). Add the data with this structure: media:test.jpg
Import the csv.
Example csv:
title,field_seo_title,field_channel,field_teaser_media
Node Title,Node field_seo_title text,tags:News,media:test.jpg
Upload your source images to public://$contentType'/images/' folder (sites/default/files/article/images).
Add the image field name in the respective csv column (field_paragraphs). Add the data with this structure: image:test.jpg
Import the csv.
Example csv:
title,field_seo_title,field_channel,field_teaser_text,field_paragraphs
Node Title,Node field_seo_title text,tags:News,the teaser text,image:test.jpg
Upload your source images to public://$contentType'/images/' folder (sites/default/files/article/images).
Add the image field name in the respective csv column (field_paragraphs). Add the data with this structure: image:test.jpg
Add the text field name in the respective csv column (field_paragraphs). Add the data with this structure: text:The text
Import the csv.
Example csv:
title,field_seo_title,field_channel,field_teaser_text,field_paragraphs,field_paragraphs
Node Title,Node field_seo_title text,tags:News,the teaser text,image:test.jpg,text:The text for the paragraph field
Active
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I am trying to make the above patch compatible with the latest version, but it is breaking at multiple steps. Anyone tried the above patch on recent versions?