Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to include code into a box


eusko

Recommended Posts

I would like to know how to include the following code into a box

 

<div class="clear"></div>

<div class="cat_navbar">

<?php

if ( file_exists(DIR_WS_MODULES.'cat_navbar.php') ) {

require(DIR_WS_MODULES.'cat_navbar.php');

}

?>

</div>

<div class="clear"></div>

 

 

It must be inside the XXXXXXX in this part of the box code.

 

function execute() {

global $oscTemplate;

 

$data = '<div class="ui-widget infoBoxContainer">' .

' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_INFORMATION_BOX_TITLE . '</div>' .

' <div class="ui-widget-content infoBoxContents">' .

'XXXXXXX' .

' </div>' .

'</div>';

 

 

Thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...