Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing the Privacy Statment and Adding "About Us"


DefMall Owner

Recommended Posts

Posted

hi!

 

I have 2 questions that are probably easy for you Experts...so I put them in 1 topic! :)

 

Ok, first...I found it very easy to edit the 'Shipping and Returns' topic..but I'm struggling with the "Privacy" Statement. When I open the code in Notepad or Coffee Cup, I cannot find the 'stock' line that says "Put here your Privacy Notice information." This makes it impossible for me to figure out where/how to edit it.

 

Can anyone advise?

 

Question #2...I'd like to ADD a line called 'About Us'. (maybe it was there already and I deleted it? I don't think so...) Anyway, can anyone advise the right way to do that?

 

THANKS!

Posted

Sorry, can't help with #1, cos it's been a while since I did it, and I can't remember how!

As far as #2 goes, by 'add a line called 'About Us', do you mean add a new page, titled 'about us'? If so, there is a topic about it here: http://www.oscommerce.com/forums/index.php?showtopic=31019. I personally did the same as what burt did:

 

Download the following files:

 

catalog/conditions.php

catalog/includes/languages/english/conditions.php

 

Save them (on your Hard Drive as):

 

catalog/template.php

catalog/includes/languages/english/template.php

 

When you want a new page:

 

Open catalog/template.php (on your HD) and change the following:

 

CODE

 

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS);

 

 

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL'));

 

 

 

To:

 

CODE

 

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_NEW_PAGE);

 

 

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_NEW_PAGE, '', 'NONSSL'));

 

 

 

where NEW_PAGE is the name of your new page.

 

eg if you wanted a page called "about_us.php" the code would be:

 

CODE

 

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ABOUT_US);

 

 

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL'));

 

 

 

Save and Upload both:

catalog/template.php

catalog/includes/languages/english/template.php

 

to their respective places on the live server, and then rename them BOTH to whatever, in the example: about_us.php

 

Set CHMOD 777 on your newly created and renamed:

 

catalog/includes/languages/english/about_us.php

 

Download, and open up application_top.php and add the following:

 

CODE

 

 

// New page about_us.php

 

define('FILENAME_ABOUT_US', 'about_us.php');

 

 

 

Save and upload includes/application_top.php

 

Now go Admin > Tools > Define Languages > about_us.php

 

Done. It sounds complicated but once you get the hang of it, it takes no longer than 2 minutes. It maintains the proper Osc structure.

hope this helps!

~Barbara~

Archived

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

×
×
  • Create New...