Customizing SMF > Modifications and Packages

SMF Theme Changer

<< < (7/7)

Yoshi:
Change that line to:


--- Code: ---elseif (!empty($modSettings['change_theme_check_top']) && $modSettings['change_theme_check_top']=='0'){}
--- End code ---

Labradoodle-360:
Actually...that's a little bit backwards...contradicting yourself there.

Try this instead:

--- Code: ---elseif (isset($modSettings['change_theme_check_top']) && $modSettings['change_theme_check_top'] == 0) {}
--- End code ---

flamechica:
8: Undefined index: change_theme_check_top   File: /home/rsdlaugh/public_html/new/Sources/cls.php
 Line: 93

Getting this error. Any help would be appreciated. I also got the error that shazoo had as well, but was able to fix that with the info that Labradoodle posted. THANKS! Now, if I can just get rid of this one....

Using SMF 2.0.4 and I am only using the theme changer on the bottom.

Navigation

[0] Message Index

[*] Previous page

Go to full version