Trouble Getting Extra Fields to work in NSP 5 V1.6.1

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
Tue Jul 15, 2014 7:47 pm
I am having trouble accessing the extra fields in category layout on NSP 5 V1.6.1.

I use the proper syntax in Article format text field under basic settings {{extra_field_alias}}, but news is taking the characters literally: and it is displaying extra_field_alias without the curly brackets (both sets).

Screenshots attached.

Is there setting I should be aware of to get this to work beyond what I see in your online article? Category or article settings to be considered? Does it work across Extra Field Groups?

Direct creation of the article format in News Show Pro GK5

Up to version v.1.6.0 of the News Show Pro GK5 module the creation of article formats required a separate *.format file. With the latest changes it is now possible to create an article format directly in the module options using a new textarea field visible when the article format option is enabled:

Please remember that the article format file option should be set to - – None selected – - -as in this case the module will use the textarea content as an article format output.

Support for K2 Extra Fields

K2 Extra Fields support is something that has often been requested by our users – and now we’ve added it to the article format’s functionality. The usage is very simple – in order to display the specific extra field the article format should contain the following string: {{extra_field_alias}}. So, for example, to show the eventhours extra field, the article format content should contain the following string: {{eventhours}}.

There are double curly brackets around the extra fields aliases in order to avoid overriding the existing replacement strings when the extra field alias is the same as the existing string.

Some extra fields contain an array of values i.e. extra fields with a Link type. For this situation we have implemented array handlers – {{extra_field_alias_X}} where X is the index of the array data value. For example; to show the event speaker name, which is the second element of the link array used as the label, the article format content should be: {{eventspeaker_1}}. The indexes work the same as in the array in that they are zero-based.
User avatar
Fresh Boarder

teitbite
Wed Jul 16, 2014 11:52 am
Hi

Please send me an access to Your joomla panel. I need to check it.
User avatar
Moderator

teitbite
Thu Jul 17, 2014 12:42 pm
Hi

I got the access, but I cannot edit the article You are trying to display extra field from. Can You extend my access ?
User avatar
Moderator

teitbite
Fri Jul 18, 2014 2:50 pm
Hi

Ok. I was able to check and looks like there is no extrafields connected with any of the articles displayed. You need to attach extrafields in K2 category first.
User avatar
Moderator


cron