Show frontpage items not working

Support forum dedicated to free and advanced Joomla content presentation module with various layout options and data sources support.
GK User
Wed Jul 17, 2013 1:13 pm
I use joomla 2.5 and News Show Pro GK4 ver. 3.1.3

I have Frontpage items only off and Show frontpage items off.
But then I have a massage, no article to display.
When i turn Show frontpage items on, it shows me all article in the category and the frontpage items.
But I want all article in the category without the frontpage items!
User avatar
Expert Boarder

teitbite
Fri Jul 19, 2013 3:21 am
Hi

I'm sorry, but it doesn't work like that. An option "Show frontpage items" means that module will only display frontpage articles. But it doesn't go the other way. Disabling it will means that You want to show all articles. Unfortunately I've never seen a module which can do that, so cannot advice anything.
User avatar
Moderator

GK User
Fri Jul 19, 2013 10:12 pm
But It works a long time like this, after the last update I have the problem!
For what will be the button "Show frontpage items off"?
User avatar
Expert Boarder

teitbite
Sun Jul 21, 2013 4:03 am
Hi

I must have misunderstood than. Please send me an access to Your joomla panel and I'll see what the problem can be.
User avatar
Moderator

GK User
Sat Sep 21, 2013 12:11 am
Nobody can help?
I have "Show frontpage items" set to off
and get the error "Error: No articles to display" (the help says:you can disable showing frontpage article)
When I set it to on, I see all article + frontpage article


thank you
User avatar
Expert Boarder

teitbite
Sun Sep 22, 2013 2:02 am
Hi

I will help, but I have not received an access to Your site. Please send it via PM or to my mail address so I'll be able to log in and see the settings.
User avatar
Moderator

GK User
Mon Sep 23, 2013 8:26 am
teitbite wrote:Hi

I will help, but I have not received an access to Your site. Please send it via PM or to my mail address so I'll be able to log in and see the settings.


I sent it to [email protected] on Friday...
User avatar
Expert Boarder

teitbite
Wed Sep 25, 2013 11:36 pm
Hi

Sorry, but I'm searching my mails list in case of Your nick or this thread title, but the only results I get are mails with notifications from the forum. Please send it again and make sure that Your mail is linked with this thread somehow (with link to thread or nick from forum).
User avatar
Moderator

GK User
Sat Oct 26, 2013 7:36 pm
In case you still have that problem with the module:

- Open: /modules/mod_news_pro_gk4/gk_classes/gk.source.joomla.php

- Find:
Code: Select all
$frontpage_con = ($config['only_frontpage'] == 0) ? (($config['news_frontpage'] == 0) ? ' AND frontpage.content_id IS NULL ' : '' ) : (($config['news_frontpage'] == 0) ? ' AND frontpage.content_id = 10 ' : ' AND frontpage.content_id IS NOT NULL ' );

- Change to:
Code: Select all
if($config['only_frontpage'] == 1)
         {
            $frontpage_con = ' AND content.featured = 1 ';
         }
User avatar
Platinum Boarder


cron