Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HTML Table on the Shiiping and returns page


Recommended Posts

Posted

Is there a way for me to include html tags, specifically a table, in my shipping policies description? I've looked at other sites, and they seem to support bold and font color and so forth, but when I try to add tags like <table> and <tr> or <td>, I get a parsing error message.

 

I'm just not knowledgable enough about php to know what I am doing wrong. I am trying to put it on the

 

/catalog/includes/languages/english/shipping.php file

 

in the line that reads

 

define('TEXT_INFORMATION', 'Shipping and Returns');

 

Thanks for any help.

 

Jerry Nielsen - Tea and Scones Vermont

Posted
Is there a way for me to include html tags, specifically a table, in my shipping policies description? I've looked at other sites, and they seem to support bold and font color and so forth, but when I try to add tags like <table> and <tr> or <td>, I get a parsing error message.

 

I'm just not knowledgable enough about php to know what I am doing wrong. I am trying to put it on the

 

/catalog/includes/languages/english/shipping.php file

 

in the line that reads

 

define('TEXT_INFORMATION', 'Shipping and Returns');

 

Thanks for any help.

 

Jerry Nielsen - Tea and Scones Vermont

 

Well, I feel a little silly. I DO know that textual content with an apostrophe that is enclosed within a php tag needs to be escaped with a back slash or you get a parsing error.

 

I found my apostrophes, back slashed them, and the table displays beautifully on my shipping page. I thought that it should, because there are other HTML tags in many of the content sections of OSC. I just forgot one of the simple rules.

 

Jerry Nielsen :blush:

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...