This is what I have in the defines file
<?php
define('BOX_HEADING_PayPal_Extras_MasterCard', 'PayPal Extras MasterCard');
define('TEXT_PayPal_Extras_MasterCard', 'Replace this text with your HTML content.');
?>
This is what I have in the modules file
<?php
// test if box should display
$show_PayPal_Extras_MasterCard = true;
if ($show_PayPal_Extras_MasterCard == true) {
require($template->get_template_dir('tpl_PayPal_Extras_MasterCard.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_PayPal_Extras_MasterCard.php');
$title = BOX_HEADING_PayPal_Extras_MasterCard;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
This is what I have in the template file.
<?php
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
// Replace the text and HTML tags between the apostophes on lines 19 and 20.
// Use as many or as few lines using this model as you need for your custom content.
// If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
// If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
$content .= '<p>' . TEXT_PayPal_Extras_MasterCard . '</p>';
$content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';
$content .= '</div>';
?>
My logo image I want in the side box is /images/PayPal.jpg
The EZ Page I created has an ID of 32.
This is where I get lost to put the image in the side box and to link the EZ Page. But at least I'm 10% there. :clap:
don't mess with willie bee. i may go crazy on you.