Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi Maciej!
The module is magnificent in its simplicity. Unfortunately, when the Node is displayed I need some more parameters (content_type and content_ids).
Can you add them?
I even prepared a code. check the attachment
Regards,
Marcin
Comment | File | Size | Author |
---|---|---|---|
#2 | ViewContent-parameters.diff | 1.45 KB | Marcin Maruszewski |
Comments
Comment #2
Marcin Maruszewski CreditAttribution: Marcin Maruszewski commentedI'm sorry, I've made a mistake.
The content_type parameter should be 'product' or 'product_group'. In this case of course It can be only 'product'.
Also content_ids parameter can be a string, so I set it to node Id but not in array.
Please, see attached diff file.
Best regards,
Marcin
Comment #4
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedMerged into 7.x-1.x. Thanks Marcin!
Comment #5
Marcin Maruszewski CreditAttribution: Marcin Maruszewski commentedThanks!