Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding HTML effect to the information area


edmondwch

Recommended Posts

Hi everybody, for the information area (about us; privacy; conditions of use; shipping and returns...), if I want to

add the html effect in the content, for example

- adding link

- inserting image

- adjusting the color and font size

- adding java script

- adding flash

how can I make it?

I know that I can amend the shipping.php, privacy.php....in the control panel, but only can fill in sentences only.

 

I have tried to write an html page by using dreamweaver, copy the code and paste in the

 

"define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');"

 

only simple adjustment can be shown such as "bolding letter", font color, inserting image, etc, but for others, like

size-1, or other java script, they failed to show

 

So pls help, thx!

Link to comment
Share on other sites

Hi everybody, for the information area (about us; privacy; conditions of use; shipping and returns...), if I want to

add the html effect in the content, for example

- adding link

- inserting image

- adjusting the color and font size

- adding java script

- adding flash

how can I make it?

I know that I can amend the shipping.php, privacy.php....in the control panel, but only can fill in sentences only.

 

I have tried to write an html page by using dreamweaver, copy the code and paste in the

 

"define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');"

 

only simple adjustment can be shown such as "bolding letter", font color, inserting image, etc, but for others, like

size-1, or other java script, they failed to show

 

So pls help, thx!

 

Why don't you post the code from one of the pages you're having a problem with & maybe someone can help.

 

No reason why you can't input all of that in your pages.

Link to comment
Share on other sites

sorry, actually, my meaning is that, i can input the text in the area, but i can't add some "special effect"

in the text, such as inserting java script action and change the layout format, or even inserting a table.

that's my main problem....

Link to comment
Share on other sites

sorry, actually, my meaning is that, i can input the text in the area, but i can't add some "special effect"

in the text, such as inserting java script action and change the layout format, or even inserting a table.

that's my main problem....

 

Yes, I understand but you should be able to do any of that. I have java script, flash, tables, etc in my pages. So, maybe there is something in the code, or a tag you're missing or something. If you post the code for entire page, it's easier for someone to see what's wrong.

Link to comment
Share on other sites

It could simply be that you didnt escape your apostrophe's You need to tell people what error you are getting and what code you are using.

 

For instance, if in your text you have this:

 

You'll find everything you need here

 

It should be

 

You/'ll find everything you need here

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Hi everybody, for the information area (about us; privacy; conditions of use; shipping and returns...), if I want to

add the html effect in the content, for example

- adding link

- inserting image

- adjusting the color and font size

- adding java script

- adding flash

how can I make it?

I know that I can amend the shipping.php, privacy.php....in the control panel, but only can fill in sentences only.

 

I have tried to write an html page by using dreamweaver, copy the code and paste in the

 

"define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');"

 

only simple adjustment can be shown such as "bolding letter", font color, inserting image, etc, but for others, like

size-1, or other java script, they failed to show

 

So pls help, thx!

 

Adding the html tags directly into the definition files should work. You could also look into using FCKEDITOR contribution to edit your information pages and product descriptions.

Link to comment
Share on other sites

I have tried to write an html page by using dreamweaver, copy the code and paste in the

 

"define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');"

 

I hope this is clear.

 

Paste the code you created in dreamweaver and tried to put in place of the line above.

 

So I expect to see some thing like

 

define('TEXT_INFORMATION', 'My shipping code that I created in dreamweaver here <br>more text<br>.');

 

in your reply.

 

If you do this people can look at it and see what you are trying to do and tell you how to correct it.

 

Otherwise we are just guessing.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...