I upgraded my forum to RC3 (from RC1.2) and now I noticed the font size parameters are like [size=18pt] instead of what it was like before: [size=3].
Can someone help me to keep the "=1", "=2", "=3" form like it used to be?
Thanks.
I am affraid this can be done.
The whole SMF2 forum is build on px, that's one of the renewels
Quote from: capady on August 12, 2010, 05:27:57 PM
I am affraid this can be done.
The whole SMF2 forum is build on px, that's one of the renewels
Nope,as far as i get,it can be done easily
./Themes/default/GenericControls.template.php
// Font sizes anyone?
if (!isset($context['disabled_tags']['size']))
echo ',
{
sType: \'select\',
sName: \'sel_size\',
oOptions: {
\'\': ', JavaScriptEscape($txt['font_size']), ',
\'1\': \'8pt\',
\'2\': \'10pt\',
\'3\': \'12pt\',
\'4\': \'14pt\',
\'5\': \'18pt\',
\'6\': \'24pt\',
\'7\': \'36pt\'
}
}';
// Font sizes anyone?
if (!isset($context['disabled_tags']['size']))
echo ',
{
sType: \'select\',
sName: \'sel_size\',
oOptions: {
\'\': ', JavaScriptEscape($txt['font_size']), ',
\'1\': \'1\',
\'2\': \'2\',
\'3\': \'3\',
\'4\': \'4\',
\'5\': \'5\',
\'6\': \'6\',
\'7\': \'7\'
}
}';
@Duncan85: But that changes only the dropdown box choices. How to change also the parameters in the codes? ( [size=X] )
they should work normal, you should be able to use in your bbc, I have on my rc3 forum :)