Hi,

Is there a way to add easy social links to the template manually? I have a problem where I have easy social setup to show at the top and bottom of the node. However, I have adsense blocks in my template that I want to go between the easy social links and the content. However, I can only seem to get the adsense blocks "outside" of the easy social links rather than on the "inside".

Is this possible?

Thanks for any help.

Comments

eggthing’s picture

Version: 6.x-1.4 » 7.x-2.9

Subscribe

bourne777’s picture

I am trying same thing. I need to hide the Easy Social field for render it in another place of my theme's template node.tpl

Is there a way to do this?

Thanks

lnunesbr’s picture

Status: Active » Closed (works as designed)

The easy social render was made following the recommended drupal way.

So we created extra field implementing the hook_field_extra_fields, so, it become available on Manage fields of the content type.

I suggest you to not use the easy social in your node (go to your content type edit page, and disable easy social for it), and, create a block on easy social settings, and programatically load this block on your template as follow the example.

  $block = block_load('easy_social', 'easy_social_block_1');
  $render_array = _block_get_renderable_array(_block_render_blocks(array($block)));
  print render($render_array);