Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FAQ creation system ( FAQ SYSTEM_1 )


psossa

Recommended Posts

hi guys

 

how do i run faq.sql (creates a new table: faq)

in the FAQ creation system

( FAQ SYSTEM_1 ) under contributions

 

 

:ph34r: i did all the changes but the 3rd last one

 

 

/* Change Name from 'NAVBAR_TITLE' to FAQ_NAVBAR_TITLE

 

/*

FAQ system for OSC 2.2 MS2 v2.01 03.03.2004

Originally Created by: http://adgrafics.com [email protected]

Updated by: http://www.webandpepper.ch osc (at) webandpepper (dot) ch v2.01 (04.03.2004)

Released under the GNU General Public License

osCommerce, Open Source E-Commerce Solutions

Copyright © 2004 osCommerce

Thank to admin (at) privacynet-hosting (dot) net

*/

 

1.) Add changes to following files:

 

admin/includes/database_tables.php:

-----------------------------------

define('TABLE_FAQ', 'faq'); //FAQ SYSTEM

 

 

admin/includes/filenames.php:

-----------------------------

define('FILENAME_FAQ_MANAGER', 'faq_manager.php'); //FAQ SYSTEM

define('FILENAME_FAQ_VIEW', 'faq_view.php'); //FAQ SYSTEM

define('FILENAME_FAQ_VIEW_ALL', 'faq_view_all.php'); //FAQ SYSTEM

 

 

admin/includes/column_left.php:

-------------------------------

require(DIR_WS_BOXES . 'faq.php'); //FAQ SYSTEM

 

 

admin/includes/languages/english.php:

-------------------------------------

define('BOX_HEADING_FAQ', 'FAQ system'); //FAQ SYSTEM

define('BOX_FAQ_MANAGER', 'FAQ manager'); //FAQ SYSTEM

define('BOX_FAQ_VIEW', 'FAQ view'); //FAQ SYSTEM

define('BOX_FAQ_VIEW_ALL', 'FAQ ALL view'); //FAQ SYSTEM

 

 

catalog/includes/database_tables.php:

-------------------------------------

define('TABLE_FAQ', 'faq'); //FAQ SYSTEM

 

 

catalog/includes/filenames.php:

-------------------------------

define('FILENAME_FAQ', 'faq.php'); //FAQ SYSTEM

 

 

catalog/includes/languages/english.php:

-------------------------------------

// FAQ SYSTEM

define('BOX_FAQ', 'FAQ');

define('FAQ_NAVBAR_TITLE', 'FAQ');

define('FAQ_HEADING_TITLE', 'FAQ'); //changes by privacynet

define('BOX_INFORMATION_FAQ', 'Fragen rund um den Shop'); //changes by privacynet

 

 

catalog/includes/boxes/information.php //changes by privacynet

-------------------------------------------

add after:

$info_box_contents[] = array('text' => (where all the other links are)

<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>' . //FAQ SYSTEM

 

 

 

2.) Copy the new files in the relevant subdirectories of both catalog & admin

 

3.) run faq.sql (creates a new table: faq)

 

 

:o and obviously doesnt work until i finish

 

 

thanks in advanced :rolleyes:

Link to comment
Share on other sites

you need to use mysql connector, phpmyadmin (which your host may have provided for you already) or the mysql prompt, which is a bit tougher to learn.

 

if you have phpmyadmin on your control panel ( most hosts have that ) then you should go out to phpmyadmin and run through the tutorial they have there, as that way if you do something wrong you will be able to fix it.

 

first and foremost tho, backup the database.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...