Details
-
Type:
Task
-
Status: Done/Fixed
-
Priority:
Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2
-
Fix Version/s: 3.2
-
Component/s: CiviCRM Profile
-
Labels:None
Description
Currently profile uses table layout and with our new form styling does not integrate properly when embedded in Drupal pages. Switching Dynamic.tpl to use <div>'s for form markup. Also, suppressing use of civcrm.css when profile is embedded in user registration or 'my account' - which allows profile form elements to use CMS theme styling on those pages.
Attachments
Issue Links
- supplements
-
CRM-6204 Checkbox custom field when added to drupal registration profile displays with label right-aligned
-
- Done/Fixed
-
Suppressing civicrm.css styles for user registration and my account pages turned out to cause problems with checkbox and radio button fields - so I reverted that piece. There is a comment in Dynamic.tpl explaining how to do this for themers who need that.
{* Replace div id with this logic if you want CMS account create and CMS edit to use CMS theme styles: id="
{if $mode eq 4}crm-container
{else}crm-profile-block
{/if}" *}