Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

text in infobox not working.


Guest

Recommended Posts

I have tried adding my text where it say's in my new file.. Everytime I do, it get's messed up and turns to THIS

 

Here is the code.

 

<?php
/*
 $Id: calendar_girl.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', '2005 Calendar Girl Contest');
define('HEADING_TITLE', '2005 Calendar Girl Contest');

define('TEXT_INFORMATION', 'About the Contest</b><br>
Winks Customs is giving YOU the chance to be featured in our 2005 calendar.  The top 12 entrant's from this contest will be featured in our 2005 calander.  In addition, each winning contestant will be featured on our website durring his/her calendar month<br><br>
<b>Rules</b><br>
1. You must own the car being submited.<br>
2. "Calendar Girls"<br>
3. No altered images.<br>
4. Please do not submit large images. (800x600 or smaller are perfered)<br>
5. No nuidity, sorry guys.<br>
6. Most importantly, HAVE FUN!!!<br><br>
<b>How do I Submit?</b><br>
Entries may be submited [[email protected]]HERE!![email]<br>
Entries may also be submited to [email protected]<br><br>
CLICK HERE TO SEE CURRENT ENTRIES!!');
?>

Link to comment
Share on other sites

I have tried adding my text where it say's in my new file.. Everytime I do, it get's messed up and turns to THIS

 

Here is the code.

 

<?php
/*
?$Id: calendar_girl.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

?osCommerce, Open Source E-Commerce Solutions
?http://www.oscommerce.com

?Copyright (c) 2002 osCommerce

?Released under the GNU General Public License
*/

define('NAVBAR_TITLE', '2005 Calendar Girl Contest');
define('HEADING_TITLE', '2005 Calendar Girl Contest');

define('TEXT_INFORMATION', 'About the Contest</b><br>
Winks Customs is giving YOU the chance to be featured in our 2005 calendar. ?The top 12 entrant's from this contest will be featured in our 2005 calander. ?In addition, each winning contestant will be featured on our website durring his/her calendar month<br><br>
<b>Rules</b><br>
1. You must own the car being submited.<br>
2. "Calendar Girls"<br>
3. No altered images.<br>
4. Please do not submit large images. (800x600 or smaller are perfered)<br>
5. No nuidity, sorry guys.<br>
6. Most importantly, HAVE FUN!!!<br><br>
<b>How do I Submit?</b><br>
Entries may be submited [[email protected]]HERE!![email]<br>
Entries may also be submited to [email protected]<br><br>
CLICK HERE TO SEE CURRENT ENTRIES!!');
?>

Try changing this

 

entrant's

to this

entrant/'s

 

and

his/her

to this

his-her

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Actually, to be grammatically correct, change "entrant's" (or "entrant\'s") to "entrants" -- an apostrophe is not required there, as the word is being used as a plural. :)

 

Would also strongly recommend you run your text through a spellchecker -- you have numerous typos.

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

  • 1 year later...

Hi, All

 

I am trying to create my own textbox on the right.

 

It works when I enter only one word, but when there is two or more words, it does not diplay.

 

Here is my code:

 

 

<!-- my new box //-->

<tr>

<td>

<?php

$info_box_contents = array();

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

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

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

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...