Log in

View Full Version : How do I force style AND width on a page?


Boofo
04-13-2004, 12:38 AM
Can anyone please tell me how I could force this code to follow what I want it set for? This is what I added to the global.php:

if (defined('OVERWRITE_STYLEID'))
{
$styleid = intval(OVERWRITE_STYLEID);
}

and this is what I add to the file I want to force a certain style to run on that page no matter what style they are using:

define('OVERWRITE_STYLEID', 1);

the 1 being the first style in this case. I have a profile field for Liquid and Fixed. How would I be able to force this to Liquid and Style 1 no matter what they have set in their User CP options for it?

Boofo
04-14-2004, 04:42 PM
Anybody have any ideas on this? ;)

Boofo
04-15-2004, 06:31 AM
Come on, guys, I know somebody out there must know how to do this.