FAQ mod for Coppermine Photo Gallery version 1.4.
It has three PHP scripts attached in the zip.
First script is 'faqInstaller.php' which is used to handle installation of FAQ mod.
Second script is 'myfaq.php' which is used to display FAQs with their categories and, if logged in as admin, to delete FAQs and their categories.
Third script is 'manageFAQ.php' which is used by admin to add/edit FAQs and their categories.
To install this mod, unzip the PHP files where you have installed your CPG. Run 'faqInstaller.php' as admin from your web browser, ex:-
http://www.somedomain.com/cpg/faqInstaller.php and it will create two database tables.
If you already have any one of these two database tables created then you have to move or delete those tables and run the installer again.
After installation is done, please remove 'faqInstaller.php' for security purpose and access FAQ URL, ex:-
http://www.somedomain.com/cpg/myfaq.php to view/manage your FAQs.
For the first time, there are no FAQs/categories. You have to create the FAQ/category by logged in as admin and to click on one of the 'Add New Category' or 'Add FAQ Entry' links.
If you click on 'Add New Category' link then a pop-up window will open which has a textbox to enter title for new category. You cannot have two categories with same title.
If you click on 'Add New Entry' link then a pop-up window will open which has a drop-down of categories (if exists), a textarea to enter question text and another textarea to enter answer text. You can save FAQ in any category or if you do not want to save the FAQ in any category then select 'No category' option. You can use CPG's bbcodes for answer's text.
To edit/delete any FAQ/category, click on respective links next to FAQ/category titles.
If you delete a category which has FAQs then those FAQs will be moved under root category.
You have to manually add link for FAQ page in the navigation area.
That's all
Screenshot for 'Add FAQ' screen :-
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2F65.254.32.58%2F%7Eamitrb%2FfaqScreenshots%2FfaqAdmin_addFAQ.jpg&hash=8e1ac550c5d34ed247227dbfb6584bd6eca35f58)
Screenshot for 'Add Category' screen :-
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2F65.254.32.58%2F%7Eamitrb%2FfaqScreenshots%2FfaqAdmin_addCategory.jpg&hash=609d6501c821604cbad159cb36f5fd5abdb5613b)
Screenshot for main screen for admin :-
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2F65.254.32.58%2F%7Eamitrb%2FfaqScreenshots%2FfaqAdmin_general.jpg&hash=12eb5fbcaa94a34d9f3737b161bc4d18f086e9ac)
Screenshot for 'Edit FAQ' screen :-
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2F65.254.32.58%2F%7Eamitrb%2FfaqScreenshots%2FfaqAdmin_editFAQ.jpg&hash=4738714b24e81d9400db658340ef91abe82020be)
Screenshot for 'Edit Category' screen :-
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2F65.254.32.58%2F%7Eamitrb%2FfaqScreenshots%2FfaqAdmin_editCategory.jpg&hash=689219ad1eb038a31519192d082dec50abec73b9)
Note:- You can see working example of this mod at
NagpurBirds.