Hie,

It's still me ...
3 points :

1 : small mistake in my last file overide file : a blank before :hoover
2 : how make your theme ( = default theme) when the site is in maintenance instead the administration theme
3 : I use a favicon; with firefox, I can see it in the url but not in my personnal bar. I see Drupal one although I put mine in the darkgrail repertory.

Thank you

Comments

gausarts’s picture

Hi,

Thanks for moving it yourself. I was still wondering how to move it :)

1. In your last patch, I saw you reference a background image, but I didn't see the actual image mentioned. Unless you mention it in another file, I believe that was the problem

#navbar ul.menu li a {
	background:transparent;
}
#navbar ul.menu li :hover,
#navbar ul.menu li.hover,
#navbar ul.menu li .active-trail {
	background-position : left;
}
#navbar ul.menu li a:hover,
#navbar ul.menu li :hover a,
#navbar ul.menu li.hover a,
#navbar ul.menu li .active-trail a{
	background-position : right;
	color: #fff;
}

2. If you have trouble to create a custom maintenance page, see http://drupal.org/node/195435

3. In the meantime, try putting favicon.ico in your root where drupal installed as well, in the same level with robots.txt. I'll try to see more info about it.

Hope that helps.

altbzh’s picture

Hie,

Thank you :
- background : For dropdown menu, I adapts CSS from your's and Acquia that explain "background" ...
- I put favicon at this place but I think some the favicon which is used beside your url in the adress field of your browser is from your site theme but perhaps not the one which is used in your favorite or personal bar. I have not made all the tests.
- Maintenance theme : I think it's the administration one ... I go and follow your link ...

Heve a good day ...

altbzh’s picture

Hie,

For maintenance page , I follows the link:
- uncomment settings file (with 'maintenance_theme' ='darkgrail)
- copy the template file from system to darkgrail theme.

Actually, I have 2 warnings and no theme .... :

* warning: array_keys() [function.array-keys]: The first argument should be an array in /homez.143/altbzh/www/drupal/includes/theme.maintenance.inc on line 217.
* warning: Invalid argument supplied for foreach() in /homez.143/altbzh/www/drupal/includes/theme.maintenance.inc on line 217.

see : http://www.alain-lambert.net

Thanks ....

gausarts’s picture

Try only to activate 3 lines for now, see:

1. $conf = array(
2. 'maintenance_theme' => 'darkgrail',
3. );//Remove the leading hash signs activate the closing

$conf = array(
#   'site_name' => 'My Drupal site',
#   'theme_default' => 'minnelli',
#   'anonymous' => 'Visitor',
/**
 * A custom theme can be set for the off-line page. This applies when the site
 * is explicitly set to off-line mode through the administration page or when
 * the database is inactive due to an error. It can be set through the
 * 'maintenance_theme' key. The template file should also be copied into the
 * theme. It is located inside 'modules/system/maintenance-page.tpl.php'.
 * Note: This setting does not apply to installation and update pages.
 */
  'maintenance_theme' => 'darkgrail',
/**
 * reverse_proxy accepts a boolean value.
 *
 * Enable this setting to determine the correct IP address of the remote
 * client by examining information stored in the X-Forwarded-For headers.
 * X-Forwarded-For headers are a standard mechanism for identifying client
 * systems connecting through a reverse proxy server, such as Squid or
 * Pound. Reverse proxy servers are often used to enhance the performance
 * of heavily visited sites and may also provide other site caching,
 * security or encryption benefits. If this Drupal installation operates
 * behind a reverse proxy, this setting should be enabled so that correct
 * IP address information is captured in Drupal's session management,
 * logging, statistics and access management systems; if you are unsure
 * about this setting, do not have a reverse proxy, or Drupal operates in
 * a shared hosting environment, this setting should be set to disabled.
 */
#   'reverse_proxy' => TRUE,
/**
 * reverse_proxy accepts an array of IP addresses.
 *
 * Each element of this array is the IP address of any of your reverse
 * proxies. Filling this array Drupal will trust the information stored
 * in the X-Forwarded-For headers only if Remote IP address is one of
 * these, that is the request reaches the web server from one of your
 * reverse proxies. Otherwise, the client could directly connect to
 * your web server spoofing the X-Forwarded-For headers.
 */
#   'reverse_proxy_addresses' => array('a.b.c.d', ...),
);//Remove the leading hash signs activate the closing

This should give you darkgrail as your maintenance theme. Use the maintenance-page.tpl that ships with darkgrail first. Later you can always change it.

Put your site offline, and see in another browser.

altbzh’s picture

Hie,

Sorry, That is what I have done in the settings file but with a fault to darkgrail !!! (I have forgetten the "k" ....)

gausarts’s picture

I see, typo, then :)

Is it okay now?

altbzh’s picture

Status: Active » Closed (fixed)

yes it is, thank you