Hi,
I made a small change for an extra logo to the Bartik page.tpl.php file /themes/bartik/templates. This has the obvious disadvantage when upgrading say from 7.9 to 7.10 as it gets overwritten.
Is there a way to put a changed file somewhere else so that the change can get merged with future updates? http://drupal.org/node/190815 mentions copying it to your theme folder. Is this /sites/all/themes? I'm looking at the suggestions as well, but can't f
HI Alex, you can use sub theme. Create a sub theme in site/all/themes/yourtheme. so you can change batik theme.
2012/1/30 Alex Schaft alex@schaft.co.za
Hi,
I made a small change for an extra logo to the Bartik page.tpl.php file /themes/bartik/templates. This has the obvious disadvantage when upgrading say from 7.9 to 7.10 as it gets overwritten.
Is there a way to put a changed file somewhere else so that the change can get merged with future updates? http://drupal.org/node/190815 mentions copying it to your theme folder. Is this /sites/all/themes? I'm looking at the suggestions as well, but can't f
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi,
On 2012/01/30 09:16 AM, Biên Hoàng wrote:
HI Alex, you can use sub theme. Create a sub theme in site/all/themes/yourtheme. so you can change batik theme.
Ok, I added a sub theme, and drupal is picking it up. I have just the following in there
name = My Bartik description = Extension to bartik for extra logl core = 7.x base theme = bartik
I have kept it to this minimum to minimze the amount of changes made, but my sub theme now loses the Bartik colour configuration part, and doesn't seem to read page.tpl.php in its own template sub folder either.
I have
/sites/all/themes/mybartik
with mybartik.info
and then
/sites/all/themes/mybartik/templates
with my modified page.tpl.php
What am I doing wrong?
Hi Alex, You want bartik color you must add "stylesheets[all][] = css/colors.css" in mybartik.info. with page.tpl.php you can change to page--front.tpl.php. http://opensourcecms.pro/drupal/howto-drupal-7-sub-theme-creation-step-by-st...
Best regard,
2012/1/30 Alex Schaft alex@schaft.co.za
Hi,
On 2012/01/30 09:16 AM, Biên Hoàng wrote:
HI Alex, you can use sub theme. Create a sub theme in site/all/themes/yourtheme. so you can change batik theme.
Ok, I added a sub theme, and drupal is picking it up. I have just the following in there
name = My Bartik description = Extension to bartik for extra logl core = 7.x base theme = bartik
I have kept it to this minimum to minimze the amount of changes made, but my sub theme now loses the Bartik colour configuration part, and doesn't seem to read page.tpl.php in its own template sub folder either.
I have
/sites/all/themes/mybartik
with mybartik.info
and then
/sites/all/themes/mybartik/templates
with my modified page.tpl.php
What am I doing wrong?
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi,
Thanks for the assist. Got it right.
Would be nice if the Drupal global settings could be expanded for this kind of this, and then filter through to themes
Cheers, Alex
On 2012/01/30 10:52 AM, Biên Hoàng wrote:
Hi Alex, You want bartik color you must add "stylesheets[all][] = css/colors.css" in mybartik.info http://mybartik.info. with page.tpl.php you can change to page--front.tpl.php. http://opensourcecms.pro/drupal/howto-drupal-7-sub-theme-creation-step-by-st...
Best regard,
2012/1/30 Alex Schaft <alex@schaft.co.za mailto:alex@schaft.co.za>
Hi, On 2012/01/30 09:16 AM, Biên Hoàng wrote: > HI Alex, > you can use sub theme. Create a sub theme in > site/all/themes/yourtheme. so you can change batik theme. > Ok, I added a sub theme, and drupal is picking it up. I have just the following in there name = My Bartik description = Extension to bartik for extra logl core = 7.x base theme = bartik I have kept it to this minimum to minimze the amount of changes made, but my sub theme now loses the Bartik colour configuration part, and doesn't seem to read page.tpl.php in its own template sub folder either. I have /sites/all/themes/mybartik with mybartik.info <http://mybartik.info> and then /sites/all/themes/mybartik/templates with my modified page.tpl.php What am I doing wrong? -- [ Drupal support list | http://lists.drupal.org/ ]-- Hoàng Biên 0908830099
Just a small issue. The header displayed when for example editing a user does not display the new theme's template
On 2012/01/30 11:09 AM, Alex Schaft wrote:
Hi,
Thanks for the assist. Got it right.
Would be nice if the Drupal global settings could be expanded for this kind of this, and then filter through to themes
Cheers, Alex
On 2012/01/30 10:52 AM, Biên Hoàng wrote:
Hi Alex, You want bartik color you must add "stylesheets[all][] = css/colors.css" in mybartik.info http://mybartik.info. with page.tpl.php you can change to page--front.tpl.php. http://opensourcecms.pro/drupal/howto-drupal-7-sub-theme-creation-step-by-st...
Best regard,
2012/1/30 Alex Schaft <alex@schaft.co.za mailto:alex@schaft.co.za>
Hi, On 2012/01/30 09:16 AM, Biên Hoàng wrote: > HI Alex, > you can use sub theme. Create a sub theme in > site/all/themes/yourtheme. so you can change batik theme. > Ok, I added a sub theme, and drupal is picking it up. I have just the following in there name = My Bartik description = Extension to bartik for extra logl core = 7.x base theme = bartik I have kept it to this minimum to minimze the amount of changes made, but my sub theme now loses the Bartik colour configuration part, and doesn't seem to read page.tpl.php in its own template sub folder either. I have /sites/all/themes/mybartik with mybartik.info <http://mybartik.info> and then /sites/all/themes/mybartik/templates with my modified page.tpl.php What am I doing wrong? -- [ Drupal support list | http://lists.drupal.org/ ]-- Hoàng Biên 0908830099