I created a subtheme and am havingproblem with the slide show. I can't edit the text for the Headline and Description but when I save it, it reverts back to the default. Also I've renamed the desired image slide-image-1.jpg... but only the old images show up. Can you let me know what I'm doing wrong, because the styles.css in the subtheme is working as desired.

Thanks!

Comments

mheinke’s picture

so when subthemeing this theme..there is ALOT to undo/redo

template.php, rename all professional_theme* functions
theme-settings.php, rename all professional_theme* functions
page.tpl.php, rename all professional_theme* functions

that should be it.

im trying to make it easier. but right now, professional_theme is hard-coded in a lot of places.

doesn't seem like this theme was originally meant to be sub themed..but as the new maintainer, im looking to change that.

if you come across anyways to make this theme better for subthemeing and still work as a top notch base theme. please provide patches or code blocks! thank you!!

SharonD214@aol.com’s picture

ok, I've added these files to my subtheme and renamed all instances of professional_theme with my subtheme name and now I don't get a slider at all but get:
Warning: Invalid argument supplied for foreach() in theme_links() (line 1694 of C:\Users\Sharon\Sites\drupal\includes\theme.inc).

Should I have only renamed the function names?

However the modifications to the headline and Description are in place in the settings.

Thanks for your prompt reply!
Sharon

mheinke’s picture

i may have to look into this abit,

im not 100% sure what all has to happen. i havnt tried to subtheme this theme in awhile..

let me dig into this tonight and i will respond with something alittle more concrete when i have a working solution :)

i need to create documentation on this process anyway....

mheinke’s picture

Status: Active » Needs work
mheinke’s picture

so ive done some discovery and have realized that this theme is simply too big to be sub themed. im working on another solution (local.css, a place to put custom templates...etc...) that wont be overriden by updating

mheinke’s picture

Status: Needs work » Postponed
SharonD214@aol.com’s picture

That would be great, because I really just want to edit some colors and styles in the css.

Sharon

SharonD214@aol.com’s picture

I found an answer here http://drupal.org/node/1127452

#3 worked for me - no more Warning message!

payamspot’s picture

SharonD214,
Thank you so much for sharing your experience & solution. Worked for me:

1. Copied templates/page.tpl.php & theme-settings.php and changed "professional_theme"s to "my_theme_name"
2. Coped template.php and deleted everything inside, except <?php

SharonD214@aol.com’s picture

Glad I could help!

mheinke’s picture

Issue summary: View changes
Status: Postponed » Closed (fixed)