Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit information


repenning

Recommended Posts

Hi,

 

I'm trying to edit the box information, but having trouble to locate files that are called:

(I had help setting up my system)

 

In the information file, it says:

 

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('text' => '<ul>

<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY1) . '">' . BOX_INFORMATION_CONTACT . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY2) . '">' . BOX_INFORMATION_CONTACT2 . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY3) . '">' . BOX_INFORMATION_CONTACT3 . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY4) . '">' . BOX_INFORMATION_CONTACT4 . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY2) . '">' . BOX_INFORMATION_CONTACT2 . '</a></li>' .

'</ul>');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

 

----------------------------------------------

I would like to add another page (and have done so with the tutorial help on osc) but what ever I write in the information file, it dosn't work!

I don't understand why it says FILENAME_PRIVACY2 - I don't have any files called that???

 

Please advice :)

 

-Oliver

Link to comment
Share on other sites

Hi,

 

I'm trying to edit the box information, but having trouble to locate files that are called:

(I had help setting up my system)

 

In the information file, it says:

 

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('text' => '<ul>

<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY1) . '">' . BOX_INFORMATION_CONTACT . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY2) . '">' . BOX_INFORMATION_CONTACT2 . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY3) . '">' . BOX_INFORMATION_CONTACT3 . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY4) . '">' . BOX_INFORMATION_CONTACT4 . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>' .

'<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY2) . '">' . BOX_INFORMATION_CONTACT2 . '</a></li>' .

'</ul>');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

 

----------------------------------------------

I would like to add another page (and have done so with the tutorial help on osc) but what ever I write in the information file, it dosn't work!

I don't understand why it says FILENAME_PRIVACY2 - I don't have any files called that???

 

Please advice :)

 

-Oliver

 

SOLVED!!!!

 

I found an error in filenames.php - I didn't call the file the same way I defined it <_<

 

-Oliver

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...