SimplePortal
Development => Feature Requests => Topic started by: rocknroller on July 03, 2010, 06:41:30 AM
-
Greetings!
I have problem with "Default Title Class" on blocks, when I enter "Custom Title Class", "Default Title Class" still stay present. Is there any way to avoid "Default Title Class"? Like body classes.
Thank you.
SP 2.3.2, SMF 2.0RC2.
-
Because I didn't want to modify PHP source without having some sort of version control, I just modified the data in the smf_sp_blocks table myself.
I changed the 'title_default_class' value in the 'style' field of the block I wanted to change the default style of.
In my case I changed:
title_default_class~titlebg|title_custom_class~|title_custom_style~|body_default_class~windowbg|body_custom_class~|body_custom_style~|no_title~|no_body~
To:
title_default_class~titlebgB|title_custom_class~|title_custom_style~|body_default_class~windowbg|body_custom_class~|body_custom_style~|no_title~|no_body~
This change didn't seem to have any adverse effect on my installation, but since I haven't looked at the source I don't know if there are any unintended consequences. Hopefully the Style Options behaviour is changed in the future though.