how to display large PDF files

Hi, I was running Drupal 7 with the PDF module to display PDF files. It worked very well with any size of PDF file.

No I have moved to Drupal 8 and Im working with Embedded Google Docs Viewer module. I am having trouble displaying large PDF files. I get an error message saying that the file is too large to generate a preview. PDF files in question are larger than 20Mb.

Any inputs on how to tackle this are really appreciated.

openid 2.0 module for drupal 8

Is there an openID 2.0 (not to be mistaken with openID connect) equivalent module for drupal 8? it used to be part of core for drupal 7. i was wondering why it didn't make it to drupal 8 core?

What would I use to get content type please

HI

I am using the following code to change the autocomplete text displayed in the results returned from an entity reference

$entity_type_id returns node, how would I return the content type please (e.g. Classes) I ve read loads but can't find what I am looking for.

Thanks

protected function getLabel($entity_id, $entity_type_id, $label) {

$entity = \Drupal::entityTypeManager()->getStorage($entity_type_id)->load($entity_id);

Configure queue for mailing

Hi,

My hoster told me to send only 300 mail by hours for avoiding spam.

So I decided to create cron job, and the cron will start every hours.

So I need to tell to the cron :

On each run only process 300 items from "email_processor". How Can I do that ?

here is my function to create mail item :

Is it possible to hide a field in views based on a criteria?

Hi

I have a quick question around the global: custom text in views

I have a global: custom text in views that I'm using to rewrite some values and I want to hide one of my fields only if the value matches the {{ raw_arguments.nid }} (This is my contextual filter criteria too)

Is this kind of thing possible in views, or is the only way to do this through a custom theme/module

Thanks

Drupal 8 batch process in form with ajax submit button.

How can I run Drupal 8 batch process in Drupal form triggered by ajax submit button?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x