PDA

View Full Version : Changing the bgcolor of the option_text_popup


neilsav
November 17th, 2003, 10:46 PM
Hello,

I am trying to customize the bg color of the option_text_product window, according to the source it should be in admin.css, but I can't seem to alter the color.

Jamie
November 17th, 2003, 10:59 PM
Hi,

It is in the body tag in the template file option_text_popup.php, specifically the bgcolor property:

<body bgcolor="#FFFF00" style="padding: 10">

Thanks,
Jamie

neilsav
November 20th, 2003, 06:30 PM
I dont have that code in my option_text_popup.php

This is my code

<?
// purpose of this page is to show a popup window of the text specified for a particular option
// this page is used by the popup window function only, and should not be called directly
// a value of an item and option in the SESSION needs to be passed as $item and $option for this to work
//
// example $SESSION[order][$item][option][$option]
//
include "config.php";
$option = $SESSION['order'][$item]['option'][$option];
$option_array = explode("^^",$option);
$Option_Name = $option_array[0];
$option_value = $option_array[1];
$Option_Value = nl2br(stripslashes($option_value));
include $SESSION['templates']['option_text_popup'];
?>



Is that wrong?

Jamie
November 20th, 2003, 09:52 PM
Hi,

It looks like you are looking at the option_text_popup.php file in the root of the squirrelcart folder. That one should not be modified. The file I mentioned is a template. The default one is in "squirrelcart/themes/squirrelcart". You shouldn't modify it in that location though. Please read the instructions for info on how to modify templates if you have not already.

Thanks,
Jamie

neilsav
November 20th, 2003, 10:29 PM
Thanks it worked!