Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By wesley.peres on
Hi, guys.
I have a problem with insert block, when I insert the token [block:views=listar_clientes] into node content for CKeditor, simply not show views or block.
Already enable insert block in format text into config page, but simply not show.
Sorry, I am learning english and I do not know write corretly.
Thank you so much.
Comments
Just tried it on Simplytest
Just tried it on Simplytest.me and it works for system blocks for me, so if "Insert block" replaces the placeholder [block:views=listar_clientes] (which is btw technically not a token) it must have to do with the View I suppose, not having the right context or whatever.
You could also try Panels or Display Suite, both modules give you the possibility to insert blocks into the normal page content.
I like cookies!
Thank you so much
Thanks for helping me.
I discovered I had select the option source code in the ckeditor, insert token [block:views=listar_clientes] and save content, because if I insert directly in html, It escape the html code and the token not work.
Once again, thank you.