Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NewsLetter and CSS


blay

Recommended Posts

Posted

I have installed the newsletter center modual that allows you to subscribe without having an account for the store. It appears on the front of the store in the bottom left. Now I would like to change the background color but when I go and do that it changes the color on other boxes. I see that it shares the infoBox CSS. I went to create a new css for the newsletter center but when I go to the php part to point to that new css I am not sure what to do.

<?php

 $info_box_contents = array();

 $info_box_contents[] = array('align' => 'left',

                              'text'  => BOX_HEADING_SUBSCRIBERS

                             );

 new infoBoxHeading($info_box_contents, false, false);



 $info_box_contents = array();

 $info_box_contents[] = array('align' => 'left',

                              'text'  => '<a href="' . tep_href_link(FILENAME_NEWSLETTERS, '', 'NONSSL') . '">' . BOX_TEXT_SUBSCRIBE . '</a><br>' .

                                         '<a href="' . tep_href_link(FILENAME_SUBSCRIPTION_CENTER, '', 'NONSSL') . '">' . BOX_TEXT_UNSUBSCRIBE . '</a>'         

        );

 new infoBox($info_box_contents);

?>

           </td>

         </tr>

<!-- subscribers_eof //-->

 

This is the code for the subscribers.php under catalog/includes/boxes.

Can some one give me a little help with this I am new to php. And some of this coding is a little over my head.

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...