-
AuthorPosts
-
November 9, 2016 at 6:42 pm #984967
the module does not catch images of the interior of the article if not the image of introducion, I need you to take photos of the body of the articles
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 9, 2016 at 7:24 pm #984971JoomlArt Advanced Custom Module
November 9, 2016 at 7:36 pm #984974I also want to put logo in the center and with black background
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 9, 2016 at 7:59 pm #984976JoomlArt Advanced Custom Module
Of course , but which module type ?
I also want to put logo in the center and with black background
Please open a new topic for this.
November 9, 2016 at 8:12 pm #984979Magazine – Featured News : style-1
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 9, 2016 at 8:48 pm #984992Magazine – Featured News : style-1
Hi there
Unfortunately what you are asking is not possible to obtain through backend module configuration , it will require a dedicated custom work to have it done as you wish , or you can try yourself editing this file
/templates/ja_teline_v/acm/news-featured/tmpl/style1.phpNovember 9, 2016 at 9:20 pm #984995But that parameters would have to change
November 9, 2016 at 9:28 pm #984997- JA Teline V Template
- Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
- @license – Copyrighted Commercial Software
- Author: J.O.O.M Solutions Co., Ltd
- Websites: http://www.joomlart.com – http://www.joomlancers.com
- This file may not be redistributed in whole or significant part.
-
*/
defined(‘_JEXEC’) or die;
$aparams = JATemplateHelper::getParams();
$aparams->loadArray($helper->toArray(true));
// get featured items
$catid = $aparams->get(‘catid’, 1);
$count_leading = $aparams->get(‘featured_leading’, 1);
$count_intro = $aparams->get(‘featured_intro’, 3);
$count_links = $aparams->get(‘featured_links’, 5);
$intro_columns = $aparams->get(‘featured_intro_columns’, 3);
$featured_count = $count_leading + $count_intro + $count_links;
$leading = $intro = $links = array();
$leading_title = $aparams->get(‘leading_title’);
$leading_auto_play = $aparams->get(‘leading_auto_play’);
$show_leading_title = $aparams->get(‘show_leading_title’);
$block_links_title = $aparams->get(‘block_links_title’);
$show_block_links_title = $aparams->get(‘show_block_links_title’);$items = JATemplateHelper::getArticles($aparams, $catid, $featured_count);
$i = 0;
foreach ($items as &$item) {if ($i < $count_leading) { $leading[] = $item; } elseif ($i < $count_leading + $count_intro) { $intro[] = $item; } else { $links[] = $item; } $i++;
}
// get global values
$show_intro = $aparams->get(‘show_intro’);
$show_category = $aparams->get(‘show_category’);
$show_readmore = $aparams->get(‘show_readmore’);
$show_hits = $aparams->get(‘show_hits’);
$show_author = $aparams->get(‘show_author’);
$show_publish_date = $aparams->get(‘show_publish_date’);
$block_position = $aparams->get(‘block_position’);
$animation_type = $aparams->get(‘animation_type’, ‘slide’);
?><div class="row style-1 magazine-featured">
<div class="col magazine-featured-items <?php echo $count_links?' col-md-8': ' col-md-12'; ?>"> <?php if ($show_leading_title) : ?> <div class="magazine-section-heading"> <h4><?php echo $leading_title; ?></h4> </div> <?php endif; ?> <?php if (count($leading)): ?> <!-- Leading --> <?php $aparams->set('show_intro', $aparams->get('show_leading_intro', $show_intro)); $aparams->set('show_category', $aparams->get('show_leading_category', $show_category)); $aparams->set('show_readmore', $aparams->get('show_leading_readmore', $show_readmore)); $aparams->set('block_position', $aparams->get('leading_block_position', $block_position)); ?> <div class="magazine-item magazine-leading magazine-featured-leading"> <?php if (count($leading) > 1) : /* Present leading items in a carousel */ ?> <div id="magazine-carousel-<?php echo $module->id ?>" class="carousel magazine-carousel <?php echo $animation_type ?>" data-ride="carousel" <?php if (!$leading_auto_play) : ?>data-interval="false"<?php endif; ?>> <div class="carousel-inner" role="listbox"> <?php $i = 0; foreach ($leading as $item) : ?> <div class="item <?php if ($i++ == 0) echo 'active'; ?>"> <?php echo JATemplateHelper::render($item, 'joomla.content.intro', array('item' => $item, 'params' => $aparams, 'img-size' => 'big')); ?> </div> <?php endforeach; ?> </div> <!-- Controls --> <div class="carousel-control-btns"> <span class="carousel-number"> <strong class="carousel-number-index">1</strong> of <strong><?php echo count($leading) ?></strong> </span> <a class="btn left" href="#magazine-carousel-<?php echo $module->id ?>" role="button" data-slide="prev"> <i class="fa fa-chevron-left"></i> <span class="sr-only">Previous</span> </a> <a class="btn right" href="#magazine-carousel-<?php echo $module->id ?>" role="button" data-slide="next"> <i class="fa fa-chevron-right"></i> <span class="sr-only">Next</span> </a> </div> </div> <script> (function ($) { $('#magazine-carousel-<?php echo $module->id ?>').on('slid.bs.carousel', function () { var $carousel = $(this), currentIndex = $carousel.find('.item.active').index() + 1; $carousel.find('.carousel-number-index').html(currentIndex); }); })(jQuery); </script> <?php elseif (count($leading)): /* Single Leading item */ ?> <?php echo JATemplateHelper::render($leading[0], 'joomla.content.intro', array('item' => $leading[0], 'params' => $aparams, 'img-size' => 'big')); ?> <?php endif; ?> </div> <!-- //Leading --> <?php endif ?> <?php if ($intro_count = count($intro)): ?> <?php $aparams->set('show_intro', $aparams->get('show_intro_text', $show_intro)); $aparams->set('show_category', $aparams->get('show_intro_category', $show_category)); $aparams->set('show_readmore', $aparams->get('show_intro_readmore', $show_readmore)); $aparams->set('block_position', $aparams->get('intro_block_position', $block_position)); ?> <!-- Intro --> <div class="magazine-intro magazine-featured-intro"> <?php $intro_index = 0; ?> <?php foreach ($intro as $item) : ?> <?php if ($intro_index % $intro_columns == 0) : ?> <div class="row-articles equal-height"> <?php endif ?> <div class="col col-sm-<?php echo round((12 / $intro_columns)) ?> magazine-item "> <?php echo JATemplateHelper::render($item, 'joomla.content.intro', array('item' => $item, 'params' => $aparams, 'img-size' => 'medium')); ?> </div> <?php $intro_index++; ?> <?php if (($intro_index % $intro_columns == 0) || $intro_index == $intro_count) : ?> </div> <?php endif ?> <?php endforeach; ?> </div> <!-- // Intro --> <?php endif ?> </div> <!-- //Left Column --> <?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 --> </div> <?php endif ?> <!-- //Right Column -->
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 11, 2016 at 4:54 am #985429Hi,
I’ve just jumped this thread and I’m not sure if your issue has been solved or not. If you still need to help you can give me the screenshot and description on that. I would help to understand the problem on your site. I will help you out
Regards
November 11, 2016 at 8:43 pm #985658This reply has been marked as private.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 14, 2016 at 5:16 am #986032 -
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by Ninja Lead 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum