MyBB Community Forums
codebuttons - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html)
+--- Thread: codebuttons (/thread-227778.html)



codebuttons - saucerman - 2020-05-13

question...

in codebuttons template the line

<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />

my variable {$theme['editortheme']  equals  just "default"  and I get an 404 error because it cannot find the class file

it should be defautl.css

yet  .css is not there on the file name - this in version 1.8.22


RE: codebuttons - effone - 2020-05-13

.css gets carried with the editor theme name itself and even saved in database with extension only. No need to append it in templates separately.

Scan your files to check core changes, or may be corrupted data in theme table.


RE: codebuttons - saucerman - 2020-05-13

ok thank you...yeah it seems something is corrupted somewhere if that is the case....appreciated