yes, thank you. The issue is mostly with Attachment plugin, so I would like to find a way to put a general {jathumbnail off} only for the images of this plugin.
Then I would like to understand why without Attachment plugin I can put JA Thumbanil in any position and with it it must stay at last position, what code of that conflicts with JA Thumbnail?

Thanks for help,
Salvo

Hi Salvo,

Could you share the page where I can see the attachment?

    saguaros
    yes, please see this page, click on the JA Thumnail image so popup it, clic to get the second image: it should be an icon below at side first of the attachment filename but it went captured by JA Thumbnail and presented as image of the article. The attachment is below (see image here): the word "Programma" should have the image.gif icon to the left: it is the image captured by JA T.
    Please, let me know if you meant this, otherwise I'll try to help better and thank you for your patience 🙂

    Salvo

      salvomic Hi. Plugin does what is should. It picks up all images from article and this icon is also in article. I believe best would be to change this attachment image to an icon using background. Please provide an access to ftp and tell me how this attachment plugin is called.


      access credentials are in this thread
      The plugin is Attachments (in Italian Allegati) with some items in plugins (see attached image here).
      Please, tell me if this is ok.

        salvomic

        You can follow with teitbite's suggestion, I will share with the team if there can be a way to exclude specific files or not.

        Regards

          7 months later

          hello again 🙂
          after the last update of Jateline V Template, I've again the issue.
          I had to put the modified html/com_content/article/default.php (see below) otherwise I get the text and the JA Thumbnail box duplicated again below the article (both instances with the toolbar).

          If I disable JA Thumbnail I get only one image and only the intro text.
          I would like not to have two instances, not only to hid one instance with the workaround of the code...

          Please, help!
          See this article for the problem:
          [https://www.ondaiblea.it/index.php/it/sapere/cultura/10490-premio-federico-ii,-a-modica-il-22-dicembre-2019](http://) (now apparently corrected with the below code)
          Salvo


          <?php
          /**
           * @package     Joomla.Site
           * @subpackage  com_content
           *
           * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
           * @license     GNU General Public License version 2 or later; see LICENSE.txt
           */
          
          defined('_JEXEC') or die;
          
          $params   = $this->item->params;
          $urls     = json_decode($this->item->urls);
          /*if ($params->get('show_intro')) {
          	$separator = md5(time());
          	$this->item->text = $this->item->introtext . $separator . $this->item->fulltext;
          	$offset = $this->state->get('list.offset');
          	$dispatcher = JEventDispatcher::getInstance();
          	$dispatcher->trigger('onContentPrepare', array ('com_content.article', &$this->item, &$this->item->params, $offset));
          	$dispatcher->trigger('onContentAfterTitle', array ('com_content.article', &$this->item, &$this->item->params, $offset));
          	$dispatcher->trigger('onContentBeforeDisplay', array ('com_content.article', &$this->item, &$this->item->params, $offset));
          	$dispatcher->trigger('onContentAfterDisplay', array ('com_content.article', &$this->item, &$this->item->params, $offset));
          	$explode = explode($separator, $this->item->text);
          	$this->item->introtext = array_shift($explode);
          	$this->item->text = implode('', $explode);
          }*/
          
          JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
          JHtml::addIncludePath(T3_PATH . '/html/com_content');
          JHtml::addIncludePath(dirname(dirname(__FILE__)));
          ?>
          
          <?php if (JFactory::getApplication()->input->get ('tmpl') == 'component'): ?>
          
          	<?php echo JATemplateHelper::render ($this->item, 'joomla.content.item', array('print' => $this->print, 'item' => $this->item, 'params' => $this->params)) ?>
          
          <?php else: ?>
          
          	<?php if (JATemplateHelper::countModules ('article-top')): ?>
          		<div class="item-row row-top">
          			<?php echo JATemplateHelper::renderModules('article-top') ?>
          		</div>
          	<?php endif ?>
          
          	<div class="item-row row-main">
          		<div class="article-main">
          			<?php echo JATemplateHelper::render ($this->item, 'joomla.content.item', array('print' => $this->print, 'item' => $this->item, 'params' => $this->params)) ?>
          
          			<?php if (isset($urls) && ((!empty($urls->urls_position) && ($urls->urls_position == '0')) || ($params->get('urls_position') == '0' && empty($urls->urls_position))) || (empty($urls->urls_position) && (!$params->get('urls_position')))): ?>
          				<?php echo $this->loadTemplate('links'); ?>
          			<?php endif; ?>
          		</div>
          	</div>
          
          	<?php if (JATemplateHelper::countModules ('article-bottom')): ?>
          		<div class="item-row row-bottom">
          			<?php echo JATemplateHelper::renderModules('article-bottom') ?>
          		</div>
          	<?php endif ?>
          
          <?php endif ?>
          
          <style type="text/css">
          section.article-content p {
              display: none;
          }
          section.article-content div {
              display: none;
          }

            saguaros
            The bug there is if I put the original (not modified) code of default.php (/template/html/com_content/article).
            I now modified the code so you cannot see the bug, but the duplicated text and images are there but only hidden...

            Then,
            1. with the original code I get full article with full article (intro + main) two times
            2. two instances of JA Thumbnail plugin also duplicated (4 total): for every series an instance with images, the other not
            3. I must modify the code to get only one instance of text and a correct JA Thumbnail instance

            I put the credential, please help.
            Have a nice day

            Salvo

            EDIT: besides, after some tries, now JA Thumbanil is ok but JA popup doesn't popup the images, exiting with the message "the requested code cannot be loaded". Mayabe a cache problem, but I deleted caches and the issue is still there...

            thank you for help, however no more need to help: we decided to leave "JA Thumbnail" and use now "Sigplus Gallery" with "JA Popup".
            So doing, the standard /template/html/com_content/default.php is ok: no duplication at all, no problem.
            The bug come out only with JA Thumbnail.

            However, if you kindly want still investigate, it could be useful to solve the bug in JA Thumbnail.

            Thanks
            Salvo

              salvomic

              I will try to check the same at my end, if the issue still persists, we will fix it.

                saguaros thanks.
                Without JA Thumbnail, for now, there is no issues. I'm adapting the articles to the new system, however.
                It would be interesting to know why JA Thumbnail has so negative effect upon JA Teline article view...

                thanks,
                Salvo

                6 days later

                Hi Salvo,

                I checked the default.php file in the last topic and it looks like you removed the intro text. You don't need to edit via code, just disable the option: Show Intro Text in Articles Options (or menu item settings if you set it via menu ) https://prnt.sc/qfh74t

                JA Teline V retrieves the intro text of an article to show it in blockquote part, if you don't set intro text for an article, it will take full text of article and show there so you can simply disable above option and it will show fine.

                Regards

                  Write a Reply...
                  You need to Login to view replies.