


Dynamically changing the href on a link with data-dialog-type = modal does not work
For reference I am working on this issue for the Focal Point module… I have a link whose href is updated dynamically using js based on a particular user interaction (moving the focal point on an image). The link may start as... read more
Rewrite markup of a field in twig template
I want to calculate dynamical a value and give it back in the markup without saving the newValue. I try this with: {% set content.field_my_field[0][‘#markup’] = newValue %} This doesn`t work! The “newValue” is given from preprocess_node in the... read more
SiteGround Hosting missing Drush
Just a note to other Drupalers. I have been looking for a new Drupal-centric host and have heard good things about SiteGround. They advertise support for Drush, which would make critical core updates, like the one we had last week, much quicker and easier. HOWEVER,... read more
Error when trying to migrate comments to a clean D8 site: What’s wrong with my .yml file?
I’m trying to migrate content from my current D7 site to a Drupal 8 installation. I’ve managed to import some of the nodes, and now I want to import the comments for those nodes. Every time I click on “run”... read more
How can show pdf preview first image?
Hope you can help me. I use drupal 8. I want pdf preview like this http://prntscr.com/j08ljo. Need uploud pdf file in node and showing just first image in front page. I check use module pdfpreview https://www.drupal.org/project/pdfpreview Have with tutorial and... read more
Can I set a serial number for each columns or row in a sequential manner?
Can I set a serial number for each column or row, in a sequential manner, from left to right, without doing it manually? I am using Content format, not Field. There is no option to add a result counter field. read more