Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi all,
I've a method of a custom module that should read a pdf file in the private file system (private://adir/226/fincav.pdf) and then return the file.
I can get the file data in this way:
$file = file_load($ifid);
and, given the file URI, that I know, I should read the file and return it as pdf download.
Hi,
I am using drupal 8, clean (default) installation.
What I want is fairly simple:
I created two content types: "Course" and "Specialization", each with some specific fields.
I added "Specialization" is an entity-reference in content type "Course".
When I create content "Course", I would like to display the content-type "Specialization" as a sub-form within the main-form of content-type "Course".
Instead of showing the default select/search field.
I have done extensive research, found a dedicated D7 module for that, detailed instructions of how to do that with VBO in D7 (partly included into D8 core but apparently not the part I need) and a lot of instructions on how to do that using brute SQL force.
Am I missing something obvious or is brute SQL the only way to do that in D8??
Hi, this is my very first drupal 8 site. I am not sure, what to write in privacy policy section if I am using shared hosting.
As far as I have searched, I came to know that, since it is shared hosting you as a website owner does not have control over the WEB SERVER LOG files which gets generated automatically by APACHE. Now, since I cannot delete those files. What should I write in my website's privacy policy regarding those Web Server Log data of users.