Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem editing text in info boxes


Guest

Recommended Posts

I've searched the forums, and found many similar questions, but they to never got a response or post how they resolved the issue. I've gone through osdox and their forums too...

 

When editing files such as conditions.php to add my own text, I find that after either adding a couple lines or a couple paragraphs, the page stops functioning.

 

I used osdox guide to add "our service" box under information box - and with all the files made and designed, everything was running well (showed proper header titles, etc and even a line of text)

 

As I've added more content, I get the following on each page once the content gets over a couple lines.

 

HEADING_TITLE

 

 

TEXT_INFORMATION

 

If you go to http://www.nuanceoccasions.com/catalog/about.php you will see the message. This is from the About Us link in Our Services box in left. You can click through many of the other information links, and some are working with only one line, but the Terms of Use one is not working, even though I barely edited the text, and with the sample text it worked fine.

 

I'm sure there is a simple solution, but I'd really appreciate any assistance or guidance someone can give.

Link to comment
Share on other sites

Thanks, I've fixed the Terms of Use page, but even after playing around with the about.php page, I still can't figure why it won't display more text. Generally, if I leave out the last paragraph, it will work...

 

Here is code - again, any insight would be appreciated, I've played with these simple files for way too many hours now :cry:

 

<?php

/*

$Id: about.php,v 1.1.1.1 2002/11/28 23:22:07 wilt Exp $

 

The Exchange Project - Community Made Shopping!

http://www.theexchangeproject.org

 

Copyright © 2000,2001 The Exchange Project

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'About Us');

define('HEADING_TITLE', 'About Us');

 

define('TEXT_INFORMATION', 'NUANCE - sensibility to, awareness of, or ability to express delicate shadings (as of meaning, feeling, or value)<p>

Nuance Occasions provides wedding & event planning assistance in Edmonton, Alberta. Our search for unique products for our clients has resulted in this online store.<p>Our access to unique accessories is much broader than what is shown here, so if you don't see what you are looking for, please use the <i>Contact Us</i> form in the left column, or email us directly at [email protected]');

?>

 

Just note that I did not use html around my email address at the end of the paragraph - the forum graemlins did that for me - in the php file, it is just written as text.

 

Jolyn

Link to comment
Share on other sites

define('TEXT_INFORMATION', 'NUANCE - sensibility to, awareness of, or ability to express delicate shadings (as of meaning, feeling, or value)<p>

Nuance Occasions provides wedding & event planning assistance in Edmonton, Alberta. Our search for unique products for our clients has resulted in this online store.<p>Our access to unique accessories is much broader than what is shown here, so if you don't see what you are looking for, please use the <i>Contact Us</i> form in the left column, or email us directly at [email protected]');

 

Find ALL of the apostrophes (single quotes) that are within the define and escape them with a backslash.

 

Right way: She doesn't have a clue.

 

Wrong way: She doesn't have a clue.

Link to comment
Share on other sites

  • 3 months later...
  • 4 months later...

Hi,

 

I am having the same problem...

 

conditions.php was working fine with nothing in it. Then, when I added my text, the page appears blank in my browser. I do not have any apostrophes in the text.

 

Any ideas?

 

thanks, t

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...