Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Sportal" Joomla template.

Topic-icon Featured Articles Double Show

More
6 years 2 months ago #6473 by SemperAndroid
SemperAndroid created the topic: Featured Articles Double Show
Hi,

When I create a Featured Article, it shows twice on the home page. I am using the Sports template. Any idea what is causing this or how I can track it down?

Thanks

Please Log in to join the conversation.

More
6 years 2 months ago #6475 by SemperAndroid
SemperAndroid replied the topic: Re: Featured Articles Double Show
Fix for this is in SQL

file
components/com_content/models/articles.php
line 207 , is joining the item on user_id instead ID , if same user is selected for more than 1 contact the user_id will be same for both contacts

change
$query->join('LEFT','#__contact_details AS contact on contact.user_id = a.created_by');
to
$query->join('LEFT','#__contact_details AS contact on contact.id = a.created_by');

Please Log in to join the conversation.

Time to create page: 0.148 seconds

Links, Partners and Social Media