Posted by webchick on November 21, 2006 at 4:17pm
7 followers
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | base system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
For distributions, it might be nice to make sure that the word "Drupal" is not hard-coded to appear in any user-facing text (ex: variable_get('site_name', 'Drupal'), code (ex. drupal.js), or other output (ex: X-Mailer: Drupal), replaced instead with the name of the profile that's installed.
This is going to be way too much work for D5 and is remains to be seen as to whether or not it represents a serious enough problem for distribution authors to go into rolling a huge patch for this. However, I'm creating a postponed talk for it just in case.
Comments
#1
To echo my comment on issue #97941: String freeze: make site_name's default value consistent.
The details of an implementations shouldnt be shown to any end user (read: visitor) in my opinion. Genericizing it to the degree possible is a feature for future distributions and private label users who dont want or need it known that drupal is running under the hood. The people who need to know it is running drupal will know it is running drupal.
We use clean urls to provide memorable and implementation agnostic addresses and i think this is a natural extension of "drupal as a tool not a destination". As much as I like to see it everywhere I just don't see a valid reason to be flashing "Drupal" around on everyones sites.
#2
Agreed, for a lot of projects I work on they want a white label solution. I have a recipe like this which I keep in SVN.
#3
I need this as well. With Drupal 4.7 one could use code a phptemplate_stylesheet_import() function in template.php to rename drupal.css to something else:
<?phpfunction phptemplate_stylesheet_import($stylesheet, $media = 'all') {
if ( strpos($stylesheet, 'misc/drupal.css') === false ) {
return theme_stylesheet_import($stylesheet, $media);
} else {
return theme_stylesheet_import(base_path() . 'misc/site.css', $media);
}
}
?>
However, I could find nothing in 5.x to rename drupal.js to something else.
#4
#5
No reason for this to be postponed anymore. We're in code thaw now. :)
#6
subscribe
#7
see also : #182991: Standardize on "internal path" instead of "Drupal path" or "system path"
#8