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

XML changes needed for install with Joomla! 1.5 RC3

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Installing in Joomla! 1.5 RC3 I needed to make some changes to the xml file.

      This is what I changed

      from:
      <installfile><filename>install.civicrm.php</filename></installfile>
      <uninstallfile><filename>uninstall.civicrm.php</filename></uninstallfile>
      <menu >CiviCRM</menu>
      <submenu>
      <menu link="civicrm/dashboard&reset=1">CiviCRM Home</menu>
      <menu link="civicrm/contact/search&reset=1">Find Contacts</menu>
      <menu link="civicrm/group&reset=1">Manage Groups</menu>
      <menu link="civicrm/import&reset=1">Import Contacts</menu>
      <menu link="civicrm/contribute&reset=1">CiviContribute</menu>
      <menu link="civicrm/member&reset=1">CiviMember</menu>
      <menu link="civicrm/event&reset=1">CiviEvent</menu>
      <menu link="civicrm/admin&reset=1">Administer CiviCRM</menu>
      </submenu>

      To
      <installfile>install.civicrm.php</installfile>
      <uninstallfile>uninstall.civicrm.php</uninstallfile>
      <administration>

      <menu link="option=com_civicrm&task=civicrm/dashboard&reset=1">CiviCRM Home</menu>
      <submenu>
      <menu link="option=com_civicrm&task=civicrm/dashboard&reset=1">CiviCRM Home</menu>
      <menu link="option=com_civicrm&task=civicrm/contact/search&reset=1">Find Contacts</menu>
      <menu link="option=com_civicrm&task=civicrm/group&reset=1">Manage Groups</menu>
      <menu link="option=com_civicrm&task=civicrm/import&reset=1">Import Contacts</menu>
      <menu link="option=com_civicrm&task=civicrm/contribute&reset=1">CiviContribute</menu>
      <menu link="option=com_civicrm&task=civicrm/member&reset=1">CiviMember</menu>
      <menu link="option=com_civicrm&task=civicrm/event&reset=1">CiviEvent</menu>
      <menu link="option=com_civicrm&task=civicrm/admin&reset=1">Administer CiviCRM</menu>
      </submenu>

      I did this in 1.8 and looking at 1.9 it looks as though the same changes will be needed. I'm not sure, but this may be due to a change that was made in handling of baseurl. (See:
      http://groups.google.com/group/joomla-devel/browse_thread/thread/1ce1f3ce77b91d8a/107f967b81e6713c?lnk=st&q=joomla+baseurl#107f967b81e6713c
      http://groups.google.com/group/joomla-devel/browse_thread/thread/1ce1f3ce77b91d8a/1d03265a877d22ed#1d03265a877d22ed

      Without these changes the links on the menu do not create valid urls.

      Removing the <filename> tag from inside the <install> and <uninstall> tags is because Joomla! 1.5 requires strict xml.

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              mcsmom Elin Waring
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: