Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help including html text inphp


Guest

Recommended Posts

I have create a page of html text using a html editor. I now want to insert this in the privacy.php file in the

catalog/includes/languages/english folder.

When I add this html text into the php file using a php editor I have simply gone to the part

 

define('TEXT_INFORMATION', 'add your privact text here' );

 

And replaced to

define('TEXT_INFORMATION', ' my html document which is quite long so i haven't include' );

 

This brings up all the text I want but none of the links I have used within this html ( such as back to top link that i have created because it is quite a long document) work.

 

What have I done wrong or is there a tag which I have left out

 

Any help for a confused novice???

Thanks

Link to comment
Share on other sites

I have create a page of html text using a html editor. I now want to insert this in the privacy.php file in the

catalog/includes/languages/english folder.

When I add this html text into the php file using a php editor I have simply gone to the part

 

define('TEXT_INFORMATION', 'add your privact text here' );

 

And replaced to

define('TEXT_INFORMATION', ' my html document which is quite long so i haven't include' );

 

This brings up all the text I want but none of the links I have used within this html ( such as back to top link that i have created because it is quite a long document) work.

 

What have I done wrong or is there a tag which I have left out

 

Any help for a confused novice???

Thanks

Hi

Try this contribution

But edit it to suit your your needs then then insert you html tables in to the php file.

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

I have include all my text to see if this helps anyone understand better where i am going wrong?

----------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------

I have create a page of html text using a html editor. I now want to insert this in the privacy.php file in the

catalog/includes/languages/english folder.

This is what my privacy.php folder now looks like.(see below)

Online it comes up perfectly and all looks right, but all the <a href=></a> dont link at all they just take me to my main page????

Thanks

 

<?php

/*

$Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Privacy Notice');

define('HEADING_TITLE', 'Privacy Notice');

 

define('TEXT_INFORMATION',\ '<a id="pot"><b>Privacy statement</b></a></h4>

<b>Greatshades</b> appreciates the importance of your privacy especially when it comes

to personal details. We would like you to feel confident in the way in which we deal with

your information and security of this information. This page details our policies to security,

data protection, and sharing of information. By accessing the <b>Greatshades</b> website you will

be agreeing to these policies described.<br><ul>

<lh>Privacy policies</lh>

<li><a href="#section1">Type of information gathered</a><br></li>

<li><a href="#section1.1">How secure is this information</a><br></li>

<li><a href="#section1.2">Do we Share Information</a><br /></li>

<li><a href="#section1.3">Can I access my information</a><br></li>

<li><a href="#section1.4">Questions about our privacy policies</a><br /></li>

<h4><a name="section1">Type of information gathered</a></h4>

We gather certain information that is vital to process your orders and make your visit to our

store as user friendly as possible. This information can be split into 2 types of information:<ol type="1">

<li><b>Information you supply us</b> such as the information that you supply to set up your account

(name, address etc) certain of these fields are vital, and cerytain of these fields are optional and

are used to optimise our service to you. This information can be access at any time by logging into your account.<br></li>

<li><b>Information automatically generated by your computer</b>When you access any site your computer sends us

information that allows you to view our site. This is vital information to help stop fraud.<br></li>

<li><b>NOTE!</b>We do not store any Credit Card or payment details on our site. Altough we are protected by SSL

(128 encrypted) we still feel that information as vital as this should pass through the hand of the profesional,

hence all you payment details are handled though HSBC secure e payment. HSBC secure e payments conducts the transactions

online on our behalf to ensure 100% safety.<br></li><br>

<a href="#pot">Back to top</a>

 

<h4 id="section1.1">How secure is this information</h4>

We protect your personal information by using a Secured Security Layer(SSL) software which encrypts

any information that we gather from you. As mentioned earlier we do not actualy store your payments details for extra security

and altough that means inputing your Card details for each purpose we feel this is the most secure method, and only takes a fews

seconds extra but gives you extra peace of mind.<br><br>

<a href="#pot">Back to top</a><br>

<h4 id="section1.2">Do we share information?</h4>

The only information that is shared is with HSBC secure e payments. To optimise you shopping experience and minimize you checkout time we

share your address details with HSBC to allow then to process any credit card transactions. We feel tha this is the most secure method of

conducting payments as your card details are then never actually stored on any server. You will how ever have to imput these details for every

payment. Other than this we share no datails with any other organisations.<br>

<br>

<a href="#pot">Back to top</a><br>

<h4 id="section1.3">Can I access my information</h4>

Yes at any time you may log on to your accout using your secure password and update or change any of the information that we store.

Just click on the "my account button"<br>

<br>

<a href="#pot">Back to top</a><br>

<h4 id="section1.4">Questions about our privacy policies</h4>

For any queries about or privacy policies please email [email protected] on the link below.<br><br>

 

<a href="mailto:[email protected]"><u><b>Email Greatshades</b></u></a><br>

<br>

<a href="#pot">Back to top</a>

 

</ol>

</ul>');

?>

 

Thanks

 

Hi

Try this contribution

But edit it to suit your your needs then then insert you html tables in to the php file.

 

Thanks WiseWombat

I will try this

Cheers

Frapsy

Link to comment
Share on other sites

Hi

 

Still battling with this.

Amazing how frustrating this can get if you dont know what you are doing

 

PLEASE HELP ANYONE! BEFORE I TAKE SOME PILLS TO MAKE THE PAIN GO AWAY

 

There must be some tag to add to allow these links to work.

See www.greatshades.co.uk/shop/privacy.php

 

click one on the header links

ie "Do we share information"

seewhat happens!!! It should take you further down the page ti the anchor but instead it loads the main page?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...