Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Faq Page - Contribution Added


Recommended Posts

Hi there,

 

I recently added this contribution, seemed really easy, not sure what I have done wrong?

 

http://www.oscommerce.com/community/contributions,5194

 

as requested:

I copied the faq files into my cart.

inserted the mysql coding faq.sql in my sql database via myphpAdmin

and added in includes/filenames.php the following ---> add define('FILENAME_FAQ', 'faq.php');

 

when i opened faq.php it came with this error msg:

 

http://www.fjronline.com/faq.php

 

your help is greatley appreciated!

takecare,

Link to comment
Share on other sites

  • 3 weeks later...
ok..i got it working, there was no file in the includes/languages/english/ and in admin folder!

 

I just added the same contribution, but saw no links or results. How did you add the language files? In other words, what did you need to put in the file?

 

I also found that I can go to the management page in admin via typing in the url to faq.php, but there are no links in the admin section nor is there on the catalog. I also click on the icons next to the individual faqs only to get an error that says :

 

Not Found

The requested URL /catalog/admin/FILENAME_PAGES was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Seems there is more I must add. Please give me some direction if you don't mind.

thank you very much,

Leslie

Link to comment
Share on other sites

  • 1 month later...
I just added the same contribution, but saw no links or results. How did you add the language files? In other words, what did you need to put in the file?

 

I also found that I can go to the management page in admin via typing in the url to faq.php, but there are no links in the admin section nor is there on the catalog. I also click on the icons next to the individual faqs only to get an error that says :

 

Not Found

The requested URL /catalog/admin/FILENAME_PAGES was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Seems there is more I must add. Please give me some direction if you don't mind.

thank you very much,

Leslie

 

hey I just saw your message now! I thought the forum would email me on replies!!

 

as for the faq contribution, under admin/includes/languages/english/ there needs to be a faq.php file.

and coding should read:

 

<?php
/*
 $Id: customers.php,v 1.12 2002/01/12 18:46:27 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

define('HEADING_TITLE', 'Customer Service');

define('TABLE_HEADING_PAGES', 'Heading');
define('TABLE_HEADING_SORT_ORDER', 'Sort Order');
define('TABLE_HEADING_STATUS', 'Status');
define('TEXT_DISPLAY_NUMBER_OF_PAGES', '');

?>

 

Then simply make a button on the main index admin page, located: admin/index.php

 

I added it along side the links in the module section, and code reads like this:

 

			   array('title' => BOX_HEADING_MODULES,
				 'image' => 'modules.gif',
				 'href' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment'),
				 'children' => array(array('title' => BOX_MODULES_PAYMENT, 'link' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment')),
									 array('title' => BOX_MODULES_SHIPPING, 'link' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=shipping')),
									 array('title' => BOX_MODULES_FAQ, 'link' => tep_href_link('help.php')))),

 

^ I added a new array for faq.

 

HEY PLS BACKUP BEFORE IN CASE SOMETHING GOES WRONG!!! THANKS, TAKECARE!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...