CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Unnecessary Objects
Pages: [1]

Author Topic: Unnecessary Objects  (Read 1659 times)

James Tank

  • Guest
Unnecessary Objects
June 05, 2009, 09:14:35 pm
I am looking at the nearly 50M of objects that exist within the CiviCRM directory that I have unzipped from the civicrm-2.2.5-drupal.tar.gz file. I would like to know if ALL of these objects are needed on the server to use the application under a Drupal environment. For example, are the "joomla" and "standalone" directories needed by either the installation or productional environment? In addition, are there directories that are only needed during the install and can be later removed from a production environment?

JeffP

  • Guest
Re: Unnecessary Objects
June 23, 2009, 05:32:10 am
I'd like to second this request.  I'm seeing a problem where there appears to be a problem with tinyMCE running (very slowly) even though I have it disabled.  I'd like to know what I can delete without side-effects.

LenInkster

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Unnecessary Objects
July 07, 2009, 03:12:37 am
Likewise,

For the Drupal install, the resultant install has a drupal folder in it.  This has in it what looks like Drupal install code, plus another sub-folder called modules, which seem to have more Drupal modules. Do you have any idea what these are for, or why they are here?  Surely in order for them to work they should be in the sites/all/modules folder of drupal, not the sites/all/modules/civicrm/drupal/modules?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Unnecessary Objects
July 07, 2009, 07:37:38 am

no, drupal has no such restriction. all module files need to be under the modules directory or sites/*/modules. they could be in sub-directories

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Unnecessary Objects
July 09, 2009, 07:18:22 pm
Is there an answer to this post?  I'm curious if all the files are necessary.

I would assume that all files are required but it does appear by the naming convention that there are unnecessary files in the extracted civicrm folder with sub folders named Drupal, Joomla, standalone etc.

It took an incredibly long time to upload.  Longer then Drupal and many other modules combined.

Great New Book btw.  I have only just now had tome to actually read it.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Unnecessary Objects
July 09, 2009, 09:23:48 pm

yes they are some unneeded files in the distro, but they do not affect the size significantly. We do not think it is worth the time and effort to remove these files currently.

If you still want CiviCRM to ship with a minimal set of files, consider submitting a patch that does the needful. The scripts are in the distmaker directory on svn


lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Unnecessary Objects

This forum was archived on 2017-11-26.