I have a news website built on Drupal 7. I need to hide all images on this website's articles, if the articles are older, than two weeks. I believe a solution would look like one line of PHP code, that you need to add to these articles' template. The line would check a date of the article and then add probably "display:none" into styles of all images. Unfortunately, I don't know PHP. Could someone please help me with the line?
We have chosen Drupal as a solution for content management system in one of Stellantis Portal,and it's since 2017.
Now we are looking for a support from Drupal team in fixing an memory issue in Drupal web server, need to increase the memory_limit of php_value to handle the current content size.Error details below.
* Connecte[Wed Aug 31 15:28:52.533667 2022] [php7:error] [pid 25637] [client 151.171.116.54:34652] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)
I use just one Webform for all nodes, and there are quite a few of them as I present products. I add the webform the the nodes by using Context.
Is it possible to have the NID printed in the webform when the client answer? People take it for granted that I can see on what page they where when they answered, but if they don' give any reference I cant figure out what product they want info about.
The Term Reference Tree module renders a nice checkbox tree on the node admin page but renders differently on the node view page (See pic). I'm sure there is a fairly easy way to make it render identically but I can't figure out how to do it. If any of you CSS whizzes know how I would really appreciate the help.
I am attempting to migrate a site to a test site, and it is working except when I am administering but when I attempt to edit a page the page gets an overlay which prevents me from editing.
I am using ckeditor although I have disabled it and it made no difference.
I have cleared caches and tried a different browser.
Any suggestions to what I have done wrong will be appreciated.