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

Drupal 7 - civicrmtheme can't differentiate between public & admin pages if url aliasing is on

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.1
    • Component/s: None
    • Labels:
      None

      Description

      The args aquired by the civicrmtheme_custom_theme fn differ as follows

      Clean URLs - alias on = civicrm/contribute/transact?reset=1&id=2
      Clean URLs - alias off = civicrm/contribute/transact
      Dirty URLs alias off = civicrm/contribute/transact
      Dirty URLs alias on = civicrm/contribute/transact?reset=1&id=2

      So, it seems to me we could simply truncate at the ? in the drupal civicrmtheme module before we start

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Time Spent - 10 minutes Remaining Estimate - 20 minutes
                20m
                Logged:
                Time Spent - 10 minutes Remaining Estimate - 20 minutes
                10m