# Panel issues - custom user form fields

**URL:** <https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476>\
**Category:** Questions\
**Tags:** v2\
**Created:** [October 11, 2016, 4:13pm UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476 "2016-10-11T16:13:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 11, 2016, 4:13pm UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/1 "2016-10-11T16:13:53Z")

</div>

On our local development environment this feature works as expected. However on our production server the panel doesn’t show the custom form fields defined in the blueprint just after its creation.

Do you have any idea on why these issues occur and how we can fix them?

Thanks,  
Marco

---

<div class="post-metadata">

**Author:** ![AugustMiller](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/augustmiller/32/160_2.png) [@AugustMiller](https://forum.getkirby.com/u/AugustMiller)\
**Post date:** [October 11, 2016, 4:37pm UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/2 "2016-10-11T16:37:27Z")

</div>

Is the production server on the same version of Kirby? Custom user fields were added in 2.2.3.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 12, 2016, 7:31am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/3 "2016-10-12T07:31:40Z")

</div>

If an outdated Kirby version is not the issue, then let us know which version of Kirby is installed on your remote server and pls. post your user blueprint for testing.

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 13, 2016, 8:22am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/4 "2016-10-13T08:22:50Z")

</div>

Yes, we have the same version of Kirby in local development and production: 2.3.2

This is our blueprint:

site/blueprints/users/videoArchiveMember.php

```auto
fields:
  profileTypes:
    label:
      it: Tipologia Profilo
      en: Profile Type
    type: headline
  limitedProfileToggle:
    label:
      it: Vuoi attivare il profilo limitato?
      en: Do you want to activate the limited profile?
    type: toggle
    text: yes/no
    default: yes
  limitSettings:
    label:
      it: Settaggi Limiti
      en: Limits Settings
    type: headline
  limitSettingsInfo:
    label: Info
    type: info
    text: >
      I seguenti settaggi hanno effetto solo se è stato selezionato un profilo limitato.
  temporaryLimitToggle:
    label:
      it: Vuoi attivare il limite temporale?
      en: Do you want to activate the temporary limit?
    type: toggle
    text: yes/no
    default: yes
  startDateTime:
    label:
      en: Data Inizio
      it: Start Date
    type: datetime
    date:
      format: DD-MM-YYYY
    time:
      format: 24
      interval: 15
    required: true
    width: 1/2
  endDateTime:
    label:
      en: Data Fine
      it: End Date
    type: datetime
    date:
      format: DD-MM-YYYY
    time:
      format: 24
      interval: 15
    required: true
    width: 1/2
  line:
    type: line
  playlistLimitToggle:
    label:
      it: Vuoi attivare il limite tematico?
      en: Do you want to activate the thematic limit?
    type: toggle
    text: yes/no
  playlists:
    label: 
      it: Playlist
      en: Playlists
    type: structure
    entry: >
      {{playlist}}
    fields:
      playlist:
        label: Playlist
        type: select 
        options: query
        query:
          page: membership/video-playlist
          value: '{{title}}'
          text: '{{title}}'
          flip: true

```

site/config/config.php

```auto
c::set('roles', array(
  array(
    'id' => 'admin',
    'name' => 'Admin',
    'default' => true,
    'panel' => true
  ),
  array(
    'id' => 'editor',
    'name' => 'Editor',
    'panel' => true
  ),
  array(
    'id' => 'videoArchiveMember',
    'name' => 'Membro Archivio Video',
    'panel' => false
  )
));

```

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 13, 2016, 12:12pm UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/5 "2016-10-13T12:12:35Z")

</div>

> [@marcomezzavilla](#):
>
> site/blueprints/users/videoArchiveMember.php

Is that a yml or a php file?

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 13, 2016, 1:24pm UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/6 "2016-10-13T13:24:51Z")

</div>

Outch. It’s a php file.  
However, after changing it to yml, the result is the same.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 8:35am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/7 "2016-10-14T08:35:31Z")

</div>

I had hoped that would make a difference 😞.

Just to recap: If you create a new user, the custom fields don’t show up as expected. But the custom fields are shown for existing users so that the user file is in fact read?

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 14, 2016, 8:58am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/8 "2016-10-14T08:58:05Z")

</div>

Not exactly 🙂  
The custom fields works as expected in local development. In production – for both old and new users – the custom fields don’t show up at all.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 9:02am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/9 "2016-10-14T09:02:23Z")

</div>

Do you get any PHP errors in your error log?

What about permissions? Is the file readable by the webserver?

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 14, 2016, 9:56am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/10 "2016-10-14T09:56:16Z")

</div>

Permissions seems to be the problem.  
When a new user is created, they’re set to 644.

If I change the new user’s permissions to something more relaxed (even 777, just for test purpose) and i click “Save” again, nothing change.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 9:58am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/11 "2016-10-14T09:58:12Z")

</div>

I actually meant the blueprint file.

But honestly, apart from that, I have no idea what’s going on here. The rest of the panel works as expected, I guess?

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 14, 2016, 10:04am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/12 "2016-10-14T10:04:11Z")

</div>

Yes, the file is readable and everything else works fine.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 10:05am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/13 "2016-10-14T10:05:54Z")

</div>

Have you already tried to reinstall the Kirby and Panel folders?

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 14, 2016, 10:09am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/14 "2016-10-14T10:09:01Z")

</div>

Unfortunately, yes.  
No luck.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 10:12am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/15 "2016-10-14T10:12:48Z")

</div>

Last Idea:

Change the filename to small letters only and the user role as well.

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 14, 2016, 10:22am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/16 "2016-10-14T10:22:04Z")

</div>

Now it’s working correctly! I’m speechless 😮  
Thanks for the tipp!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 10:23am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/17 "2016-10-14T10:23:16Z")

</div>

Glad we finally sorted this out 🙂.

It’s best to always use small letters in all filenames, BTW.

---

<div class="post-metadata">

**Author:** ![marcomezzavilla](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marcomezzavilla/32/10118_2.png) [@marcomezzavilla](https://forum.getkirby.com/u/marcomezzavilla)\
**Post date:** [October 14, 2016, 10:26am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/18 "2016-10-14T10:26:55Z")

</div>

Yes, a lesson I’ve learned the hard way.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 14, 2016, 10:29am UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/19 "2016-10-14T10:29:36Z")

</div>

Unfortunately, I completely overlooked that yesterday and then suddenly when I looked at your filename again, I just dawned on me 😮 Sometimes, you just miss the obvious …

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:55pm UTC](https://forum.getkirby.com/t/panel-issues-custom-user-form-fields/5476/20 "2025-02-06T16:55:01Z")

</div>


