If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / FAQ Module [Support]

FAQ Module [Support]

Started by kamelion0927 on 24 Sep 2012, 10:59 PM · Views: 28,201

Results 1 to 20 of 130
24 Sep 2012, 10:59 PM
#1
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

FAQ Module [Support]

Since there isn't really a proper support thread for the FAQ Module, I thought I'd start one :smile: I've updated the mod to be compatible with Zen Cart v1.5 and because I'm not fabulous with code, there are most likely going to be issues with it. If you have issues, I'll try my best to fix 'em - just let me know.

26 Sep 2012, 7:06 AM
#2
adamells avatar

adamells

New Zenner

Join Date:
Sep 2012
Posts:
4
Plugin Contributions:
0

Re: FAQ Module [Support]

I get this error:

PHP Fatal error:  Call to undefined function  zen_start_featured_faqs() in /includes/init_includes/init_faq.php on line 103

It looks defined in includes/functions/featured_faqs.php which exists on my site, but not sure if or how that page is being included. Ideas? Thanks!

26 Sep 2012, 8:33 PM
#3
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

adamells:

I get this error:

PHP Fatal error: Call to undefined function zen_start_featured_faqs() in /includes/init_includes/init_faq.php on line 103

> 
> It looks defined in includes/functions/featured_faqs.php which exists on my site, but not sure if or how that page is being included. Ideas? Thanks!

