-
AuthorPosts
-
Tech-xml Friend
Tech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
November 12, 2014 at 1:29 am #202649JACM statistical style 3 is not working. Use the same parameters of the demo module.
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
November 12, 2014 at 4:25 am #554928@insofticursos, Thank you for checking out our product!
Seem that there is problem with the JACM statistical style 3, you can open file templatesuberacmstatisticstmplstyle-3.php and replace
<?php echo $helper->get ('stats-count', $i) ?>
with
<?php echo $helper->get ('data.stats-count', $i) ?>
Hope this helps.
1 user says Thank You to Css Magician for this useful post
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
November 29, 2014 at 9:03 pm #557016The problem turned
I upgraded to 2.2 Uber And JCM to 2.1
I applied the changes of the previous post, but the problem has not resolved
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 1, 2014 at 8:33 am #557161@insofticursos: I checked templates/uber/acm/statistics/tmpl/style-3.php file and see it has been upgraded with fix from @Css Magician
Can you give me the screenshot what you are trying to achieve. Which area are you referring to on your site? I might be able to help you out then.
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 2, 2014 at 5:28 am #557322<em>@insofticursos 455650 wrote:</em><blockquote>@Ninja Lead I sent a message to the site data:</blockquote>
I helped you to config “Marcos Domicio – Statistics Style 3” module with Style 3 and you can see it on blog page, see the screenshot
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 3, 2014 at 7:01 am #557494@insofticursos: Where did you define “poexpautor” position on your site? You need to change style in that position
From
<jdoc:include type="modules" name="poexpautor" style="xhtml" />
To
<jdoc:include type="modules" name="poexpautor" style="T3section" />
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
December 3, 2014 at 12:02 pm #557549I created this position by typing the name in the module administration.
How do I add this position?
It would be the templateDetails.xml?Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 5, 2014 at 4:46 am #557633poexpautor position is already on your site ,I spent a lot time to find it but I could not.
You can see the screenshot here
Did you know where was it define on your site?
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
December 7, 2014 at 8:21 pm #557778@ninja Lead – I can not publish the module in full-width position because it displays the end of the content.
I need this module is displayed in the middle of content, so I’m using the parameter; {loadposition poexpautor} to call the module.The loadposition position was created when I edited the module. Do not create any position in tempalte.
The solution is apena make this change;
<jdoc: include type = “modules” name = “poexpautor” style = “T3section” />Where do it?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 8, 2014 at 3:39 am #557799The format {loadposition poexpautor} could not support to load database from Statistics Style 3 under JoomlArt Advanced Custom Module.
I fixed the problem between style = “T3section” and style = “xhtml” directly on your site. Now you can see poexpautor positon is working fine with Statistics Style 3.
You can check it again, let me know if it helps
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 9, 2014 at 1:26 am #557926<em>@insofticursos 456544 wrote:</em><blockquote>Solved! Thank @ninja Lead.
I would like to know which files you edited if I need in the future to update the template Uber.</blockquote>
I made some changes on your site as below:
– In the file: templates/system/html/modules.php , find and remove
function modChrome_xhtml($module, &$params, &$attribs)
{
if (!empty ($module->content)) : ?>
<div class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
<?php if ((bool) $module->showtitle) : ?>
<h3><?php echo $module->title; ?></h3>
<?php endif; ?>
<?php echo $module->content; ?>
</div>
<?php endif;
}
– In templates/uber/html/modules.php file, add new this rule
function modChrome_xhtml($module, &$params, &$attribs)
{
$badge = preg_match ('/badge/', $params->get('moduleclass_sfx'))? '<span class="badge"> </span>' : '';
$moduleTag = htmlspecialchars($params->get('module_tag', 'div'));
$headerTag = htmlspecialchars($params->get('header_tag', 'h3'));
$headerClass = $params->get('header_class');
$bootstrapSize = $params->get('bootstrap_size');
$moduleClass = !empty($bootstrapSize) ? ' col-sm-' . (int) $bootstrapSize . '' : '';
$moduleClassSfx = htmlspecialchars($params->get('moduleclass_sfx'));
$moduleIntro = $params->get('module-intro');
$bgImage = $params->get('module-background');
$bgImageSize = $params->get('module-background-size');
$bgImagePo = $params->get('module-background-position','center center');
$moduleBg = $bgImage ? 'style="background-image: url(' . JUri::base(true) . '/' . $bgImage . '); background-repeat: no-repeat; background-position: '.$bgImagePo.'; background-size: '.$bgImageSize.'"' : '';if (!empty ($module->content)) {
$html = "<{$moduleTag} class="section{$moduleClassSfx} {$moduleClass}" id="section-{$module->id}" " . $moduleBg . ">" .
"" . $badge;$html .= "<div class="section-ct">{$module->content}</div></{$moduleTag}>";
echo $html;
}
}
1 user says Thank You to Ninja Lead for this useful post
AuthorPostsThis topic contains 20 replies, has 3 voices, and was last updated by Ninja Lead 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum