This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

add image field to rss views Drupal 8

Hi, 

I would like to add an image field which will be url to the image in my rss views however I only get these options when clicked on fields | settings:

Title field, link field, description field, creator field, publication date field. 

I also tried using this patch - https://www.drupal.org/project/drupal/issues/2511878 but no luck. 

and tried to create a field in RSSFields.php but again no luck. 

Does anyone have any other better way?

Allow off-canvas dialog to be rendered on the left of the page

Hi,

this is my current code for off_canvas. It block on the right side of the page(off-canvas), is there a way to open it on the left of the page?

Entity with composite key

Hello,

In my site, I let my Users to redeem coupons from a list of available coupons stored in a database table.

I would like to know what is a good way to implement this.

In a DB usually you will have a table like user_redemption to store the user_id and coupon_id as a composite key.

How would you do that in Drupal 8?

Should I create two custom Entities: Redemption, Coupon? And then use Field Definition of 'entity_reference' to link them?

Also I will have a large amount of coupons, what is a good way to insert them to my entity tables?

drupal 8: having multiple value for a custom field

Hi every body. We need to create a custom field that has 3 parts: field label that static, field type that is Taxonomy terms and field value that is input string. How we can create this kind of field?

Edit option for content displayed on custom page

Hi,

I have a custom module that creates a custom page with some content. I need to have an edit button next to the content being displayed so that the people assigned the role of Editor is able to edit it. I have looked for online examples but found nothing helpful. 

Could you let me know how can I do it?

Thanks,

LindedIn Integration for Drupal7

We have a requirement to integrate linkedin and show the posts in drupal from a particular linkedin page.

I followed this https://docs.microsoft.com/en-us/linkedin/shared/authentication/client-credentials-flow?context=linkedin/context to get the access token but it is not working. 

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions