CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Multiple profile fields on registration form, breaks markup (drupal)
Pages: [1]

Author Topic: Multiple profile fields on registration form, breaks markup (drupal)  (Read 2132 times)

Danny_Joris

  • Guest
Multiple profile fields on registration form, breaks markup (drupal)
September 13, 2010, 11:46:26 pm
Hello,

I've encountered a quite annoying bug with the markup. I have multiple Profile Fields on the user registration page. In Chrome & Safari, the right-sidebar region and the footer are rendered completely wrong. Firefox looks like it can fix the problem. In chrome it looks like this for example: http://www.dannyjoris.be/files/fora/civicrm_sidebar.png The right sidebar is positioned somewhere quite random.

When I first encountered this issue, I was using 3.2.1 and the markup of the registration form had multiple identical ID's on one page, so I thought it would be solved in version 3.2.3, which I've installed now. Unfortunately, the issue persists.

This is the issue I thought would fix it: http://issues.civicrm.org/jira/browse/CRM-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

There are quite some markup errors on the registration form. Some might be mine, but many of them only occur on the registration page: http://validator.w3.org/check?uri=http%3A%2F%2Fkbvr.dotprojects.be%2Fuser%2Fregister&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.1

Any feedback is highly appreciated.
Cheers,
Danny

Edit: the registration page counts 24 Errors, 58 warning(s) while other pages count 6 Errors, 28 warning(s)
« Last Edit: September 13, 2010, 11:49:53 pm by Danny_Joris »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Multiple profile fields on registration form, breaks markup (drupal)
September 18, 2010, 03:48:11 pm
I think you'll need to either analyze the markup further to figure out what's causing the problem(s) OR replicate an event configuration on the public demo that exhibits the problem so other folks can examine it / help debug.
Protect your investment in CiviCRM by  becoming a Member!

Danny_Joris

  • Guest
Re: Multiple profile fields on registration form, breaks markup (drupal)
September 19, 2010, 01:48:17 am
Hi, thanks for your feedback.

I replicated the issue in on the demo site. Same issue there: adding one profile set to the user registration form works fine. 2 or more profile sets make the right sidebar output completely wrong in Chrome and Safari. It does work fine in the latest Firefox and IE7.

Some screenshots - 2 or more profile sets:
http://dannyjoris.be/files/fora/civicrm_chrome_top.png
http://dannyjoris.be/files/fora/civicrm_chrome_bottom.png

1 profile set:
http://dannyjoris.be/files/fora/civicrm_chrome_one_profile_field.png

Any tips where I could start debugging? This is my first civicrm install ever, so I don't know all the in's and out's of it yet.

Danny

Danny_Joris

  • Guest
Re: Multiple profile fields on registration form, breaks markup (drupal)
September 19, 2010, 10:12:37 am
It looks like all the profile sets are nested into each other. I wonder why this happens:

http://www.dannyjoris.be/files/fora/civicrm_chrome_nested_profile_sets.png

I would expect them to be outputted next to or below each other, no?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Multiple profile fields on registration form, breaks markup (drupal)
September 19, 2010, 01:23:14 pm
A </div> tag was missing in the looping logic for the > 1 profile condition. Issue filed and fixed for 3.2.4:

http://issues.civicrm.org/jira/browse/CRM-6850
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Multiple profile fields on registration form, breaks markup (drupal)

This forum was archived on 2017-11-26.