[DEPENDS ON EVERY TEMPLATE] auto hide empty custom fields?

More
8 years 6 months ago - 8 years 6 months ago #57696 by pmonstad
I have searched around but I have not found any answer. Is it possible to automatically hide empty custom fields from being shown in the article? I have several custom fields around, but I do not use all of them in every article I create. An option to only show the field label title when there is a value to be displayed is a feature I really would like to see around. Thanks!
Last edit: 8 years 6 months ago by ggppdk.

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

More
8 years 6 months ago #57697 by micker
for now not flexicontent behaviour is
empty field => display noting

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
8 years 6 months ago #57698 by pmonstad
So this mean there is no way to fix this? Could I post this as a feature request?

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

More
8 years 6 months ago #57699 by ggppdk
Hello

almost all built-in fields will not create HTML if empty

- so if the label is show this depends on the template file and it does not depend on the field

- eitheryou can try adding your field in a position that does not show label
- or edit you item view files
item.php
item_html5.php

1. duplicate template
2. edit item layout of the new template
3. click button "load common default code"
4. find the template position and add something like
e.g.
Code:
if (!strlen($field->display)) continue;


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.298 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline