Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I want to add an additional link for videos


thessrtech

Recommended Posts

Posted

How would I go about doing this? I need a page like the information / about us / contact us page that is just blank so I can have links in there. How would I do this?

Posted
How would I go about doing this? I need a page like the information / about us / contact us page that is just blank so I can have links in there. How would I do this?

 

is it that hard?

Posted
is it that hard?

You could add a new page, 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~

Posted

I use Smart FTP to upload and download files. In that program you can right-click on the floder whose permissions you want to change and go down Properties or CHMOD or Permissions and it will give you a box with a 3-digit number you can change. It's worth a try in whatever program you're using

Posted
I use Smart FTP to upload and download files. In that program you can right-click on the floder whose permissions you want to change and go down Properties or CHMOD or Permissions and it will give you a box with a 3-digit number you can change. It's worth a try in whatever program you're using

 

 

Hi thanks, I found it...

Archived

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

×
×
  • Create New...