Having problems installing Drupal? See the Installation Guide for more information.

Uninstalling modules fails

Recently I installed Drupal 7.8 and added a few modules and later I decided to uninstall a few modules. So I disabled them in the module list and uninstalled them "successfully" - according to the displayed messages. Now I discovered that these modules are still in the modules list (admin/modules/list) - after "uninstalling" them! But even though they are disabled, they are not available for uninstallation at admin/modules/uninstall. Affected are the modules Wysiwyg, Tweet, Google Plus One +1 and I don't have any other case where uninstallation was successful.

How to add custom content type fields in installation profile?

i am creating an installation profile so i do not have to set up everything again when is start a drupal website.

i am creating the content type page via

$types = array(
array(
'type' => 'page',
'name' => st('Basic page'),
'base' => 'node_content',
'description' => st("Use basic pages for your static content, such as an 'About us' page."),
'custom' => 1,
'modified' => 1,
'locked' => 0
)
);

foreach ($types as $type) {
$type = node_type_set_defaults($type);
node_type_save($type);
node_add_body_field($type);
}

// Insert default pre-defined RDF mapping into the database.
$rdf_mappings = array(
array(
'type' => 'node',
'bundle' => 'page',
'mapping' => array(
'rdftype' => array('foaf:Document'),
),
),
array(
'type' => 'node',
'bundle' => 'article',
'mapping' => array(
'field_image' => array(
'predicates' => array('og:image', 'rdfs:seeAlso'),
'type' => 'rel',
),
'field_tags' => array(
'predicates' => array('dc:subject'),
'type' => 'rel',
),
),
),
);
foreach ($rdf_mappings as $rdf_mapping) {
rdf_mapping_save($rdf_mapping);
}

Odd error! Need help, googling hasn't returned any results!

Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time in drupal_environment_initialize() (line 688 of /home/gridbit/public_html/test/includes/bootstrap.inc)

Above is the error I'm recieving on the brand new drupal install. Version is 7.8

Any ideas what to do to make this work?

Wysiwyg Formatting Not Apparent in Drupal 7

Drupal 7.8
Wysiwyg 7.x-21

I have a simple installation with the above. Using Ckeditor 3.5.4.

Editing pages with Wysiwyg works fine, configured for full and filtered HTML and can indent, add styles (bold/italic etc), have paragraphs etc.

Viewing the pages in edit mode looks fine, but once saved and published all formatting gets lost, i.e. paragraphs and styles are not used. Edit the page again and in the wysiwyg editor all looks nicely formatted.

This is not a theme issue, switching between any theme makes no difference (including Garland).

Fastest method of setting up a new project?

I find that the steps of setting up a new Drupal project can be tiresome. The most tedious of which is the step to install all staple modules (CCK, token, ctools, views, path auto, admin menu, etc.).

How do you speed this process up?

Does Mobile Tools Module needs a second Drupal 7 installation ?

I need to install Mobile Tools Module in order to:

1. to redirect the page towards m.domain.com on a smartphone
2. to perform theme switching but no need of a second instalation of Drupal 7 in the m folder.

Now I hired someone to help me but he installed a second Drupal 7 installation. I think this is a mess while I only need a cleand Drupal 7 installation with redirection and theme switching

I would appreciate any help.

Regards
gingic

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal