<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 &quot;hide it from those with no access&quot;.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 February 2015 at 14:02, Erik Stielstra <span dir="ltr">&lt;<a href="mailto:info@erikstielstra.nl" target="_blank">info@erikstielstra.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As I said &quot;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>
&gt; On 5 feb. 2015, at 12:51, Muzaffer Tolga Ozses &lt;<a href="mailto:tolga@ozses.net">tolga@ozses.net</a>&gt; wrote:<br>
&gt;<br>
&gt; This is what happens when I re-install the module:<br>
&gt;<br>
&gt; <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>
&gt;<br>
&gt; On 4 February 2015 at 13:16, Muzaffer Tolga Ozses &lt;<a href="mailto:tolga@ozses.net">tolga@ozses.net</a>&gt; wrote:<br>
&gt; Not the field label, field name.<br>
&gt;<br>
&gt; On 4 February 2015 at 13:15, Erik Stielstra &lt;<a href="mailto:info@erikstielstra.nl">info@erikstielstra.nl</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On 4 feb. 2015, at 10:15, Muzaffer Tolga Ozses &lt;<a href="mailto:tolga@ozses.net">tolga@ozses.net</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Thank you Eric for replying,<br>
&gt; &gt;<br>
&gt; &gt; Like I said, this started happening after I renamed the field. Could this be why?<br>
&gt; 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>
&gt;<br>
&gt;<br>
&gt; Erik Stielstra<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; mto<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; 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>