Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 4.3.5, 4.3.7
-
Fix Version/s: None
-
Component/s: CiviCRM Profile, WordPress Integration
Description
Wordpress Version: 3.6.1
CiviCrmVersion: Tested on 4.3.5 and 4.3.7
Steps to reproduce:
1. Login to wordpress backend
2. Create new page
3. Click CiviCRM button above text editor, beside "add media"
4. Select "Profile", "New Individual" and "Create" and click to insert form
5. Publish page
The result is I end up with an extra closing div tag before the closing form tag. This breaks my layout. It shows a bunch of related errors on the W3C validator. I got the same result when using a user-defined profile, and when cutting and pasting the html via the HTML form snippet feature.
For my installation I fixed this by deleting the closing div tag on line 284 of templates/CRM/Profile/Form/Dynamic.tpl, however I have no idea if this will affect other forms.
Attachments
Issue Links
- duplicates
-
CRM-13433 Profile form markup is messed up on Drupal register form and edit form
- Done/Fixed