Log in

View Full Version : change "style manager" on firefox


robert_2004
03-18-2005, 02:29 PM
Style manager used to be "broken" on firefox (3.0.3 and below).

ever since vB 3.0.4, the Style Manager is all in Javascript & form, using input buttons for links, instead of plain HTML links

i would like to know how to change this page back to the "broken" page, where i had the whole page in HTML.
(reason being, i want to be able to open my current template, and the original template in tabs)

robert_2004
03-24-2005, 01:45 PM
anyone?
you understand what i mean?

deathemperor
03-24-2005, 02:53 PM
I don't think it's possible.

but you can do it another way: edit one template, and while editing there's a link: "[Show Default]", now you can view the original in tabs.

Zachery
03-24-2005, 04:15 PM
I don't think it's possible.

but you can do it another way: edit one template, and while editing there's a link: "[Show Default]", now you can view the original in tabs.
It can be reverted by changing the condition in template.php or adminfunctions_template (don't remember which one)

robert_2004
08-18-2005, 07:54 AM
if anyone is wondering how to do this, i finally got the time to do it on my site.

go to {forum}/{admincp}/template.php
find (line 1446):

if (!empty($enhanced_template_editor) OR (empty($standard_template_editor) AND (is_browser('ie', '4.0') OR is_browser('mozilla'))))
{
// changed from 1 to 0 by ROBERT
define('FORMTYPE', 0);
// $SHOWTEMPLATE = 'construct_template_option';
$SHOWTEMPLATE = 'construct_template_link';
}

and change it like i have done to mine.