1. piotrwaz
  2. Commercial Templates
  3. Thursday, 06 February 2014
  4.  Subscribe via email
Hallo,
I want to add a weather widget, I have the code from the manufacturer:
<div id="tp-widget-default" data-widget="default/polska/podkarpackie/lubaczow">
<div id="tp-widget-default-beam">
<a id="tp-widget-default-flink" href="http://www.twojapogoda.pl/polska/podkarpackie/lubaczow"; target="_blank" title="Lubaczów - prognoza pogody" data-ga="#utm_source=3days&utm_medium=forecast&utm_campaign=widget-free">Pogoda Lubaczów</a><span> z serwisu</span>
</div>
<s-cript type="text/j-avascript">
(function(d, t, i) {
if (d.getElementById(i)) return;
var f = d.getElementsByTagName(t)[0], js = d.createElement(t);
js.id = i; js.src = 'http://www.twojapogoda.pl/widget/main.js';
f.parentNode.appendChild(js);
}(document, 'script', 'tp-widget'));
</script>
</div>

But I have no reason, where to paste it. Is it possible at all?
Can you help me?
Best regards
Piotr W.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

One option would be to add the code to a 'Custom HTML' module (Extensions -> Module Manager -> New -> Custom HTML). Ensure to enable the CodeMirror editor in your Global Configuration before creating the module as the default WYSIWYG editor may edit/clean your code on save.

Failing that I would suggest contacting the extension developer on how best to implement the widget.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
It works great :) Thx :)
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!