Hi,
I have a problem with the JA_Sports template..
All my pages are showing double component.. See contact page for example (menu item connected to an single article) show two times test.
I can't find it. You have an idea?
Dragos
Hi,
I have a problem with the JA_Sports template..
All my pages are showing double component.. See contact page for example (menu item connected to an single article) show two times test.
I can't find it. You have an idea?
Dragos
HI Dragos,
In Joomla, each article will have 2 parts: Intro text and Full text
and they are separated by a readmore button.
If you don't have these 2 parts separated, Joomla will consider full text as intro text and show them both on frontend. That's why you see it double.
Kindly update articles on your site again.
The intro text are hidden in article and menu items. So it should not show. There is no read more.
Its strange cause Joomla dont work like this. I have to add on all pages a readmore to not show double?
Again its a bad workaround...
I found a better solution while i thought it was an extra code:
Checked the file: .../templates/ja_sport/html/com_content/article/default.php
This is an overwrite in the code.
Deleted the overwrite and now it works properly!
Greetings.
You can use that workaround but content modules / category blog page / ... will use the same way - retrieve intro text to show on frontend.
Let me know if you need other helps then.
Have a good day!
Hi, I'm having this same problem but can't resolve it. I don't want a readmore to my article on http://www.mentalhealththroughbasketball.co.uk/TBAbasketball/index.php/my-why-by-carl-miller just a straight article. Tried turning intro text off but no luck. I deleted the /**T4 overide */ below <? php on the default.php file but nothing happened ( was there something else to delete ) and could you please list the content modules / category blog page /........... solution again as I can't work it out
Hi, i kept using the read more to not show double…
Thanks Saguaros, the introtext option has been disabled on both menu and article options but hasn't made a difference
However, when I put the readmore link in the article, the double page issue stopped. Isn't there a way around not having to put the readmore link
I updated this file on your site: root/templates/ja_sport/html/com_content/article/default.php
Line 112:
<div class="intro-text" >
<?php echo $this->item->introtext; ?>
</div>
change to:
<?php if ($this->params->get('show_introtext')) : ?>
<div class="intro-text" >
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
it will inherit "Show Introtext" setting in menu item now.
Kindly check.
Hi,
I have to get back here after months -
this change in the file to prevent the double "intro-text" has not been added to the latest JASport update.
The problem is there again after I had updated the template.
Please add this change of the code to future updates - it is annoying to do it manually.
Thank you
Hi
We updated this in template and it will be available in next version, sorry for this inconvenience.