Thread: Broken Layout Fix

Lobos - 9/8/2003 at 01:01

Bug:

quote:

In NS_User module:
Creation of a private message (core function) breaks graphics due to data entry field size.

Update of a personal information (core function) breaks graphics due to data entry field size.


Fix: Add the following code to the bottom of themes/wvNovaStorm/theme.cfg (this also gets rid of the nasty green colour in the private messages
quote:

$custom_module['Messages'] = array (
'main' => "themeAdmin.html",
'bgcolor1' => "#cccccc", // [color1]
'bgcolor2' => "#8080ff", // [color2]
'bgcolor3' => "#808080", // [color3]
'bgcolor4' => "#cccccc", // [color4]
);
$custom_module['Your_Account'] = array (
'main' => "themeAdmin.html",
);



This will point the modules at the themeAdmin.html template, this is the full width template without blocks and the header eg The template for the admin menu.

You can call this for any module, just create a new instance of the custom module code in theme.cfg eg:
quote:

$custom_module['My_Module'] = array (
'main' => "themeAdmin.html",
);



Kindest regards
Lobos

[Edited on 9/8/2003 by Lobos]


This thread come from : Webvida Theme Workshop
http://www.webvida.com/

Url of this website:
http://www.webvida.com//modules.php?op=modload&name;=XForum&file;=print&fid;=10&tid;=14