Hello,

I'm having the very same issue but I could not get any help
https://www.joomlart.com/forums/d/23429-duplicate-text-or-how-to-solve-the-intro-text-issue
https://www.joomlart.com/forums/d/24318-why-is-intro-text-duplicated/8

If I put a "read more" in the middle of the article text, the introtext is displayed in the homepage, but if you open the article you find the introtext twice. So I have to put the "read more" at the very top of the article, but this way I don't have any introtext in the homepage.

The strange thing is that in the template example article the very same way to use "read more" does not cause that issue; yet both articles belongs to the same category.

If I publish an old article (contained in the example data) it behaves correctly, but if I create a new article the problem arises. I could not see any apparent difference between the two articles (mine and the example one).

Thanks for your help.

PS I updated the template to Decor v.2.0.0 but no change...

    Hi rossella1

    I don't see the duplicated intro text on article page of your site but I updated this file:
    /templates/gk_decor/html/com_content/article/default.php

    	<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); ?>
    -->
    		<?php echo $this->item->event->beforeDisplayContent; ?>
    
    		<?php echo $this->item->text; ?>
    	</div>

    Kindly check again.

    Hello,

    thanks for your help.

    You could not see any duplicated text because I had to put the "read more" at the very top of the article in order to avoid duplicated text.

    Now it seems to work, but when I will update the template will I get the issue back?

    How do you explain the fact that the issue did not occurr with the example article but only with the new article I wrote? I could not see any difference in settings with previous articles and my article.

    Thanks :-)

      rossella1 Perhaps the old articles belong to a menu item in which it set to hide the introtext.

      Anyway, glad to hear that it's working now.

        saguaros
        No, the old example article belongs both to the very same menu item and the same category of the other homepage articles: if you publish it, you can see it appearing along with the other articles in home page but it is (was) the only to behave normally.

        Anyway, what will happen with your modification when I will update the template?

        Thanks :-)

          rossella1 As I can't replicate this issue at my end so when you update template, try to backup above file and apply changes again.

          If you experience this issue again, feel free to contact us so we can help 🙂

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