Closed (fixed)
Project:
Matrix field
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2009 at 10:58 UTC
Updated:
20 Nov 2010 at 08:20 UTC
Hi!
I like that module - but - if filling the table is not "required" and is left empty, the field is displayed in the node-view with "-" in the first cells.
Is there a way to hide the field completely, like all other cck fields, if there is no content?
Thanx for help
Comments
Comment #1
wilks commentedDoes anyone know of a resolution to this? I have 4 tables for a content type but they will not all be used for each posting.
Comment #2
fibbo commentedHave exactly the same problem...
Has anyone find a solution?
Comment #3
fibbo commentedWould be really great if someone could look where the problem is in the code...
Comment #4
fibbo commentedI have some more information about this problem, maybe someone can identify the problem in the code with this ...
The Problem accurs when I leave the matrix field empty as I save a edit in the node. In the Frontend you can see just the first line of the matrix field with the "-" in it. When I then go to my db and drop the "node_field_matrix_data" table and clear the cache in drupal, the matrix field disappears in the frontend.
If I want to edit and save that it appears again.
help pls :/
Comment #5
aaron1234nz commentedI've committed a fix for this.