Home ›
Serving static content from a different domain in Drupal 7 | drupal4huServing static content from a different domain in Drupal 7 | drupal4hu
Submitted by Benjamin Melançon on August 12, 2010 - 12:50am
Link Title and URL:
Serving static content from a different domain in Drupal 7 | drupal4hu It seems that some theme stuff (like the favicon and the logo and probably unaggregated CSS/JS) is passed as Drupal paths into file_create_url while aggregated CSS and JS is served from public://. So we need to implement file_url_alter and override the getExternalUrl of the DrupalPublicWrapper class
More like this
- Use Drush to sync files from one site to another
- On Drupal 7 modules | drupal4hu
- Serving up a different page.tpl.php for different browser types (i.e., IE6) with your Drupal theme
- hook_module_implements_alter called before schema is installed
- Reducing server resource utilization for busy sites by implementing fast 404s in Drupal | 2bits.com, Inc. - Drupal Development, Customization and Consulting


Comments
Post new comment