Hello,
I am talking about a long text field, complete with a WYSIWYG editor that is used to create a chapter in a long document, and that has an "Add more" at the bottom so the document can have as many of those as possible. Is it possible to insert a switch, say to the right of the field in edit mode that has boolean option to either publish or unpublish just that instance? so that I only display text blocks whose status is "published".

Many thanks.

Comments

arebacollins’s picture

Only local images are allowed.
I would like to add that switch at this point. to enable / disable display of that paragraph, and if this is possible then import some content and map those respectively in the same manner.

rakesh.gectcr’s picture

You need to use a field collection module.

https://www.drupal.org/project/field_collection

You need to create one long text field and and on/off publish there.

Then you need to get in you content type with unlimited values.

---
Kind regards,

Thank you,
Rakesh James

arebacollins’s picture

Thanks @Rakesh, This solves one problem, creates another though. It seems feeds doesn't work with field collection...

arebacollins’s picture

I really don't need it to be fancy, all I need is a switch to make it invisible, or not. and the ability to update it on feed import.