Jump to content
thirty bees forum
  • 0

Is there a way to have "Block Facebook Share" button to also appear on CMS pages other than just on product pages?


Question

Posted

Hey Y'all,

Is there a way to have "Block Facebook Share" button to also appear on CMS pages other than just on product pages?

Right now, the "Share on Facebook!" is displayed on Product pages but I would also like to have it displayed on CMS pages.

Is there a way to do this?

6 answers to this question

Recommended Posts

  • 0
Posted

No, "Block Facebook Share" works only on product page.

It should be simple enough to modify the module to work with cms hooks (displayCMSTop or displayCMSBelow), as the module does almost nothing.

You should

  1. register selected hook in install section
  2. implement hook handler hookDisplayCMSTop -- almost copy of existing hook, only different way to resolve url for cms page

 

 

  • 0
Posted
23 minutes ago, the.rampage.rado said:

In general you use CMS similarly as a blog - why don't you simply use thirty bees blog and share those posts?

Thanks for your reply, I do have a blog and share its content on facebook.

However, I would like to have visitors/customers to be able to share CMS content on their facebook page to bring more traffic to my site...

Cheers

  • 0
Posted (edited)
29 minutes ago, datakick said:

No, "Block Facebook Share" works only on product page.

It should be simple enough to modify the module to work with cms hooks (displayCMSTop or displayCMSBelow), as the module does almost nothing.

You should

  1. register selected hook in install section
  2. implement hook handler hookDisplayCMSTop -- almost copy of existing hook, only different way to resolve url for cms page

 

 

Thanks for  your reply, the description for the "Block Facebook Share v2.0.2 - by thirty bees" is as follow:

Allows customers to share products or content on Facebook.

I think it would be a good idea for thirtybees developers to maybe make this module work on CMS pages and other contents, better yet, would be to have an option on the CMS creation page to choose to have or not the option for the "Block Facebook Share" for this particular CMS (Whenever the Block Facebook Share" module is unable.

This would be a good way to increase traffic to our sites by creating back-links to it.

Similar to this:

image.png.7f09a256cf70a6a37f39c07eed00aa21.png

 

Edited by papagino
  • 0
Posted (edited)

@datakick

OK, I noticed that the module "Block Facebook Share" was just updated to v2.1.0 today.

I see that "cms.tpl" is listed under blocksharefb/views/templates/hook/.

However, if I try to transplant the module "Block Facebook Share" to this cms hook, it is not seen in the drop down list under "Transplant to" using Thirtybees "Transplant a module". I only see these 3 options:

displayleftColumnProduct
displayProductButtons
diplayRightColumnProduct

Is there something else that I need to do to be able to use the cms hook for this module?

Cheers,

********

EDIT

Never mind, I tried uninstalling the module, then reinstalling it, and now the hook for CMS is there...

 

Edited by papagino
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...