Jump to content

Widget integration


Wim Alkmaar

Recommended Posts

<div data-action="listings/one" data-wid="Jwpv7" data-id="2165" data-width="175" data-height="300" data-count="2" data-revieworder="rdate" data-reviewcomments="20"></div>
<script>(function(d,o,j,w,m){w=d.createElement(o),m=d.getElementsByTagName(o)[0];
w.async=1;w.src=j;m.parentNode.insertBefore(w,m)
})(document,'script','//www.reviewspot.nl/components/com_jreviews_addons/widgetfactory/views/js/widget.loader.min.js');</script>



Hi,

 

I would like to add a widget for revies to my home page.

I have tried to paste it as html in the source code, also with html box. no result.

Anyone an idea?

 

Regards,

 

Wim.

 

 

Link to comment
Share on other sites

Hi Wim,

 

Use the contentbox module from contentbox.org

 

Install and go to configure page.

 

There go to 'source code' editing (sometimes there is a button 'HTML', otherwise go to Tools menu->Source code)

and copy/paste the code you added in your post above in the dialog box. Save and reload the page. (You can fine tune the hook where you want the module to be placed. It's a well coded module with many options, also able to make a 'custom-copy' on their website so you can add more modules next to each other, each separately definable. Nice!)

 

Result:

post-455771-0-39589800-1422694473_thumb.png

 

Hope this helps,

pascal

 

 

Link to comment
Share on other sites

<div data-action="listings/one" data-wid="Jwpv7" data-id="2165" data-width="175" data-height="300" data-count="2" data-revieworder="rdate" data-reviewcomments="20"></div>
<script>(function(d,o,j,w,m){w=d.createElement(o),m=d.getElementsByTagName(o)[0];
w.async=1;w.src=j;m.parentNode.insertBefore(w,m)
})(document,'script','//www.reviewspot.nl/components/com_jreviews_addons/widgetfactory/views/js/widget.loader.min.js');</script>



Hi,

 

I would like to add a widget for revies to my home page.

I have tried to paste it as html in the source code, also with html box. no result.

Anyone an idea?

 

Regards,

 

Wim.

 

 

can you share url to shop where you added this widget with html box?

i think that the problem is in fact that js scripts were moved to bottom part of your shop

Link to comment
Share on other sites

Hi Vekia,

 

Don't know why it is working now but HTML Box works.

 

Now I want to have the widget in the right position (so that it looks nice). I like to have it in or at the same line as the blockcmsinfo (where there is als the facebook plugin).

 

Is this possible?

 

Regards,

 

Wim

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