Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add New Page Oscommerce 2.2-ms2


cutiesweetie

Recommended Posts

Posted

Hi All,

 

I am a newbie here. I have found part of the solution on my queries in this forum. but i face a problem here. Hope someone can give me advice.

 

I want to insert a new page "FAQ.PHP" at the bottom of left column. but i don't know where to add in this page

 

I want something like this:

at the left hand column -> Information box -> I want the new page "FAQ.PHP" to be apprears below "CONDITIONS OF USE" & above "CONTACT US".

 

PS: I can see my "FAQ.php" page in this url http://localhost/catalog/faq.php

 

please help me

 

Regards,

Jocelyn

Posted
Hi All,

 

I am a newbie here. I have found part of the solution on my queries in this forum. but i face a problem here. Hope someone can give me advice.

 

I want to insert a new page "FAQ.PHP" at the bottom of left column. but i don't know where to add in this page

 

I want something like this:

at the left hand column -> Information box -> I want the new page "FAQ.PHP" to be apprears below "CONDITIONS OF USE" & above "CONTACT US".

 

PS: I can see my "FAQ.php" page in this url http://localhost/catalog/faq.php

 

please help me

 

Regards,

Jocelyn

 

 

 

anyone can offer help??

Posted

To isert a page, you need to change 3 files.

1st , change the includes/boxes/information.php and add your page

(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

'<a href="' . tep_href_link

 

when adding your file name, add in the middle or so,

the last line is different then the rest.

(This does set the display order)

 

2nd define your file in cat/includes/filenames.php

define('FILENAME_CONTACT_US', 'contact_us.php');

 

 

3rd define your file in languages/english.php

 

// information box text in includes/boxes/information.php

define('BOX_HEADING_INFORMATION', 'Information');

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

define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

define('BOX_INFORMATION_CONTACT', 'Contact Us');

 

The add your file in catalog

 

Ralph

Posted
To isert a page, you need to change 3 files.

1st , change the includes/boxes/information.php and add your page

(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

'<a href="' . tep_href_link

 

when adding your file name, add in the middle or so,

the last line is different then the rest.

(This does set the display order)

 

2nd define your file in cat/includes/filenames.php

define('FILENAME_CONTACT_US', 'contact_us.php');

3rd define your file in languages/english.php

 

// information box text in includes/boxes/information.php

define('BOX_HEADING_INFORMATION', 'Information');

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

define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

define('BOX_INFORMATION_CONTACT', 'Contact Us');

 

The add your file in catalog

 

Ralph

 

 

thank you so much ralph. I make it :lol:

  • 4 weeks later...
Posted

Need some help on this very thing. I was able to edit the three files ok and my new link shows up. But to create the actual page itself, I'm hitting some snags.

 

I thought that I could take one of the existing info pages, such as privacy.php and save-as my new page which is called aboutccr.php.

 

I filled in the appropriate Text Information, Navbar Title and Heading Title to reflect the new page stuff, and saved into the same includes/languages/english/... folder. Got a file not found.

 

I saw that the path giving me the file not found showed the new page in the catalog folder... saved it to that location. But this time I just get a blank white screen.

 

What could I be missing?

Thanks!

:-"

Posted
post the entire contents of /includes/languages/english/aboutccr.php plz

 

Here ya go:

 

 

 

<?php
/*
 $Id: aboutccr.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'About Cattle Call Remote');
define('HEADING_TITLE', 'About Cattle Call Remote');

define('TEXT_INFORMATION', '

Easy to install with a simple three wire connection and easy to operate.  Installs in place of your toggle switch. Just plug the Cattle Call Remote into the included Motorola walkie-talkie and turn it on. Take a second walkie-talkie with you. <br><br>

To remotely activate the siren simply press the Talk button on your walkie-talkie. The walkie-talkie attached to the Cattle Call Remote activates the siren. The siren will sound as long as you press talk button. It’s that simple. <br><br>

The Cattle Call Remote works at a distance of up to five miles<br><br>

The walkie-talkie directly interfacing with the Cattle Call Remote must be a Motorola brand walkie-talkie; one is included with every Cattle Call Remote.  The second walkie-talkie can be any brand.  If you need a second walkie-talkie, please see our ordering page for purchasing information.<br><br>

Additional radios and batteries are sold separately here at our online store.  Buy your second walkie-talkie and batteries from us—you will be using your Cattle Call Remote within minutes!
');
?>

Posted
it's that simple needs to be it\'s that simple

 

 

Doh! I should have seen that.

 

But I still get a white blank page...

any other clues?

thanks!!

Posted
Doh! I should have seen that.

 

But I still get a white blank page...

any other clues?

thanks!!

 

K never mind - I got this one figured out. I failed to create the catalog/aboutccr.php in addition to the includes/languages/english/aboutccr.php - duh! works now!

thanks all for the help!

Archived

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

×
×
  • Create New...