Drupal is up and running but how do I ...?

Can't seem to search...

I recently setup a personal site for myself using Drupal. I enabled the search module and set it up t allow anonymous users to search for content. Unfortunately, it doesn't seem like the search tool is working for me. Whether logged in or not, I type in words that I KNOW are which are viewable and it nothing shows up. Is there something else I need to setup in order for this module to work for my site?

Controlling Menus to create multiple sites - without going multi-site on the back end?

There are a lot of great posts on how to do various flavors of multi-site installations - but I hope what I want to do can be achieved in an easier fashion with some clever menu management.

Basically, I want to have a Master site and two child sites that behave like this...

2 sites with same code base

Hello, I am pretty new to Drupal, but have a fair amount of experience with Joomla! Our company wants to switch over from Joomla to Drupal, and is attempting to set up 2 Drupal staging sites (sundayenergy.com and sundayenergy.com/1se) to get the basics down before the content goes in. Eventually my supervisor wants to have one installation of Drupal and one database to control 2 different domain names. He has set it up: server --> public html --> 1se --> sites --> sundayenergy.com and sundayenergy.com.1se

The problem is, when you go to the former, the page comes up as desired. When you go to the 1se page, you get a 404 File Not Found error. In looking for guidance, I read this on the forum:

  1. Basically, in the sites directory create as many subdirectories with the domain names you want. In each, put a settings.php file.
  2. The settings.php file will have the domain name in the $base_url.
  3. If you point the various settings.php to different databases, or the same database with different $db_prefix, then the sites are completely independent.
  4. If you point them to the same database, then they are just aliases (same content, same users, ...etc.)

Clarifications:

  • Point 1, I believe we have done that correctly.
  • Point 2: this appears to be correct in the .php
  • Point 3: In this case, I think we want to point the settings to the same database, but have a different $db_prefix. Currently our .php files have the setting: $db_prefix = ''
  • Point 4: This is okay, just as long as we can have separate directories, domain names, and themes

how to turn off authoring info and date

hi

I am trying to turn off the authoring info and date info for pages. I can turn this info off for most themes but when I use the meta theme this info will not go away does anybody have any idears on how I can turn this info off.

Thanks

Actions module problem

After having a couple of problems with the actions module, I read through some threads here suggesting that the cvs version may have been on the 4.7 download page by mistake and downloaded the 4.7 version again today and installed. This fixed the problem with the settings page not showing up, but now I get my error log filled with these errors:

array_shift() [function.array-shift]: The argument should be an array in \includes\form.inc on line 496.

CSS file for each node

I've written a module that imports html pages and displays them as nodes. I want to be able to define a custom CSS file for each imported html page as well. I've read about drupal_set_html_head and theme_add_css (I think that's the name) but I don't really understand where I'd put them in my module code. I need read a field from the database that contains the path to the custom css file, and then cause Drupal to load that CSS file when the node is loaded.

Thanks,

duggoff

Pages

Subscribe with RSS Subscribe to RSS - Post installation