Skip to main content

Drupal Answers Weekly Newsletter - Wednesday, April 27, 2016

Drupal Answers Weekly Newsletter

Top new questions this week:

How can I programatically prevent users from saving the same entity twice in a row?

My server sometimes gets overloaded, and sometimes people press the "Save" button on an entity creation page several times, which results in multiple versions of the same entity being created. So, I ...

7 database entities hooks  
asked by Patrick Kenny 5 votes
answered by tenken 3 votes

What version of jQuery does Drupal 8 use?

How can I find out what version of jQuery a particular release of Drupal 8 core is using?

8 javascript  
asked by duckx 3 votes
answered by mradcliffe 5 votes

How to execute a function every 3 months?

What's the proper way to execute a function every 3 months? Watchdog variables don't seem to be available after a certain time. I could create another table to insert the execute function date to ...

7 cron watchdog  
asked by Alex js 3 votes
answered by Shawn Conn 2 votes

Related Content View with multiple Entity Reference Fields

I am trying to create a View to display related content based on shared taxonomy terms from multiple vocabularies. For example: I have two content types called Car and Parts. I have two ...

views taxonomy entities views-contextual-filters views-relationships  
asked by Mark Anderson 3 votes
answered by Daniel Harper 0 votes

Customize the HTML of a link field from a custom theme

I've a Link field named field_home_link, attached to a Content Type named Home, and I'm trying to customize how it is rendered as HTML from inside a custom theme. Instead of the default generated ...

theming 8 links  
asked by Andrea 3 votes
answered by Rees 0 votes

Supressing "Undefined variable: variables in module_block_view()" without hiding the notice

I tried to create a simple custom block inside a custom module. there is a notice that inform me about undefined variable, but the block rendered properly. I am not sure where the mistake in the code ...

7 blocks hooks  
asked by Cerilla 3 votes
answered by kiamlaluno 2 votes

How can I embed a View inside a content of a node?

How can I embed a view inside a content of a node in Drupal 8? I found something similar, for example in the question about "How do I embed a view inside a node?" or the Viewfield module, but it is ...

views nodes 8 node-reference  
asked by Andrea 3 votes
answered by No Sssweat 6 votes

Greatest hits from previous weeks:

Drupal 7.20 Image Styles return a url with Access Denied

I'm using the insert module to allow users to insert images with a specific Image Style into a page. After upgrading to Drupal 7.20, the images are not stored in the files/styles folders, and the ...

image-styles  
asked by Evan Johnson 17 votes
answered by AjitS 30 votes

Dynamic select list in the form (dependent dropdown)

I'm using Drupal seven. I want to make the options in a select list be dependent on the value chosen in another select list in a form. I'm sure this has been asked many times before, but I am having ...

7 ajax forms  
asked by Ben 20 votes
answered by jordojuice 23 votes

Can you answer these?

Why doesn't Page Title pull [node:title] in to all pages

In the Metatags section of each page, the [node:title] field is supposed to pull the data into the Page Title. This works for many articles on our site, but doesn't for and many seemingly random ...

meta-tags auto-node-title  
asked by Kim L 2 votes

How do I set up Entity background for Paragraph Items?

I am trying to set up the Entity background module to show a fullwidth image in a Paragraph Item. However as soon as I enable „Enable entity background for my paragraph bundle I am getting the ...

image-field  
asked by howdytom 1 vote

Render comments in a custom Twig template

I rewrite the article tpl page--article.html.twig and I want to render the comments and the comments form. I add the comments in the content type fields and try to render with {{ node.comment | ...

8 comments  
asked by javiregpa 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...