Gk_news : Only Display Frontpage

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Mon Jun 28, 2010 4:54 am
For some reason, i wanna display only frontpage articles on GK_news. How can i do that ?
User avatar
Fresh Boarder

teitbite
Mon Jun 28, 2010 1:19 pm
Hi

Please use news_show_pro version of gk_news. There You will find option:
User avatar
Moderator

GK User
Tue Jun 29, 2010 8:07 am
ya i known you mean News_show_pro GK4? But i like "Front-end Settings" features on GK_News :(
User avatar
Fresh Boarder

teitbite
Tue Jun 29, 2010 1:28 pm
Hi

Sorry. If your module doesn't have that option than I will need to change You for this change in module code. But are You sure You do not have it? I thought TWN is using NSP1 where Show Only Frontpage Articles option is available.
User avatar
Moderator

GK User
Wed Jun 30, 2010 4:27 am
I'm using TWN 1.0.4 updated. I known News show pro GK 1 has this option, but i think we are talking about GK_NEWS Module :
Image
That one doesn't has this option.
User avatar
Fresh Boarder

teitbite
Wed Jun 30, 2010 2:43 pm
Hi

I do know. That's why I suggested You to use diffrent module NSP1 or NSP4 to display it and change some css to show it the same it's now or leave gk_news and add this option Yourself. In both cases it's a customization, but I can help You for a little fee.
User avatar
Moderator

GK User
Wed Jul 14, 2010 4:27 pm
How much do u want ?
User avatar
Fresh Boarder

teitbite
Thu Jul 15, 2010 1:05 pm
Hi

I've investigated it and can tell that easier will be to change the GK_news to show only frontpage than changing the look of other module.

Anyway it's still a customization and I'll take 3$ for that but it will be a change in module code so my question is: will You use this module outside frontpage and if yes do You want to display all articles than, not only the frontpage?
User avatar
Moderator

GK User
Thu Jul 29, 2010 10:57 am
Thank you, but for a long time, now i can do it and save $3 (!!!).
Looking for Db.helper.php add this line : INNER JOIN #__content_frontpage AS f ON f.content_id = a.id
Before
Code: Select all
ELSE a.id END AS art_slug,
                        CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias)
                        ELSE c.id END AS cat_slug
                     FROM
                        #__content AS a
                     INNER JOIN
                        #__categories AS c ON c.id = a.catid

After
Code: Select all
ELSE a.id END AS art_slug,
                        CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias)
                        ELSE c.id END AS cat_slug
                     FROM
                        #__content AS a
                     INNER JOIN #__content_frontpage AS f ON f.content_id = a.id
                     INNER JOIN
                        #__categories AS c ON c.id = a.catid

Now you can use this code if you wanna save some money.
User avatar
Fresh Boarder

leonpeeters
Wed Dec 29, 2010 7:19 pm
HI,

I saw in the forum that you solved several items tot customize some code.

That;'s why i post you i private.

On my site i'm use reviewsforjoomla component. I like the WorldNews template with the possibility on the frontpage users can edit/change settings for the displayed articles. The problem is that the pictures won't display in Gk news.
The added pictures in ReviewsForJoomla-component are stored differently (they aren't in the article themself) so won't load. The developer of RfJ has made a patch for GkNEWSPRO4.

Is the a possiblity to customize GKNEWS by you?

Leon
User avatar

teitbite
Sun Jan 02, 2011 9:32 pm
Hi

Who are You reffering to ? I can try if You want but I would need to charge You extra for this. If You are interested please mail me.
User avatar
Moderator


cron