Hi,

Looks like a great module as I have nodes that have downloads on them that people can follow for future updates.

I have selected the node type 'Firmware', set the emails up and saved it.

Now I can't see this on the node display where a registered user should be able to see it and click on 'Follow'. I have checked manage display and also blocks but can't find it anywhere.

How does it show on the front end for registered users to use it?

Martin

Comments

effortDee created an issue. See original summary.

johnsicili’s picture

It appears there is a block and or a twig file to display it. However, the documentation makes it seem like it should appear on the entity types selected.

johnsicili’s picture

How can this be rendered in a custom twig file?

ajaynimbolkar’s picture

Hi,

To Display Follow Button you need to go "Block layout" section and click "Place block" button any of the region and select "Follow unfollow block" so that it will display on node.

If you want render block in template just pass as argument in hook_theme.

Thanks,
Ajay

effortdee’s picture

Hi Ajay,

There is no block present in 'Place Block' section of block layouts. So I can't add anything to the area I want.

Module is installed and activated.

iyyappan.govind’s picture

StatusFileSize
new2.94 KB

Block is not available because Plugin folder name, First letter of the folder name should be capital(Plugin). Please find the patch.

japo32’s picture

iyyappan.govind, you missed adding the new directory.

Here's the patch that does the rename. It works.

  • ajayNimbolkar committed 545b486 on 8.x-1.x
    Issue #2930246 ajaynImbolkar:How To Make It Show On Node?
    
  • ajayNimbolkar committed b82846e on 8.x-1.x
    Issue #2930246 ajaynImbolkar:How To Make It Show On Node?
    
ajaynimbolkar’s picture

Hi,

I have change folder name and push code in new release follow_unfollow 8.x-1.1

Thanks,
Ajay

ajaynimbolkar’s picture

Status: Active » Closed (works as designed)
effortdee’s picture

So this update will come through the modules > updates section of the site in the next few days?

japo32’s picture

It would be nice to give iyyappan.govind some credit on the commit since he did discover the bug and come up with the solution, IMHO.

effortdee’s picture

Thank you iyyappan.govind and japo32 for your work on this!!

iyyappan.govind’s picture

@effortDee, You are Welcome!!

Thanks
Iyyappan.Govind

squinternata’s picture

for me does not work the 8.1.1 the block is not shown what i am wrong? I see the block i put in the content section I chose the content type and nothing