New version and k2 extra fields seems to be a problem

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
Mon Apr 04, 2016 2:03 am
I updated to the new current version and my extra fields using the own article format stopped working. I went back to the old version and all is well again,
My own article format code is this:
<div class="ukNewsPro">
<h3><a href="{URL}">{TITLE}</a></h3>
<span>Duration {{DurationoftheTrip}} Days, From {{price}} p/p</span>
<a href="{URL}"><img src="{IMAGE_SRC}" alt="{TITLE}" /></a>
<p>{TEXT}</p>
<a class="button" href="{URL}">Read More</a>
</div>
Obviously 'price' and 'DurationoftheTrip' are defined extra fields in K2. I have double checked that the "Get K2 Extra Fields" is set to yes and the "Article Format" is set to None Selected. Just replacing the module code fixed it, left the new admin code alone, my bad but this site is not live yet.
Resulting output when it works attached and when it fails.
works.JPG

fails.JPG

All current version Joomla, due in production in about a week. Can PM the site url and details.
User avatar
Junior Boarder

teitbite
Thu Apr 07, 2016 3:06 pm
Hi

To fix it I will need this module updated and an access to ftp along with url where this module can be visible. Please send me the access via forum's PM or to my mail directly [email protected]
User avatar
Moderator

GK User
Thu Apr 28, 2016 6:28 pm
Did you find out what the issue was because we are having the same problem pulling in an additional extra field. So everything but the "{{TotalSquareFeet}}" works.
Code: Select all
<div class="gkProperydetails">
<a href="{URL}"><img src="{IMAGE_SRC}"  alt="{TITLE}" /></a>
<div>
<h3><a href="{URL}">{TITLE}</a></h3>
<div class="infoContainer">
<div class="frontItemPrice"><i class="fa fa-usd fa-5"></i>{{Price}}</div>
<div class="frontItemSqft"><i class="fa fa-building-o" aria-hidden="true"></i>
{{TotalSquareFeet}}</div>
</div>
</div>
</div>
User avatar
Fresh Boarder

teitbite
Fri Apr 29, 2016 10:27 am
Hi

@savvygents please make sure that an option to use extrafields in K2 additional settings is selected. If it is and module is still not working than please send me an access to the page where You have this problem and ftp access.
User avatar
Moderator

GK User
Tue May 03, 2016 6:26 pm
It is selected - as mentioned previously only {{Price}} works and {{TotalSquareFeet}} does not work.

I have double checked the extra field alias and it is correct.
User avatar
Fresh Boarder

teitbite
Thu May 05, 2016 1:33 pm
Hi

Please send me an access to ftp and the url to the page where this can be seen.
User avatar
Moderator

GK User
Tue May 10, 2016 2:56 pm
Just wanted to follow up and see if you had a chance to take a look yet?
User avatar
Fresh Boarder

teitbite
Wed May 11, 2016 9:54 am
Hi

Please replace file model.php in /mod_news_pro_gk5/data_sources/com_k2/ with the one attached.
User avatar
Moderator

GK User
Wed May 11, 2016 2:46 pm
I have added the updated model.php however there was no change - It simply shows the alias now.
User avatar
Fresh Boarder

teitbite
Wed May 11, 2016 8:52 pm
Hi

Ok than, looks like it's a configuration issue after all. Please check the access to joomla panel You've send me, because I cannot log in and send me correct one.
User avatar
Moderator

GK User
Wed May 11, 2016 8:57 pm
Please try again - I've corrected the password.
User avatar
Fresh Boarder

teitbite
Fri May 13, 2016 2:04 pm
Hi

I've send Your access to programmers. Please just tell me where can I see this affected module on page. I can see it's not attached to any page, so I'm guessing it's called within an article directly.
User avatar
Moderator

GK User
Fri May 13, 2016 2:17 pm
It is on the front page - under "Commercial Properties".
The module is called "Featured Properties" which is being called via a custom module named "
Commercial Properties __Demand Professional Realtors_" in position "mainbody".
User avatar
Fresh Boarder

teitbite
Sun May 15, 2016 10:38 am
Hi

Thanks. Will let You know soon as programmers will talk to me.
User avatar
Moderator

teitbite
Mon May 23, 2016 9:45 am
Hi

Please update NSP module to the latest version. Changes to K2's etrafields has been included: https://github.com/GavickPro/News-Show- ... /README.md
User avatar
Moderator

teitbite
Wed May 25, 2016 8:33 am
Hi

I've been able to check the problem and looks like now You need to call an extrafield by it's name not alias as before. Please change it in "Article Format Text" field.
User avatar
Moderator


cron