NSP GK4 fails to show K2 article author alias

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Jun 29, 2012 12:07 am
Hi

I am currently using Joomla v2.5.6 and K2 v2.5.6 in combination with NSP GK4 v3.1.2.

My configuration is as attached.

Author Alias Settings.png


The problem I am having is that the NSP Author Name "Alias" option doesn't work. In the news display the author name "administrator" is always shown with K2 items, irrespective of which option is chosen (native Joomla articles seem to display the alias OK).

Any ideas on how to solve this?
User avatar
Senior Boarder

GK User
Sat Jun 30, 2012 1:22 pm
Hi,

Please provide with backend and FTP access then I will try to fix it for you.

Thanks,
User avatar
Platinum Boarder

GK User
Mon Jul 02, 2012 12:27 pm
Thanks Don.

PM message sent.
User avatar
Senior Boarder

GK User
Mon Jul 02, 2012 12:31 pm
Don

Please let me know if you haven't received my PM. It seems to be stuck in my Outbox.

Cheers

Glenn
User avatar
Senior Boarder

GK User
Wed Jul 04, 2012 2:17 pm
Hi Gleen,

I have got your PM already. This issue is a bug of the module, I have checked with our demo site and it happens the same so I have reported it to our development team to check further and fix for next version. I'm sorry I can't give you a quick fix now however I may give you some days later if I get any from our developers.

Thanks,
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 3:47 pm
Don

Thanks for getting back to me.

Hopefully it will be a simple fix, as the feature works fine with core Joomla articles.

I need to take the site live at the beginning of next week. Are you aware of any earlier versions of the module that works with K2? Looking at some old posts, this issue was reported as solved a while ago.

Cheers

Glenn
User avatar
Senior Boarder

GK User
Wed Jul 04, 2012 3:56 pm
I'm not. However I don't think it's a big issue, the module still works well to show main content, and I believe the fix will be simple. I will get you updated!

Anyways sorry for the inconvenience.

Cheers,
User avatar
Platinum Boarder

GK User
Fri Jul 06, 2012 12:34 pm
Hi,

The developer has just given me a solution and I have applied the fix for you, please check and confirm.

Change log::

File: /modules/mod_news_pro_gk4/gk_classes/gk.source.k2.php

Changed:
Code: Select all
'.((($config['username'] != 2) ? 'users.'.(($config['username'] == 1) ? 'username':'name') : 'content.created_by_alias')) .' AS author,

To:
Code: Select all
'.$config['username'].' AS author,
User avatar
Platinum Boarder

GK User
Tue Jul 10, 2012 11:06 am
Thanks Don.

Works perfectly!

Your, and the Developer's, support on this is really appreciated.

Cheers

Glenn
User avatar
Senior Boarder

GK User
Thu Jul 12, 2012 9:49 pm
Hi Glenn,

You are most welcome, feel free to let me know if you need any other help.

Cheers,
User avatar
Platinum Boarder


cron