Karabisht Posted May 19, 2014 Share Posted May 19, 2014 have a question if it is even possible to add a Google+ badge in CMS block information?, next to facebook plugin. Since the Facebook social plugin is standard on the left side, there should surely be nice with the google+ badge on the right side too. Used the vekia's guide <link> to make a google+ badge via content box which works fine. When I try the same code in CMS block it dosent work. Anybody else besides me pushing more for Google than Facebook, how am I able to put the google code into custom CMS info block? 1 Link to comment Share on other sites More sharing options...
Karabisht Posted May 20, 2014 Author Share Posted May 20, 2014 Maybe this module would do the trick, http://mypresta.eu/modules/front-office-features/html-box-pro.html? Does it place the content inside the CMS block like "Facebook Social Plugin"? Link to comment Share on other sites More sharing options...
waldiPL Posted May 20, 2014 Share Posted May 20, 2014 yeah it will do the trick. check this page: scroll page down, there you can find 3 blocks with facebook, gogole+ badge, and twitter everything based on this addon 1 Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2014 Share Posted May 20, 2014 hello due to the fact that im an authot of this addon i can confirm :-) 1 Link to comment Share on other sites More sharing options...
Karabisht Posted May 20, 2014 Author Share Posted May 20, 2014 Lovely! Just like how I want it to look like! Thanks for the confirmation. Vekia. Your knowledge in this is highly appreciated. waldiPL you are the owner of the page you link to? I see more things that seems very useful, the footer is it a module or custom work? Link to comment Share on other sites More sharing options...
waldiPL Posted May 20, 2014 Share Posted May 20, 2014 no, im not an owner of this website.i just helped a little there when owner bought several modules from vekia (vekia hired me for this work)as far as i remember this what you see it's a part of other module named "bfooter"but you can achieve this particular effect with html box toopersonally i created almost everything with this module great and useful tool 1 Link to comment Share on other sites More sharing options...
Karabisht Posted May 20, 2014 Author Share Posted May 20, 2014 Module seems to be good. but for a beginner like me, I hope it will not create too many headaches. A quick look at the module and I understand that I need to be more comfortable with prestashop coding to use the module at it max. I do see custom hooks, and what I understand I need to add the line in the *.tpl file but how do I secure which tpl file is it the CMS info block? I certainly do not want to destroy anything in the store's structure (if thats even possible) and how do I know where to put the " {Hook::exec(' " in the *.tpl file. For me its confusing just to see the coding of some *.tpl files. Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2014 Share Posted May 20, 2014 hello you don't have to use custom hooks. you can achieve it without custom hooks. you can use default hooks in prestashop, in this case you can use displayFooter hooks to achieve particular effect. let me know what exactly you want to add and where, i will prepare code for you :-) 1 Link to comment Share on other sites More sharing options...
Karabisht Posted May 20, 2014 Author Share Posted May 20, 2014 (edited) hello you don't have to use custom hooks. you can achieve it without custom hooks. you can use default hooks in prestashop, in this case you can use displayFooter hooks to achieve particular effect. let me know what exactly you want to add and where, i will prepare code for you :-) I like it to look something like this. Do you need the google code? Regards, thank you for helping me out. Edited May 20, 2014 by Karabisht (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 21, 2014 Share Posted May 21, 2014 ok, so the easiest thing is: disable these original contents (CUSTOM CMS INFORMATION BLOCK - just disable this module!), and in html block pro module, in dispalyHome hook create two boxes. first one with code: <div id="cmsinfo_block"> <div class="col-xs-6"><ul> <li><em class="icon-truck" id="icon-truck"></em> <div class="type-text"> <h3>Lorem Ipsum</h3> <p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p> </div> </li> <li><em class="icon-phone" id="icon-phone"></em> <div class="type-text"> <h3>Dolor Sit Amet</h3> <p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p> </div> </li> <li><em class="icon-credit-card" id="icon-credit-card"></em> <div class="type-text"> <h3>Ctetur Voluptate</h3> <p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p> </div> </li> </ul></div> and second with code: <div class="col-xs-6"> YOUR GOOGLE BADGE CODE HERE </div> </div> and that's all :-) 1 Link to comment Share on other sites More sharing options...
Karabisht Posted May 22, 2014 Author Share Posted May 22, 2014 vekia - you are a [spam-filter] ! Your solution and module manage to get me exactly what I was looking for. I also discoverd lots of things with your module HTMLbox pro - what a great module ! Once again thx Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2014 Share Posted May 23, 2014 glad to hear that i could help you if you will need any other assistance with this module let me know im ready to help. always with regards, Milos Link to comment Share on other sites More sharing options...
Erkan-Erdogan Posted November 29, 2014 Share Posted November 29, 2014 (edited) When I make the second box in DisplayHome hook, it somehow goes under the facebook box instead of next to the box with truck, phone, card logo and stuff. What am i doing wrong here? im using htmlbox pro and presta 1.6 Edited November 30, 2014 by Erkan-Erdogan (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2014 Share Posted December 1, 2014 hello you have to use code with bootstrap size indicators, i mean col-sm-4 for example <div class="col-sm-4">HERE CONETNTS YOU WANT TO DISPLAY</div> Link to comment Share on other sites More sharing options...
samseifi Posted December 5, 2014 Share Posted December 5, 2014 Hi Vekia is there any way i can have them lined up in a row without coding? =( Link to comment Share on other sites More sharing options...
Recommended Posts