Closed (fixed)
Project:
Basic
Version:
6.x-2.9
Component:
Documentation
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
18 Feb 2010 at 23:50 UTC
Updated:
30 Jun 2010 at 01:00 UTC
This is what the README.txt says in 6.x-2.9:
- if you want to change the name of the theme from 'basic' to another name like 'mytheme',
follow these steps (to do BEFORE enabling the theme) :
- rename the theme folder to 'mytheme'
- rename basic.info to mytheme.info
- Edit basic.info and change the name, description, projet (can be deleted)
- In basic.info replace [basic_block_editing] and [basic_rebuild_registry]
by [mytheme_block_editing] and [mytheme_rebuild_registry]
- In template.php change each iteration of 'basic' to 'mytheme'
- In theme-settings.php change each iteration of 'basic' to 'mytheme'
First, this part:
- rename basic.info to mytheme.info
- Edit basic.info and change the name, description, projet (can be deleted)
- In basic.info replace [basic_block_editing] and [basic_rebuild_registry]
by [mytheme_block_editing] and [mytheme_rebuild_registry]
Wouldn't it be less confusing if the renaming was done after, like this:
- Edit basic.info and change the name, description, project (can be deleted)
- In basic.info replace [basic_block_editing] and [basic_rebuild_registry]
by [mytheme_block_editing] and [mytheme_rebuild_registry]
- Rename basic.info to mytheme.info
And what about [basic_zen_tabs] and [basic_wireframe], shouldn't those be changed as well?
Wouldn't it be easier to just change every occurrence of basic to mytheme in basic.info, just like the recommendation for template.php and theme-settings.php?
(And btw, core = "6.x" and project = "basic" is duplicated in the basic.info, because the drupal.org packaging script adds it in the bottom.)
Comments
Comment #1
drupov commentedAnd what about [basic_zen_tabs] and [basic_wireframe], shouldn't those be changed as well?
subscribe...
Comment #2
SteveK commentedAgreed.
How does this look for theme setting replacements?
Comment #3
SteveK commentedfixed in newer versions.