K2 Extra Fields alias don't work

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
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
Sat Dec 19, 2015 9:21 pm
Hi,
I'm customizing the News Show Pro GK5, inserting the following code in "Article format text" :
Code: Select all
{DATE} | {{Tipologia}}<a href="{URL}"><h3>{TITLE}</h3></a>
<hr>

but the output is :
XX-XX-XXXX | {Tipologia}
XXXXXXXXXXXXXXXXXXXXXXXXXXX
DATE/TITLE/URL are correct but I see the extrafield "alias" and not it's value. I have correctly used the extrafield alias infact :
Alias: Tipologia
(it's a textfield)

Joomla 3.4.5 and last version of News Show Pro GK5

Any suggestion ?
Thanks in advance.
User avatar
Fresh Boarder

teitbite
Mon Dec 21, 2015 12:47 pm
Could you please provide me with a URL to your website and back-end access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Wed Dec 23, 2015 12:35 pm
What required is been sent by PM
Thanks in advance.
User avatar
Fresh Boarder

teitbite
Sun Dec 27, 2015 1:02 pm
Hi

I have not received an access from You, in PM I can only see a message from today asking if I was able to look at it. Please send it again, but include an FTP access too, so I'll just make it work whatever it may be.
User avatar
Moderator

teitbite
Wed Dec 30, 2015 5:48 pm
Hi

Reported to programmers. Will let You know when I'll have an answer from them.



https://github.com/GavickPro/QA/issues/339
User avatar
Moderator

teitbite
Thu Dec 31, 2015 10:43 am
Hi

Programmers just informed me that problem has been fixed on our website. To fix it programmers has changed file mod_news_pro_gk5/data_sources/com_k2/model.php and replaced line 464:

Code: Select all
                $schema_tab[$item->id] = json_decode($item->value);


with

Code: Select all
                $schema_tab[$item->id] = $item->name;


and line 472

Code: Select all
                $extra_fields_data[$schema_tab[$extra_field->id][0]->alias] = $extra_field->value;


with

Code: Select all
                $extra_fields_data[$schema_tab[$extra_field->id]] = $extra_field->value;
User avatar
Moderator

teitbite
Thu Dec 31, 2015 4:47 pm
Thanks very much (your url does not works....)


Hi

The url in my previous post was just for me so I'll be able to connect Your thread on forum with bug report. Please let me know if everything is working ok now.
User avatar
Moderator

GK User
Sat Jan 02, 2016 9:13 pm
Thankyout very much, it's works now !
Two quick infos :
1) can I update the module with future releases ?
2) how can I show the date in format : dayname-DD-MM-YYY ?
Thanks and bye.
User avatar
Fresh Boarder

teitbite
Wed Jan 06, 2016 11:01 am
Hi

1. Yes it will be included in module's code.
2. There is a field called "Date format" in article layout section.
User avatar
Moderator

teitbite
Thu Jan 07, 2016 4:39 pm
Hi

I've asked programmers for help again for this 2 other websites. Will answer You as soon as I'll know something more.
User avatar
Moderator

teitbite
Fri Jan 08, 2016 11:03 am
Hi

Looks like fix worked, but you didn't enabled option "Get K2 Extra Fields" in the K2 Additional settings tab in the module. It's enabled for golffrassanelle, but not for golfgalzignano. Please enable it.
User avatar
Moderator

GK User
Fri Jan 08, 2016 6:23 pm
Solved !
Very simple solution that was in front my eyes ! Many thanks for support.
User avatar
Fresh Boarder

teitbite
Tue Jan 12, 2016 9:39 am
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron