Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17228

HTML Form snippets from profiles should use absolute URLs

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.8
    • Fix Version/s: 4.7
    • Component/s: CiviCRM Profile
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      When selecting 'HTML Form Snippet' for any given profile from the profile listings page (/civicrm/admin/uf/group?reset=1) the code that is presented uses relative URLs.
      This is counter to the on-screen guidance information, which states clearly that "You can copy this HTML code and paste it into any block or page on ANY website where you want to collect contact information."
      As it stands this won't work, and the code needs to be edited to alter al of the URLs to be absolute.
      See also http://civicrm.stackexchange.com/questions/540/why-does-the-html-snippet-for-a-profile-not-include-the-url-of-the-site-for-link

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              upperholme Graham Mitchell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: