The admin sub menu is not displaying right in a copy of the default theme. I have even tried putting all the files back to the originals and still not luck. I cleared my browsers cach & SMFs cach.
See the attachment for what I am talking about...
Any ideas???
Thats probaly more an issue with the theme. I tried installing SMF1.1 themes and noticed the menu maybe a little out of alignment but its usually not too bad.
It's a direct copy of the Default Theme. It worked for awhile, then went bad. I think it was when I copied over index.template.php or BoardIndex.template.php... But even copying over the originals or deleting these files (and clearing both caches) yields the same results.
It would be something in the css files. Its probaly not a cache issue either.
definitely a theme issue
You need to copy dropmenu.css from css directory in default theme otherwise it will use dropmenu_default.css which is different.
Sweet... Thanks Niko; I will try that later today!!!
Sorry it took me so long to get back to the forums. That worked. Thanks.
Is this a bug? Shouldn't this point to default/.../dropmenu.css when the file is missing rather than default/.../dropmenu_default.css?
The code in question is in Sources/Subs-Menu.php, around line 234:
if (file_exists($settings['theme_dir']. '/css/dropmenu.css'))
$context['html_headers'] .=
'<link rel="stylesheet" type="text/css" href="' .
$settings['theme_url'] . '/css/dropmenu.css" />';
else
$context['html_headers'] .=
'<link rel="stylesheet" type="text/css" href="' .
$settings['default_theme_url'] . '/css/dropmenu_default.css" />';
Changing the latter reference from dropmenu_default.css to dropmenu.css seems to resolve the problem without copying the file [but maybe breaks something else?].