HI Folks,
I created "/sites/all/themes/bartik-cjm/bartik-cjm.info" with exactly three lines:
name = Bartik-cjm base theme = Bartik core = 7.x
This is the simplest case of sub-theming -- Change the name only. I expected to see a "Bartik-cjm" theme available on my "Appearance" page, and I found none. Bummer. So, I copied bartik-cjm.info to themes/bartik-cjm/bartik-cjm.info, expecting that should give me a renamed Bartik theme. No dice.
I have diligently cleared caches and restarted servers to avoid any "Type 2" errors, but still I see no indication that I have created a valid sub-theme.
What have I done wrong?
Thanks for the help,
Chris.
You also have to change all occurrences of Bartik in the files to your new name.
On Wed, Oct 9, 2013 at 3:43 PM, Chris Miller cjm@tryx.org wrote:
HI Folks,
I created "/sites/all/themes/bartik-cjm/bartik-cjm.info" with exactly three lines:
name = Bartik-cjm base theme = Bartik core = 7.x
This is the simplest case of sub-theming -- Change the name only. I expected to see a "Bartik-cjm" theme available on my "Appearance" page, and I found none. Bummer. So, I copied bartik-cjm.info to themes/bartik-cjm/ bartik-cjm.info, expecting that should give me a renamed Bartik theme. No dice.
I have diligently cleared caches and restarted servers to avoid any "Type 2" errors, but still I see no indication that I have created a valid sub-theme.
What have I done wrong?
Thanks for the help,
Chris.
-- [ Drupal support list | http://lists.drupal.org/ ]
From: "Walt Daniels" wdlists@gmail.com To: support@drupal.org Sent: Wednesday, October 9, 2013 12:52:41 PM Subject: Re: [support] Trivial sub-theme: Renaming Bartik
You also have to change all occurrences of Bartik in the files to your new name.
I don't think there are any such occurrences. Which "files" do you mean?
Typically in the .info file. (you got that one) I suspect that themes have to have support for subthemes and Bartik probably doesn't so you actually have to copy the entire theme and change all occurrences of Bartik everywhere. some of the directories have the bartik in their names..
On Wed, Oct 9, 2013 at 4:02 PM, Chris Miller cjm@tryx.org wrote:
*From: *"Walt Daniels" wdlists@gmail.com *To: *support@drupal.org *Sent: *Wednesday, October 9, 2013 12:52:41 PM *Subject: *Re: [support] Trivial sub-theme: Renaming Bartik
You also have to change all occurrences of Bartik in the files to your new name.
I don't think there are any such occurrences. Which "files" do you mean?
1914 Terracina Drive, Suite 100, Sacramento, CA 95834 *8:00am - 4:00pm M-F* 916.974.0424
Chris.