Whoops! On includes/init_includes/init_faq.php, at the very bottom right above 
```php
  zen_start_featured_faqs();
  zen_expire_featured_faqs();

add require(DIR_WS_FUNCTIONS . 'featured_faqs.php'); so that the whole block looks like

  require(DIR_WS_FUNCTIONS . 'featured_faqs.php');
  zen_start_featured_faqs();
  zen_expire_featured_faqs();

I forgot to add the call to incude featured_faq.php.

26 Sep 2012, 8:42 PM
#4
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

And I just found another error - this time in the admin when you try to add a faq. When you try to add a faq, the faq will be added, but you'll end up with a white screen instead of being redirected back to the faq category.

To fix it, go to admin/includes/modules/faq/update_info.php and remove this block of code

/* Re-Post all POST'ed variables */
      reset($_POST);
      while (list($key, $value) = each($_POST)) {
        if (!is_array($_POST[$key])) {
          echo zen_draw_hidden_field($key, htmlspecialchars(stripslashes($value)));
        }
      }

      $languages = zen_get_languages();
      for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
        echo zen_draw_hidden_field('faqs_name[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($faqs_name[$languages[$i]['id']])));
        echo zen_draw_hidden_field('faqs_answer[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($faqs_answer[$languages[$i]['id']])));
        }

I'll submit an updated working version tonight.

26 Sep 2012, 8:55 PM
#5
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

A working FAQ Module fileset has been submitted.

Updates include bugfixes to admin/includes/modules/faq/update_faq.php and includes/init_includes/init_faq.php as well as changing the file name includes/languages/english/extra_definitions/faq_categories.php to faq_manager.php and adding a definition for a FAQ link.

I also included instructions on how to add a link to your FAQs.

27 Sep 2012, 1:47 AM
#6
adamells avatar

adamells

New Zenner

Join Date:
Sep 2012
Posts:
4
Plugin Contributions:
0

Re: FAQ Module [Support]

kamelion0927:

A working FAQ Module fileset has been submitted.

I also included instructions on how to add a link to your FAQs.

I made the changes posted in this thread and fixed the issue straightaway. Thank you for your fast work!
I do not see an updated module for download, do they need to be approved by a moderator before they show up?

I'm not sure how to make the FAQ actually show up - I turned on the Layout Box and successfully created a few categories and articles but nothing appears on the site. I assume I'm missing something that's in your updated instructions...

27 Sep 2012, 3:22 AM
#7
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

adamells:

I made the changes posted in this thread and fixed the issue straightaway. Thank you for your fast work!
I do not see an updated module for download, do they need to be approved by a moderator before they show up?

I'm not sure how to make the FAQ actually show up - I turned on the Layout Box and successfully created a few categories and articles but nothing appears on the site. I assume I'm missing something that's in your updated instructions...

All mods and mod updates have to be approved before they are available for download - it hasn't been taking very long for the mods to be approved so the update should be available soon.

Turning on the faq category sidebox only makes the sidebox visable - to see the faq page you need to add a link to it by adding the code below to either your header, footer, information sidebox or wherever you want the link.

<a href="<?php echo zen_href_link(FILENAME_FAQS, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_FAQS; ?>

You will also need to add

define('BOX_INFORMATION_FAQS', 'FAQs');

to includes/languages/english/extra_definitions/faq_categories.php.

That link will take you to yoursite.com/index.php?main_page=faqs_all which is where you'll see your faqs.

I hope that makes sense...

If you want a working example of the remodeled FAQ Module, I have it working on burningbutterfly.com. In the footer of that site, click on the "Help Center" link.

27 Sep 2012, 4:01 AM
#8
adamells avatar

adamells

New Zenner

Join Date:
Sep 2012
Posts:
4
Plugin Contributions:
0

Re: FAQ Module [Support]

Very helpful, I made a sidebar link to the FAQ section and then the categories appear. Starting to populate articles now. I'll watch for the update but I'm up and running. Thanks again for your work, not just with me but updating the module... it does seem to do exactly what want.

27 Sep 2012, 4:12 AM
#9
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

Glad I could help :laugh:

29 Sep 2012, 9:36 AM
#10
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

If you want to adjust your faq metatags so that the faq question is the title and the faq answer is the description, add

  //BOF FAQ Metatags
    case (strstr($_GET['main_page'], 'faq_info')):
    $sql= "select pd.faqs_name, p.faqs_id, pd.faqs_answer
                              from " . TABLE_FAQS . " p, " . TABLE_FAQS_DESCRIPTION . " pd
                              where p.faqs_id = '" . (int)$_GET['faqs_id'] . "'
                              and p.faqs_id = pd.faqs_id
                              and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
	$faq_info_metatags = $db->Execute($sql);
	$meta_faqs_name = $faq_info_metatags->fields['faqs_name'];
    $meta_faqs_name = zen_clean_html($meta_faqs_name);
    $meta_faqs_answer = zen_truncate_paragraph(strip_tags(stripslashes($faq_info_metatags->fields['faqs_answer'])), MAX_META_TAG_DESCRIPTION_LENGTH);
    $meta_faqs_answer = zen_clean_html($meta_faqs_answer);

    define('META_TAG_TITLE', str_replace('"','',$meta_faqs_name . PRIMARY_SECTION . TITLE . TAGLINE));
    define('META_TAG_DESCRIPTION', str_replace('"','', $meta_faqs_answer . ' '));
    define('META_TAG_KEYWORDS', str_replace('"','',$meta_faqs_name . METATAGS_DIVIDER . KEYWORDS));
	break;
	//EOF FAQ Metatags

to includes/modules/YOUR_TEMPLATE/meta_tags.php just above the line

// meta tags override due to 404, missing products_id, cPath or other EOF issues
1 Oct 2012, 1:33 AM
#11
dmchljhnsn avatar

dmchljhnsn

New Zenner

Join Date:
Sep 2012
Posts:
7
Plugin Contributions:
0

Re: FAQ Module [Support]

Where you added:"DIR_WS_FUNCTIONS" to read: require(DIR_WS_FUNCTIONS . 'featured_faqs.php');
zen_start_featured_faqs();
zen_expire_featured_faqs();

Then you changed to this in version 2.1 to read:
require(DIR_WS_CLASSES . 'faq_category_tree.php');

require(DIR_WS_CLASSES . 'featued_faqs.php');
zen_start_featured_faqs();
Add a r to "featued_faqs.php**** to read "featured_faqs.php"
zen_expire_featured_faqs();
This should get you back up and running .. This file is located at includes/init_includes/init_faq.php****

1 Oct 2012, 1:52 AM
#12
dmchljhnsn avatar

dmchljhnsn

New Zenner

Join Date:
Sep 2012
Posts:
7
Plugin Contributions:
0

Re: FAQ Module [Support]

Also "DIR_WS_CLASSES" should be changed to: "DIR_WS_FUNCTIONS" to read:

require(DIR_WS_FUNCTIONS . 'featured_faqs.php');
zen_start_featured_faqs();
zen_expire_featured_faqs();

I made the changes to this file and FAQ 2.1 is up and running!!! Praise the Lord!

1 Oct 2012, 9:02 PM
#13
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

And yet another issue (I will get these all worked out one day, I promise :). In includes/init_includes/init_faq.php, remove this block of code located on/about line 18 so that your category page will work

/**
 * process all $_GET terms
 */
  $strictReplace = '[<>\']';
  $unStrictReplace = '[<>]';
  if (isset($_GET) && count($_GET) > 0) {
    foreach($_GET as $key=>$value){
      if(is_array($value)){
        foreach($value as $key2 => $val2){
          if ($key2 == 'keyword') {
            $_GET[$key][$key2] = preg_replace('/'.$unStrictReplace.'/', '', $val2);
          } else {
            $_GET[$key][$key2] = preg_replace('/'.$strictReplace.'/', '', $val2);
          }
          unset($GLOBALS[$key]);
        }
      } else {
        if ($key == 'keyword') {
          $_GET[$key] = preg_replace('/'.$unStrictReplace.'/', '', $value);
        } else {
          $_GET[$key] = preg_replace('/'.$strictReplace.'/', '', $value);
        }
        unset($GLOBALS[$key]);
      }
    }
  }

All that code in the FAQ Module does is duplicate what Zen Cart is already set up to do.

I'm going to do some more testing on a brand new install to make sure there aren't any further issues then I'll submit an update to the module so that it works out of the box.

1 Oct 2012, 11:04 PM
#14
dmchljhnsn avatar

dmchljhnsn

New Zenner

Join Date:
Sep 2012
Posts:
7
Plugin Contributions:
0

Re: FAQ Module [Support]

I have edited the code per the last post - "includes/init_includes/init_faq.php". But I still have a problem with the main FAQ page. I have the "faqs_all" link under my Customer Support in the main nav bar. When the faq page loads, it says:

Frequently Asked Questions

There are no FAQs available at this time - please check back later..

In the previous version the "title header and default text and a "Ask a Question" was all on the same page, but not so now. Is there something that I don't have set-up or do you have any suggustions?
Also in my Admin, the FAQ Manager is no where to be found. In the Layout Boxes Controller its there as a sidebox, but not under Extras as per the instructions. I've verified the entries in the database and they all seem to be there. And checked all the install files in the Admin directory within the html/ home directory on my host. I have a horizontal nav bar menu (tb_sempre) flavor /template by Brandon Turpin. So sidebox is out ... If you have any suggestions on how to get this working, please let me know. If I could assist you in any way, email me... THx

2 Oct 2012, 3:05 PM
#15
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

dmchljhnsn:

I have edited the code per the last post - "includes/init_includes/init_faq.php". But I still have a problem with the main FAQ page. I have the "faqs_all" link under my Customer Support in the main nav bar. When the faq page loads, it says:

Frequently Asked Questions

There are no FAQs available at this time - please check back later..

In the previous version the "title header and default text and a "Ask a Question" was all on the same page, but not so now. Is there something that I don't have set-up or do you have any suggustions?
Also in my Admin, the FAQ Manager is no where to be found. In the Layout Boxes Controller its there as a sidebox, but not under Extras as per the instructions. I've verified the entries in the database and they all seem to be there. And checked all the install files in the Admin directory within the html/ home directory on my host. I have a horizontal nav bar menu (tb_sempre) flavor /template by Brandon Turpin. So sidebox is out ... If you have any suggestions on how to get this working, please let me know. If I could assist you in any way, email me... THx

Only your faq categories and faqs will show on the faqs all page - I removed ask a question for now because there were so many problems with it on the last release. It should be easy enough to update and add back in, but it will probably need to be restructured so that it's safe enough to use.

5 Oct 2012, 10:56 PM
#16
dmchljhnsn avatar

dmchljhnsn

New Zenner

Join Date:
Sep 2012
Posts:
7
Plugin Contributions:
0

Re: FAQ Module [Support]

ok --- why do think the FAQ Manager Module is not showing up in the Admin control panel under EXTRAS? Have you got it working on the test server? I am thinking about reinstalling zen cart and then doing the updates, then install FAQ again. Have you uploaded anything yet since the Sept 26 update? Thx for your efforts... I'm sure you get alot of apprication from the rest of the Zen Cart community! Thx again---:P

7 Oct 2012, 5:22 AM
#17
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

dmchljhnsn:

ok --- why do think the FAQ Manager Module is not showing up in the Admin control panel under EXTRAS? Have you got it working on the test server? I am thinking about reinstalling zen cart and then doing the updates, then install FAQ again. Have you uploaded anything yet since the Sept 26 update? Thx for your efforts... I'm sure you get alot of apprication from the rest of the Zen Cart community! Thx again---:P

Tis working on both my test server (a totally vanilla version of zen cart) and the almost live site I'm working on - the only thing that isn't working currently (if you've made all of the changes mentioned in previous posts) is subcategories - but because the mod uses the faqs all page instead of a clone of the category/product listing, it make sense that the subcategories aren't working properly.

This time around, I'm thinking about pulling the subcategory function from the mod entirely - you'll still be able to create categories and faqs, just not subcategories. It will make the mod a lot easier to use and install.

7 Oct 2012, 5:41 PM
#18
dmchljhnsn avatar

dmchljhnsn

New Zenner

Join Date:
Sep 2012
Posts:
7
Plugin Contributions:
0

Re: FAQ Module [Support]

Ok.. that makes cent$... Have you looked in to why the FAQ Manager is not showing up in the ADMIN under EXTRAS? I am with a new host (Host Gator), maybe it'll work better with them... I let you know...
THx Michael:dontgetit

7 Oct 2012, 6:56 PM
#19
kamelion0927 avatar

kamelion0927

Zen Follower

Join Date:
Dec 2009
Posts:
208
Plugin Contributions:
1

Re: FAQ Module [Support]

dmchljhnsn:

Ok.. that makes cent$... Have you looked in to why the FAQ Manager is not showing up in the ADMIN under EXTRAS? I am with a new host (Host Gator), maybe it'll work better with them... I let you know...
THx Michael:dontgetit

I apologize - just read my post from last night and I didn't answer your question - sleep deprivation and I don't get along too well. :blush:

A couple of things you can check if the FAQ Manager isn't showing up on the Extras menu - go to your_admin/languages/english/extra_definitions/faq_manager_defines.php and make sure the line

define('BOX_CATALOG_FAQ_MANAGER', 'FAQ Manager');

is there.

If you have that line in that file, you can try uninstalling the configuration settings and reinstall 'em. In your admin or mySQL, run

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'FAQ Manager'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;

DELETE FROM admin_pages WHERE page_key = 'configFAQManager' LIMIT 1;

to remove all the configuration options from your database.

Then run

SELECT @cid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'FAQ Manager';
DELETE FROM configuration WHERE configuration_group_id = @cid;
DELETE FROM configuration_group WHERE configuration_group_id = @cid;

INSERT INTO configuration_group VALUES (NULL, 'FAQ Manager', 'Set FAQ Manager Options', '1', '1');
SET @cid=last_insert_id();
UPDATE configuration_group SET sort_order = @cid WHERE configuration_group_id = @cid;
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES 
(NULL, 'All FAQs - Configuration Group ID', 'FAQ_LISTS_GROUP_ID_ALL', @cid, '<br/>Warning: Only change this if your FAQs Group ID has changed from the default<br />What is the configuration_group_id for FAQ Listings?<br/>', @cid, 1, NOW(), NULL, NULL),
(NULL, 'FAQ Info - Prev/Next Navigation Bar Status', 'FAQ_INFO_PREVIOUS_NEXT_STATUS', '1', '<br/>Show the prev/next navigation bar on the FAQ info pages?<br/>', @cid, 10, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'On\')),'),
(NULL, 'FAQ Info - Prev/Next Navigation Bar Position', 'FAQ_INFO_PREVIOUS_NEXT_POSITION', '1', '<br/>Set the location of prev/next navigation bar on the FAQ info pages<br/>', @cid, 11, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'Top of Page\'), array(\'id\'=>\'2\', \'text\'=>\'Bottom of Page\'), array(\'id\'=>\'3\', \'text\'=>\'Both Top & Bottom of Page\')),'),
(NULL, 'FAQ Info - Prev/Next Sort Order', 'FAQ_INFO_PREVIOUS_NEXT_SORT', '1', '<br/>Sort order of prev/next navigation bar on the FAQ info pages<br/>', @cid, 12, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'FAQ Name\'), array(\'id\'=>\'2\', \'text\'=>\'FAQ Name DESC\'), array(\'id\'=>\'3\', \'text\'=>\'FAQ Sort Order, FAQ Category Sort Order\'), array(\'id\'=>\'4\', \'text\'=>\'FAQ Category Sort Order\'), array(\'id\'=>\'5\', \'text\'=>\'Date Added DESC, FAQs Name\'), array(\'id\'=>\'5\', \'text\'=>\'Date Added DESC, FAQs Name\'), array(\'id\'=>\'7\', \'text\'=>\'FAQs Sort Order\')),'),
(NULL, 'FAQ Info - Back Button Status', 'FAQ_INFO_BACK_BUTTON', '1', '<br/>Show the back button on the FAQ info pages?<br/>', @cid, 13, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'On\')),'),
(NULL, 'FAQ Index - Max Display', 'MAX_DISPLAY_FAQS_ALL', '20', '<br/>Number of FAQs to show on the main FAQ index page<br/>', @cid, 20, NOW(), NULL, NULL),
(NULL, 'FAQ Index - Default Sort Order', 'FAQ_SORT_DEFAULT', '3', '<br/>Sets the default FAQ sort order<br />', @cid, 22, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'FAQ Name A - Z\'), array(\'id\'=>\'2\', \'text\'=>\'FAQs Name Z - A\'), array(\'id\'=>\'3\', \'text\'=>\'Category Name with Admin Sort Order\'), array(\'id\'=>\'4\', \'text\'=>\'Admin Defined Sort Order\'), array(\'id\'=>\'6\', \'text\'=>\'Date Added Oldest First\'), array(\'id\'=>\'7\', \'text\'=>\'Date Added Newest First\')),'),
(NULL, 'FAQ Index - Display Sorter', 'FAQ_ALL_DISPLAY_SORT_ORDER', '1', '<br/>Show the FAQ sorter on the FAQ index page?<br/>', @cid, 23, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'On\')),'),
(NULL, 'FAQ Idex - Prev/Next Navigation Bar Status', 'FAQ_INDEX_PREVIOUS_NEXT_STATUS', '1', '<br/>Show the prev/next navigation bar on the FAQ index page?<br/>', @cid, 24, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'On\')),'),
(NULL, 'FAQ Index - Prev/Next Navigation Bar Position', 'FAQ_INDEX_PREVIOUS_NEXT_POSITION', '1', '<br/>Set the location of prev/next navigation bar on the FAQ index page<br/>', @cid, 25, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'Top of Page\'), array(\'id\'=>\'2\', \'text\'=>\'Bottom of Page\'), array(\'id\'=>\'3\', \'text\'=>\'Both Top & Bottom of Page\')),'),
(NULL, 'FAQ Index - Show Featured FAQs', 'SHOW_FEATURED_FAQS_INDEX', '1', 'Show featured FAQs on the main FAQ index page?', @cid, 26, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'On\')),'),
(NULL, 'FAQ Index - Max Display Featured FAQs', 'MAX_DISPLAY_SEARCH_RESULTS_FEATURED_FAQ', '5', 'Number of featured FAQs to show on the main FAQ index page', @cid, 27, NOW(), NULL, NULL),
(NULL, 'FAQ Category Box - Separator between the Category Name and Sub Categories', 'FAQ_CATEGORIES_SEPARATOR_SUBS', '|_ ', '<br/>What separator do you want between the FAQ Category name and Subcategory Name?<br />Default = |_&nbsp;<br/>', @cid, 50, NOW(), NULL, 'zen_cfg_textarea_small('),
(NULL, 'FAQ Category Box - Always Open to Show FAQ SubCategories', 'SHOW_FAQ_CATEGORIES_SUBFAQ_CATEGORIES_ALWAYS', '1', '<br/>Setting for always show FAQ categories and subcategories on the FAQ category box.<br />', @cid, 51, NOW(), NULL, 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off - Just Show Top Categories\'), array(\'id\'=>\'1\', \'text\'=>\'On, Always Show Categories and Subcategories When Selected\')),'),
(NULL, 'Display FAQ Name', 'FAQ_ALL_LIST_NAME', '2101', 'Do you want to display the FAQ Name?<br /><br />0= off<br />1st digit Left or Right<br />2nd and 3rd digit Sort Order<br />4th digit number of breaks after<br />', @cid, 82, NOW(), NULL, NULL); 

INSERT IGNORE INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order) VALUES ('configFAQManager','BOX_CATALOG_FAQ_MANAGER','FILENAME_FAQ_MANAGER',CONCAT('gID=',@cid),'extras','Y',@cid);

This is just the sql to uninstall and reinstall the configuration options - the faq tables where your faq categories and faq answers are stored are not touched if you just run the statements above.

I don't know why but sometimes if I run a SQL statement in my admin, the options I add to my database won't show up. If that happens, I run them through mySQL and they do show. It's user error of some sort, but I haven't pinpointed a cause. Hopefully removing and reinstalling the configuration options will work.

10 Oct 2012, 2:50 PM
#20
raj3396 avatar

raj3396

New Zenner

Join Date:
May 2011
Location:
DELHI,INDIA
Posts:
43
Plugin Contributions:
0

Re: FAQ Module [Support]

Nice plugin Does this plugin work on version 1.39h