PDA

View Full Version : HTML_PARAMS when upgrading RC1 to RC2 with HTML Template



miahac
09-27-2005, 06:31 AM
The HTML Template contribution for BTS breaks out the main_page.tpl.php file a little I think.

The instructions say to.

5. Manually update your main_page.tpl.php file for whatever template you are
using and add the following code:


Find this:
<html <?php echo HTML_PARAMS; ?>>

And replace it with:
<html <?php echo HTML_PARAMS;
// BOF Separate Pricing Per Customer
if(!tep_session_is_registered('sppc_customer_group _id')) {
$customer_group_id = '0';
} else {
$customer_group_id = $sppc_customer_group_id;
}
// EOF Separate Pricing Per Customer
?>>

but I only have the <html <?php echo HTML_PARAMS; ?>> tag in popup.tpl.php

I do have a


//begin{htmlparams}
echo HTML_PARAMS;
//end{htmlparams} tag in main_page.code.php

Any suggestions. I am working slightly over my head.

michael_s
09-27-2005, 07:50 AM
There is no main_page.code.php in osCMax. You are using some other mod...