CRM-6206 Profile Edit form - apply new div-based markup and fix display when embedded in Drupal User Reg and My Account

    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

            Activity

            [CRM-6206] Profile Edit form - apply new div-based markup and fix display when embedded in Drupal User Reg and My Account
            David Greenberg added a comment -

            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}

            " *}

              People

              • Assignee:
                kyle jaster
                Reporter:
                David Greenberg

                Dates

                • Created:
                  Updated:
                  Resolved: