Jump to content
Sign in to follow this  
alqamardesigns

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,

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×