1. power87
  2. Commercial Templates
  3. Wednesday, 04 June 2014
  4.  Subscribe via email
Hi guys,

some time ago i bought the template j51_endeavour.
Now i have a problem to use the {loadposition xxx} command to add an module.

Some modules are working and some not, specially i want to have this module:
http://www.wdmtech.com/commercial-module/mod_hex_google_chart.zip

I tried the loadposition command with the standard template on a fresh Joomla 2.5.20 installtion, everything is fine, when i change the template to j51_endeavour the module does not load - all i can see is the title of the module but not the content.

Maybe you can update the one or the other line in the template files

Thanks
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest the 'Modules Anywhere' extension which is a common solution to any loadposition issues...

http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/embed-a-include/6402

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
already tried this extension without success :/
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
any other ideas?
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Is the issue present when one of the default Joomla templates is enabled?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
i am trying the whole thing on a fresh Joomla 2.5.20 installtion.
With the standard template is everything fine, when i switch to your template i cant see the content of the module but the module title is viewable.

Its 100% reproducable, i guess its a small codebug or a javascript conflict but i am not a programmer so i cant solve it by myself.
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

The issue appears to be related to some of the changes you have made to the templates index.php. Reverting everything in your templates index.php up to the closing
</head>
to the template original resolves the issue. Did you notice this issue appearing when making any particular changes to your template index.php?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

thx i took a deeper look to the head area and was able to find the line.

$document->_script = preg_replace('window\.addEvent\(\'domready\',\s*function\(\)\s*{\s*\$\$\(\'.hasTip\'\).each\(function\(el\)\s*{\s*var\s*title\s*=\s*el.get\(\'title\'\);\s*if\s*\(title\)\s*{\s*var\s*parts\s*=\s*title.split\(\'::\',\s*2\);\s*el.store\(\'tip:title\',\s*parts\[0\]\);\s*el.store\(\'tip:text\',\s*parts\[1\]\);\s*}\s*}\);\s*var\s*JTooltips\s*=\s*new\s*Tips\(\$\$\(\'.hasTip\'\),\s*{\s*maxTitleChars:\s*50,\s*fixed:\s*false}\);\s*}\);', '', $document->_script);


I used this line to remove a part of code which ends in a console error cause of mootools, sadly this line also removed the Google Charts code.

Maybe someone can help me to modify the code to keep the following lines:

<s-cript type="text/j-avascript">
if(typeof google !== "undefined") google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart180);
function drawChart180() {
var data = google.visualization.arrayToDataTable([["Task", "Value"],["Bolivia", 5],[" Ecuador", 5],[" Madagascar", 8],[" Guinea", 12],["Rwanda", 16],["Average", 21]]);
var options = {width: 400,height: 500,pieSliceText:"label",tooltip: {text: "percentage", isHtml: "1"},titleTextStyle: {color: "#ff9900", fontSize: "16"},title: "test",legend: {position: "right"},backgroundColor: {fill: "transparent",stroke: "#666"},fontSize: "12",fontName: "Arial"};
var chart = new google.visualization.PieChart(document.getElementById("hex_chart_div_180"));
chart.draw(data, options);
}
</script>
  1. more than a month ago
  2. Commercial Templates
  3. # 8
  • Page :
  • 1


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

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok