Keyword

extra fields

  • Adrian
  • Adrian's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 months ago - 9 years 3 months ago #144798 by Adrian
extra fields was created by Adrian
Hi K2 developers, I have been using K2 for a few sites and have recently updated the version on a particular site. The extra fields have been used extensively and have been working well. Before the update, if an extra field didn't have an entry it wouldn't show the title or the field. Now if the extra field is empty the title of the field and the field shows. This has been working so well until now. Is there something I can do to hide the extra field if it is left empty like it used to be. Version is K2 2.6.9, Joomla 3.4.1 php 5.4.37. Cheers Adrian
Last edit: 9 years 3 months ago by Adrian.

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
9 years 3 months ago #144799 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic extra fields
Hi Adrian,

Do you use K2 overrides?
If yes, check the code section which displays the extra fields to see whether it checks for the field value or not.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.

  • Adrian
  • Adrian's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 months ago #144800 by Adrian
Replied by Adrian on topic extra fields
Hi, No I,m not using overrides, but I did alter some css to position the field headings. Cheers

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
9 years 3 months ago #144829 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic extra fields
Hi,

This is not normal, the original code already hides empty extra fields, so there should be a plugin/override that changes this behaviour.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum