-
AuthorPosts
-
stazzy Friend
stazzy
- Join date:
- September 2014
- Posts:
- 375
- Downloads:
- 34
- Uploads:
- 65
- Thanks:
- 36
- Thanked:
- 3 times in 1 posts
August 10, 2015 at 7:41 am #659494Morning admin. I noticed if i remove more news from my featured news, my banner 1 module will not work any longer. Asin any image there will disappear. view pic.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 11, 2015 at 7:43 am #659788It’s very hard to suggest the solution for you, let me know which file did you change and pm me URL of your site, admin login and FTP account, I will check it directly on your site.
stazzy Friendstazzy
- Join date:
- September 2014
- Posts:
- 375
- Downloads:
- 34
- Uploads:
- 65
- Thanks:
- 36
- Thanked:
- 3 times in 1 posts
August 12, 2015 at 4:49 am #660069Sent to your inbox sir. Thanks.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 13, 2015 at 2:40 am #660682<em>@stazzy 487044 wrote:</em><blockquote>Sent to your inbox sir. Thanks.</blockquote>
Look at the screenshot here, you will see the module in banner-1 position is working fine
banner-1 position doesn’t have any constraints to the number of articles show there. What you need to make sure is:
+ Module which is assigned to banner-1 position always enabled
+ Clear cache from Admin area from System > Clear Cache
stazzy Friendstazzy
- Join date:
- September 2014
- Posts:
- 375
- Downloads:
- 34
- Uploads:
- 65
- Thanks:
- 36
- Thanked:
- 3 times in 1 posts
August 13, 2015 at 6:05 am #660721Sir you dont get me. REMOVE THE MORE NEWS FEATURED ARTICLE ABOVE THE LATEST/MOST READ AND CLEAR CACHE, U LL SEE BOTH THE MORE NEWS FEATURED ARTICLE AND THE LATEST/MOST READ WILL NOT SHOW ANYMORE.
stazzy Friendstazzy
- Join date:
- September 2014
- Posts:
- 375
- Downloads:
- 34
- Uploads:
- 65
- Thanks:
- 36
- Thanked:
- 3 times in 1 posts
August 13, 2015 at 6:05 am #745329Sir you dont get me. REMOVE THE MORE NEWS FEATURED ARTICLE ABOVE THE LATEST/MOST READ AND CLEAR CACHE, U LL SEE BOTH THE MORE NEWS FEATURED ARTICLE AND THE LATEST/MOST READ WILL NOT SHOW ANYMORE.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 14, 2015 at 8:50 am #661101I fixed the problem directly on your site.
Open templates/ja_teline_v/acm/news-featured/tmpl/style-1.php file
find and change
<?php if (count($links)): ?>
<?php
$aparams->set('show_intro', 0);
$aparams->set('show_readmore', 0);
$aparams->set('show_category', $aparams->get('show_link_category', $show_category));
$aparams->set('show_hits', $aparams->get('show_link_hits', $show_hits));
$aparams->set('show_author', $aparams->get('show_link_author', $show_author));
$aparams->set('show_publish_date', $aparams->get('show_link_publish_date', $show_publish_date));
$aparams->set('block_position', $aparams->get('link_block_position', $block_position));
?><div class="col col-md-4 magazine-featured-links">
<?php if ($show_block_links_title) : ?>
<div class="magazine-section-heading">
<h4 class="line-head"><?php echo $block_links_title; ?></h4>
</div>
<?php endif; ?>
<!-- Links -->
<div class="magazine-links">
<?php foreach ($links as $item) : ?>
<?php echo JLayoutHelper::render('joomla.content.link.default', array('item' => $item, 'params' => $aparams)); ?>
<?php endforeach; ?>
</div>
<!-- // Links --><!-- Banner -->
<div class="banner">
<?php
$document = JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$position = "banner-1";
$options = array('style' => 'T3xhtml');
echo $renderer->render($position, $options, null);
?>
</div>
<!-- // Banner -->
<?php endif ?>
</div>
<!-- //Right Column -->
to
<?php
$document = JFactory::getDocument();
if (count($links) || $document->countModules ('banner-1')): ?>
<?php
$aparams->set('show_intro', 0);
$aparams->set('show_readmore', 0);
$aparams->set('show_category', $aparams->get('show_link_category', $show_category));
$aparams->set('show_hits', $aparams->get('show_link_hits', $show_hits));
$aparams->set('show_author', $aparams->get('show_link_author', $show_author));
$aparams->set('show_publish_date', $aparams->get('show_link_publish_date', $show_publish_date));
$aparams->set('block_position', $aparams->get('link_block_position', $block_position));
?><div class="col col-md-4 magazine-featured-links">
<?php if ($show_block_links_title) : ?>
<div class="magazine-section-heading">
<h4 class="line-head"><?php echo $block_links_title; ?></h4>
</div>
<?php endif; ?>
<!-- Links -->
<?php if (count($links)): ?>
<div class="magazine-links">
<?php foreach ($links as $item) : ?>
<?php echo JLayoutHelper::render('joomla.content.link.default', array('item' => $item, 'params' => $aparams)); ?>
<?php endforeach; ?>
</div>
<!-- // Links -->
<?php endif; ?><?php
if ($document->countModules ('banner-1')): ?>
<!-- Banner -->
<div class="banner">
<?php$renderer = $document->loadRenderer('modules');
$position = "banner-1";
$options = array('style' => 'T3xhtml');
echo $renderer->render($position, $options, null);
?>
</div>
<?php endif; ?>
<!-- // Banner -->
<?php endif; ?>
</div>
<!-- //Right Column -->You can check it again let me know if it helps
2 users say Thank You to Ninja Lead for this useful post
fbernardello Friendfbernardello
- Join date:
- February 2015
- Posts:
- 287
- Downloads:
- 16
- Uploads:
- 35
- Thanks:
- 51
- Thanked:
- 2 times in 2 posts
August 14, 2015 at 3:43 pm #661697Dear @ninja-Lead,
thank you so much! This code solves the problem!
I have an open task, and also a support ticket open for the same reason since one month.Please, remember to include the code into the next JACM release!
Regards,
Federico -
AuthorPosts
This topic contains 10 replies, has 3 voices, and was last updated by stazzy 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum