Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Hi,

I downloaded the text_box with link and it worked fine the first time around.

I used everything the way the instructions said to, just copy and paste.

 

The next time around I changed the text_box to organic_box in all the appropriate files.

The problem is when I upload everything I do not get the organic_box I get two identical text_box

I have

organic_box.php,

	$info_box_contents = array(); 
$info_box_contents[] = array('align' => 'center', 'text'  => TEXT_HEADER ); 
new infoBoxHeading($info_box_contents, false, false); 
//Change the link to whatever you want it to be, can be an outgoing link or an OSC page link.	if internal link use only contact_.php etc... if out going use http://www.site.com
$info_box_contents = array();
$content='<center><b><a href="organic.php">Learn more</a></b></center>';

column_right.php

include(DIR_WS_BOXES . 'text_box.php');
include(DIR_WS_BOXES . 'organic_box.php');

english.php

define ('TEXT_HEADER', 'Child Trafficking '); //Change the header to suit your needs
define ('MESSAGE_TEXT', 'Fight Human Trafficking and Child Exploitation<br />');//Change the wording to your own

define ('TEXT_HEADER', 'Why Organic '); //Change the header to suit your needs
define ('MESSAGE_TEXT', 'Why buy organic baby clothes ');

 

What have I done wrong and how do I fix it?

My logic was I didn’t want two boxes with the same name.

Your help is greatly appreciated.

dink

Edited by dink

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...