FAQ System
for osCommerce Online Merchant v2.2
Based on FAQ system v.1.0 (adgrafics)
- Multilanguage automatically
- Create questons and answer
- Edit Faq
- Delete Faq
- Activation / DeActivation the Faq
- Change Queue
- View All or to chosen language FAQ (only Admin area)
Legend: 
Download

Report
I installed FAQ system 3.0 and found that the admin faq manager just refresh when clicking on the actions. The forum also report this issue but with no solution provided. So I decided to fix it myself.
Replace admin/faq_manager.php
http://forums.oscommerce.com/index.php?showtopic=117087&st=0
So what I did:
1. Add the code to retreive form value for each action.
2. Add a fix for edit faq form. If you edit a form and empty the field. It will bring you to the add form, not the edit form.
3. I change (INT)$v_order to $v_order. I did this only because I saw a syntax error on my eclipse environment. If it causes any error, you can add it back.
I was just too quick editing install, and forgot to change two fields in the sql-query. I have attaced with correction now.
This is only sql-file to update the table. Please do it before entering any data.
For full package download FAQ System 3.1 below
1. Added norwegian translation
2. Updated install-file accordingly.
All credits goes to original author.
Have update the install file, to a new one and have update the sql
FAQ System v2.1i
Added French language correctly!
1) I added French version of /catalog/admin/includes/languages/french/faq.php
which ti_kko forgot.
2) I removed wrong installation file of ti_kko's (hrrr!)
P.S: ti_kko, this is not FAQDesk contribution! This FAQ System contribution, so why the hell you put FAQDesk contribution's intallation file ??!?
Ti_kko stay away from this contribution please, because you dont seem to know what you are doing here :))
3) I added all other files and updated faq_installation.txt for an easier
installation, so whole package is working very good!
THIS IS A FULL PACKAGE, so have fun!
FAQ System now supports English, German, French, Danish and Turkish!
Cydonian
Istanbul - TURKEY
PACKAGE COMPLET VERSION FRANCAISE
JUSTE UNE PETITE MODIF DANS CE FICHIER MAIS LA MODIF EST DEJA INCLUSE DANS LE FICHIER D'INSTALLATION :
catalog/includes/boxes/information.php:
---------------------------------------
changer ça :
$info_box_contents[] = array('text' => (where all the other links are)
'<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>' .
par ça :
$info_box_contents[] = array('text' => (where all the other links are)
'<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>');
Expand All / Collapse All
Added Turkish language!
FAQ System now supports English, German, Danish and Turkish!
Whole package is working very good!
This is a FULL PACKAGE, so have fun!
Cydonian
Have update so there are : danish, english and german
This is a FULL PACKAGE, so have fun!
TheExterminator
Just some little fixes by me and also included latest fixes by friends you see below!
Whole package is working very good!
This is a FULL PACKAGE, so have fun!
Cydonian
Under admin, you need to edit a two files.
----------------------------
admin/faq_form.php
admin/faq_list.php
In faq_form.php you will have (1) one incident(s) you need to edit.
Edit Line 28: from <? to <?php
In faq_list.php you will have (3) three incident(s) you need to edit.
Edit Line 23: from <? to <?php
Edit Line 55: from <? to <?php
Edit Line 63: from <? to <?php
Note: Attached is a txt version of this message.
Replaced site-specific title with OSCommerce standard.
Removed include for redirect, which was causing errors.
Use this file instead of v.2.1c, if you get error messages following installation.
The faq.php used a non-osc-standard mysql_fetch_array SQL function that may cause an error on some setups. This is the revised file which uses the osCommerce standard tep_db_query and the tep_db_fetch array.
Attached is only the faq.php.
Just overwrite the one you installed previously.
This is just the catalog/faq.php that did not work from the last update.
Now it works!!
Changes:
--------------------------
- removed one image
- changed one image
- edited functions (faq.php)
This contrib comes with english and german translation.
Changes:
------------------------------------------------
* deleted unnecessary code
* added seperate language files (faq.php)
- changed FAQ_HEADING_TITLE to normal HEADING_TITLE
- added FAQ_BACK_TO_TOP
* added german language files
* added functions file (faq.php)
* changed the layout a bit
* fixed db connections (now with tep_db...)
* fixed link call with tep_href_link()
* fixed some translations
* fixed link to FAQ Manager in admin column_left.php
* added a way to add, edit, delete FAQs in every language
* reworked the whole code
* removed all global variables
in fact i did too much to list all of the changes ;)
http://forums.oscommerce.com/index.php?showtopic=117087&st=0&p=466766&#entry466766
The Multilanguage doesn´t work on the admin side, tried to figure out why? but didnt find the solution. It seems that you can only write in the default language and not others installed?
Just modified the "faq.php" file in the catalog root to add a bookmark at the top of the file, and [BACK TO TOP] links after each FAQ answer so you can link back to the question section.
Just made the page navigation a little easier if you have a lot of FAQs.
Otherwise I found the pre existing package faultless and easy to install. All credits go to the previous authors.
in the old version was a bug. FAQ was print in every Navbars.
make the following changes in english.php
define ('NAVBAR_TITLE' , 'FAQ'):
to
define ('FAQ_NAVBAR_TITLE' , 'FAQ'):
------------------------------------------
catalog/faq.php
change from
$breadcrumb->add(NAVBAR_TITLE, ...
to
$breadcrumb->add(FAQ_NAVBAR_TITLE,
Thats all
Based on FAQ system v.1.0 (adgrafics)
- Multilanguage automatically
- Create questons and answer
- Edit Faq
- Delete Faq
- Activation / DeActivation the Faq
- Change Queue
- View All or to chosen language FAQ (only Admin area)