Re: Field invisible

Erik Stielstra <[email protected]> Thu, 5 Feb 2015 13:02:31 +0100
Newsgroups gmane.comp.php.drupal.devel
Message-ID <[email protected]>
As I said "I can not reproduce your problem=E2=80=9D and what I can=E2=80=99=
t reproduce I can not fix.

I would go looking for working examples. You can try the examples =
module. It has a.o. an entity- and a field example module. You can also =
try to add a field via the interface and then export its code using =
features. That will give you some PHP-code that should almost be what =
you need to create a field programatically.

Erik Stielstra



> On 5 feb. 2015, at 12:51, Muzaffer Tolga Ozses <[email protected]> =
wrote:
>=20
> This is what happens when I re-install the module:
>=20
> =
https://dl.dropboxusercontent.com/u/11918318/Screenshot%20from%202015-02-0=
5%2013%3A47%3A42.png
>=20
> On 4 February 2015 at 13:16, Muzaffer Tolga Ozses <[email protected]> =
wrote:
> Not the field label, field name.
>=20
> On 4 February 2015 at 13:15, Erik Stielstra <[email protected]> =
wrote:
>=20
> > On 4 feb. 2015, at 10:15, Muzaffer Tolga Ozses <[email protected]> =
wrote:
> >
> > Thank you Eric for replying,
> >
> > Like I said, this started happening after I renamed the field. Could =
this be why?
> I don=E2=80=99t know. You should not rename a field (change machine =
name) unless you know exactly what you are doing. Just create a new one. =
Changing the field label should not have this effect.
>=20
>=20
> Erik Stielstra
>=20
>=20
>=20
>=20
>=20
>=20
> --=20
> mto
>=20
>=20
>=20
> --=20
> mto