Jump to content

[SOLVED] HTML box problem


Recommended Posts

Hello,

 

I have a little issue with the HTML Box (free version) - http://mypresta.eu/modules/front-office-features/html-box.html

 

I have inserted some code which displays fine:

<div id="fbpluginfg"><iframe width="320" height="240" style="border: 1px solid #d9d9d9; overflow: hidden; width: 100%; height: 238px;" src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Ffightgeardk&width=270&height=290&colorscheme=light&show_faces=true&header=true&stream=false&show_border=false" scrolling="no" frameborder="0" allowtransparency="true"></iframe></div>
<div class="htmlbox">Sikker betaling <img src="http://fightgear.dk/img/betalingskort.png" /></div>
<div class="htmlbox">Hurtig levering <img src="http://fightgear.dk/img/levering.png" /></div>

I want to also add a Trustpilot Box - when I add this code it doesn't display:

<div class="tp_-_box" data-tp-settings="domainId:7976948,fontColor:656565,bgColor:fbfbfb,borderRadius:0,borderColor:d9d9d9,showComplementaryText:False,showUserImage:False,width:270,numOfReviews:1,height:0">
    <a href="https://www.trustpilot.dk/review/fightgear.dk" rel="nofollow" hidden>Fightgear.dk Anmeldelser</a>
</div>
<script type="text/javascript">
    (function () { var a = "https:" == document.location.protocol ? "https://s.trustpilot.com" : "http://s.trustpilot.com", b = document.createElement("script"); b.type = "text/javascript"; b.async = true; b.src = a + "/tpelements/tp_elements_all.js"; var c = document.getElementsByTagName("script")[0]; c.parentNode.insertBefore(b, c) })();
</script>

I have tried adding the same code to the "TM HTML content" module from TemplateMonster which came with my theme, and it works fine there. But the problem with that module, is that it can only display the content on the homepage - and I want it to always be there, no matter where you are on the site.

 

I don't know why it doesn't work with Vekias HTML box module - do you have any ideas?

 

Link to comment
Share on other sites

you added also trustpilot code to html box ?

 

Yes, but when I do that it doesn't display.

 

Try to look in the CSS code now (above the FB plugin box) - I have added the code to your HTML box module now - it doesn't display, but you can see some CSS code still.

Link to comment
Share on other sites

thanks

 

on module configuration page, when you check the textbox with code, is there code of trustpilot? if it is, is it the same as code you pasted or somehow it is different?

 

It is exactly the same code as the other.

 

i've got it it's because of CDATA code

wait a second i will release upgrade :-)

 

Perfect! Thanks a lot :)

Link to comment
Share on other sites

  • 1 month later...

HtmlBox module Help please!


 


I can seem to be able to enable this module, it was enabled and working with a code that pulls my rss feeds into it and displays on home page


 


the Feed stop working so i disabled the module until the feed was back, i tried to re-enable it but it will not. I have tried to remove it and re-install, i have tried different browsers, cleared cache..... nothing 


 


 


any ideas please

Link to comment
Share on other sites

  • 2 years later...

Hi, I've tried to use this HTML box to insert code and any which way I use it -Google insights still indicated that it is not working.

I've been going around for days and day. I've uninstalled and reinstalled and still will not work.

Can someone help me with this???

 

https://www.Endlesshairextensions.com

 

The code I'm trying to defer is:

 

https://www.endlesshairextensions.com/themes/default-bootstrap/cache/v_7_fbad36c675d8a59bdde5ede7f495470c.js

 

https://www.simplify.com/commerce/v1/simplify.js

 

https://connect.nosto.com/include/prestashop-30bed35c

 

Thank you!!!!

J

 

Link to comment
Share on other sites

  • 10 months later...

I also have problem with the HTML Box.  It works OK as a function, but it's positioned quite off the grid. I mean it doesn't sit in line with other columns in the footer. When I try change position between other CMS blocks, it just pushes them all down. It looks very weird /  off , so can't use it in the footer :-(

anybody know hot to fix this?

footer.png

Link to comment
Share on other sites

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...