Unfortunately, I'm afraid to provide access to ftp 🙁 Sorry. Is the intro text with internal links duplicated only on my website? Conditions: 1. In menu is set to: Do NOT HIDE intro text. 2. So, in the backend: Intro with internal link + Read more + continuation of the text, in the front I see: Intro + Intro + continued text. If I delete internal link from the intro, then in the front I see: Intro + continued as it should be. Is it really just my problem?

    smalir
    Hi
    There is no such problem has been reported for this on this template.
    The site access is required to debug the problem of site. You can change the access once issue is solved.

      Ninja
      Hi!
      I created a test site: allcrete.ru, but the same problem persists. I made 2 articles on the site: the first - without a link and without a picture in the intro text - this article is displayed perfectly: https://allcrete.ru/vne-formata/test2. The second article with a link and a photograph in the intro text - this text and photo are duplicated in article: https://allcrete.ru/vne-formata/test2

      Access to the administrator part of the site was provided through edit fields.

      I also studied the file: templates/gk_decor/html/com_content/article/default.php. Could the problem be here?

      <div itemprop="articleBody">
      	<?php if ($params->get('show_intro', 0)) : ?>
      		<div class="lead" class="article-intro" itemprop="description">
      			<?php echo $this->item->introtext; ?>
      		</div>
      	<?php endif; ?>
      
      	<?php echo str_replace(trim(strip_tags($this->item->introtext)), '', $this->item->text); ?>
      </div>

      Just for check I installed 4 other templates to the site allcrete.ru. In all of them, the text is displayed correctly. The problem is only on Decor template. I have provided access to the backend of the site and you could personally verify that the problem is observed only with the Decor template. Moreover, on Decor does not work Social API 🙁

        smalir
        Hi
        Open default.php
        find this

        	<div itemprop="articleBody">
        		<?php if ($params->get('show_intro', 0)) : ?>
        			<div class="lead" class="article-intro" itemprop="description">
        				<?php echo $this->item->introtext; ?>
        			</div>
        		<?php endif; ?>
        
        		<?php echo str_replace(trim(strip_tags($this->item->introtext)), '', $this->item->text); ?>
        	</div>

        Replace it with

        	<div itemprop="articleBody">
        		<?php // Content is generated by content plugin event "onContentBeforeDisplay" ?>
        		<?php echo $this->item->event->beforeDisplayContent; ?>
        
        		<?php echo $this->item->text; ?>
        	</div>

        I applied it on your site.
        Correct way to add images in via Article images and links options.

        Regards

          Ninja, thank you! Now the template works good! Please tell me, how did you manage to fix the default file without access to ftp? And I didn't understand this: "Correct way to add images in via Article images and links options." Sorry for the not-so-smart questions, but I really do not know how to do this.

            smalir Hi, in article You have an option to add an intro and full image. Please use those options instead of adding them in content directly.

            Template files are accessible via template configuration in joomla panel.

              Ninja locked the discussion.
              Write a Reply...
              You need to Login to view replies.