<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Okay, I got the issue; it was #access. I must have mis-read API docs where I thought #access meant "hide it from those with no access".</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 February 2015 at 14:02, Erik Stielstra <span dir="ltr"><<a href="mailto:info@erikstielstra.nl" target="_blank">info@erikstielstra.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As I said "I can not reproduce your problem” and what I can’t reproduce I can not fix.<br>
<br>
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.<br>
<span class="HOEnZb"><font color="#888888"><br>
Erik Stielstra<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> On 5 feb. 2015, at 12:51, Muzaffer Tolga Ozses <<a href="mailto:tolga@ozses.net">tolga@ozses.net</a>> wrote:<br>
><br>
> This is what happens when I re-install the module:<br>
><br>
> <a href="https://dl.dropboxusercontent.com/u/11918318/Screenshot%20from%202015-02-05%2013%3A47%3A42.png" target="_blank">https://dl.dropboxusercontent.com/u/11918318/Screenshot%20from%202015-02-05%2013%3A47%3A42.png</a><br>
><br>
> On 4 February 2015 at 13:16, Muzaffer Tolga Ozses <<a href="mailto:tolga@ozses.net">tolga@ozses.net</a>> wrote:<br>
> Not the field label, field name.<br>
><br>
> On 4 February 2015 at 13:15, Erik Stielstra <<a href="mailto:info@erikstielstra.nl">info@erikstielstra.nl</a>> wrote:<br>
><br>
> > On 4 feb. 2015, at 10:15, Muzaffer Tolga Ozses <<a href="mailto:tolga@ozses.net">tolga@ozses.net</a>> wrote:<br>
> ><br>
> > Thank you Eric for replying,<br>
> ><br>
> > Like I said, this started happening after I renamed the field. Could this be why?<br>
> I don’t 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.<br>
><br>
><br>
> Erik Stielstra<br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> mto<br>
><br>
><br>
><br>
> --<br>
> mto<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">mto</div></div></div></div>
</div>