Hello
I am trying to make a custom design for a content type (computer name : etablissement2) i have created my custom file :
node--etablissement2.tpl.php
I have placed it in the template folder of the theme
i have clear the cache 4 times with drush using "drush cc all"
Nothing happens..on a clone site where i have disabled completely the cache with "local.settings.php" by adding :

$conf['preprocess_css'] = 0;
$conf['preprocess_js'] = 0;
$conf['cache'] = 0;

I have noticed that when i upgrading and nginx and php-fm restarted i saw the result...so i was wondering how to see the result on my production site without disabling conmpletely the cache just by using the drush command.

Thanks

Comments

omega8cc’s picture

Running drush cc all may be not enough, especially when the site has been renamed, so some entries in the Redis cache couldn't be properly cleared on time. I would also recommend to manually delete CSS and JS aggregated files, since they are no longer deleted since Drupal 7 on cache clear. If this still doesn't help, force Redis restart (not PHP-FPM restart) with:

/etc/init.d/redis-server stop
killall -9 redis-server
rm -f /var/run/redis.pid
rm -f /var/lib/redis/*
/etc/init.d/redis-server start
omega8cc’s picture

Status: Active » Closed (cannot reproduce)

Closing due to a lack of response.