papagino Posted November 18 Posted November 18 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?
0 the.rampage.rado Posted November 18 Posted November 18 In general you use CMS similarly as a blog - why don't you simply use thirty bees blog and share those posts?
0 datakick Posted November 18 Posted November 18 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 register selected hook in install section implement hook handler hookDisplayCMSTop -- almost copy of existing hook, only different way to resolve url for cms page
0 papagino Posted November 18 Author Posted November 18 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 papagino Posted November 18 Author Posted November 18 (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 register selected hook in install section 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: Edited November 18 by papagino
0 papagino Posted November 18 Author Posted November 18 ... This would be great to implement this feature for CMS, Bees Blog, HTML Block or any other content related modules...
0 papagino Posted November 19 Author Posted November 19 (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 November 19 by papagino 1
Question
papagino
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now