Body: <p>We have two profiles set up to be used for events: one for the top of the page, one for the bottom. Everything is working fine on our Drupal7 site.</p>
  <p>I just did the process for upgrading to D10 (install Civi, import old structure into new db, import old data into new db, connect new db in the settings file).</p>
  <p>The profile for the top of the page on event registrations is completely missing. I tried creating a new profile to make certain there wasn't something wrong with the one we were using. The new one only had first name, last name, and email on it. It doesn't show, either. The bottom profile fields are showing fine.</p>
  <p>I checked the source for the page and the fields aren't there. Same thing happens when I switch to a different theme (right now I'm just using the default Olivero theme while we finish development).</p>
  <p>I have debugging and backtrace turned on, but nothing is popping up for the page.</p>
  <p>The page knows the fields should be there, as if you try to use the page to sign up for an event, it tells you that the mandatory fields (name and email) aren't filled out.</p>
  <p>Using CiviCRM 5.79.0 on Drupal 10.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T01:30:27.887Z
Comments.Text: I can't reproduce on a simple setup. You could try to debug what is happening in [this function](https://github.com/civicrm/civicrm-core/blob/5b538fb795f2d2c21fa0fcb35a00666475a4e510/CRM/Event/Form/Registration.php#L574) when `$name=='customPre'` ? Although it's hard to think why it would depend on CMS. It does look at permissions, which might be different, although I'd expect any checks to be the same for top and bottom sections.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T02:21:42.903Z
Comments.Text: How would I do that?
  
  Oh, and here's a sample link: https://nl-sandbox.xyz/civicrm/event/register?reset=1&id=5941
Comments.UserDisplayName: Jenni Simonis
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T02:30:38.503Z
Comments.Text: Is your top profile called "Contact Information"? That seems to be displaying. If you inspect the html it's in a `<div>` with `custom_pre-section`, and that contains a `<fieldset>` with `crm-profile-id-36`.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T23:01:56.327Z
Comments.Text: Yes, but it's not showing for me when I inspect the html. Even when I search for crm-profile-id-36
Comments.UserDisplayName: Jenni Simonis
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T23:04:40.200Z
Comments.Text: That's really odd. It's definitely there for me `<fieldset class="crm-profile crm-profile-id-36 crm-profile-name-Trainings_Contact_Information"><legend>Contact Information</legend>`. Try a different browser to see if it's maybe a browser cache thing? Try as anonymous?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T23:14:49.720Z
Comments.Text: Yes, that is really weird. It's showing in Firefox, but not Chrome. Not even in incognito. Thanks. More problems to run down, I guess...
Comments.UserDisplayName: Jenni Simonis
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-26T23:23:43.990Z
Comments.Text: If it helps, which it probably doesn't, I was using firefox but it also shows for me in chrome. So maybe a chrome plugin you have or ???
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-11-27T05:20:25.013Z
Comments.Text: Yeah, I can get it to show for me in Chrome when I'm not logged in. But nada when I'm logged in. So weird.
Comments.UserDisplayName: Jenni Simonis
Tags: <civievent>
Title: Event profile missing from page
ThreadText: # Event profile missing from page
  
  (Asked by: username_0 on 2024-11-22)
  
  We have two profiles set up to be used for events: one for the top of the page, one for the bottom. Everything is working fine on our Drupal7 site.
  
  I just did the process for upgrading to D10 (install Civi, import old structure into new db, import old data into new db, connect new db in the settings file).
  
  The profile for the top of the page on event registrations is completely missing. I tried creating a new profile to make certain there wasn't something wrong with the one we were using. The new one only had first name, last name, and email on it. It doesn't show, either. The bottom profile fields are showing fine.
  
  I checked the source for the page and the fields aren't there. Same thing happens when I switch to a different theme (right now I'm just using the default Olivero theme while we finish development).
  
  I have debugging and backtrace turned on, but nothing is popping up for the page.
  
  The page knows the fields should be there, as if you try to use the page to sign up for an event, it tells you that the mandatory fields (name and email) aren't filled out.
  
  Using CiviCRM 5.79.0 on Drupal 10.
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: I can't reproduce on a simple setup. You could try to debug what is happening in [this function](https://github.com/civicrm/civicrm-core/blob/5b538fb795f2d2c21fa0fcb35a00666475a4e510/CRM/Event/Form/Registration.php#L574) when `$name=='customPre'` ? Although it's hard to think why it would depend on CMS. It does look at permissions, which might be different, although I'd expect any checks to be the same for top and bottom sections.  
  > **username_0**: How would I do that?  Oh, and here's a sample link: https://nl-sandbox.xyz/civicrm/event/register?reset=1&id=5941  
  > **username_1**: Is your top profile called "Contact Information"? That seems to be displaying. If you inspect the html it's in a `<div>` with `custom_pre-section`, and that contains a `<fieldset>` with `crm-profile-id-36`.  
  > **username_0**: Yes, but it's not showing for me when I inspect the html. Even when I search for crm-profile-id-36  
  > **username_1**: That's really odd. It's definitely there for me `<fieldset class="crm-profile crm-profile-id-36 crm-profile-name-Trainings_Contact_Information"><legend>Contact Information</legend>`. Try a different browser to see if it's maybe a browser cache thing? Try as anonymous?  
  > **username_0**: Yes, that is really weird. It's showing in Firefox, but not Chrome. Not even in incognito. Thanks. More problems to run down, I guess...  
  > **username_1**: If it helps, which it probably doesn't, I was using firefox but it also shows for me in chrome. So maybe a chrome plugin you have or ???  
  > **username_0**: Yeah, I can get it to show for me in Chrome when I'm not logged in. But nada when I'm logged in. So weird.  
  
  ---
  
  ## 0 answers
  
  