Zen Cart Logo

FAQ Manager

Views: 88,845

Results 301 to 320 of 369
19 Jun 2009, 2:59 AM
#301
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

FAQ Manager

I have installed the FAQ manager I downloaded here on a modded 1.3.8a system.

The problems I have so far is that:

  1. I don't have a button that shows for "Ask a Question", it just shows the alt text. Yet I can see the button in the directory where the other buttons are.
  2. I also do not have the config option that is supposed to be in the admin section.

Can ayone help with this or has this module pretty much died?

Site is http://niagaraicewineshop.com

Thanks
Robert

19 Jun 2009, 3:01 AM
#302
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: FAQ Manager

Is there a list of files that need to be pulled in the event that I decide to delete this MOD?

Is there a way to remove the SQL changes that were needed for this MOD?

Robert

3 Jul 2009, 10:31 PM
#304
rob905 avatar

rob905

Zen Follower

Join Date:
Sep 2007
Location:
Niagara Falls, Ontario
Posts:
378
Plugin Contributions:
0

Re: FAQ Manager

wholesaleclothinginc:

I have also found the same issues for my site:
http://www.wholesaleclothinginc.com/

Now it is ok, i have searched so many times:

From here, this dear buddy help me:

http://www.zen-seo.com/2009/06/25/faq-module-fro-zen-cart-updated/

Thanks!

I like how you have it set up as what looks like an EZPage at the top rather than a sidebox. How did you do that?

4 Aug 2009, 8:08 PM
#305
jezjones29 avatar

jezjones29

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: FAQ Manager

This will fix the category bug: (when I clicked on a side box link - it didn't show the results in a category view - it just showed all of them)

find tpl_faq_all_default.php

around line 36, change / add the code so it looks more like this. If someone has a better way - please say!

 
  if(isset($fcPath) && $fcPath >= '0'){
      $faqs_all_query_raw = "select f.*, fd.*, fcd.faq_categories_name from " . TABLE_FAQS . " f, " . TABLE_FAQS_DESCRIPTION . " fd, " . TABLE_FAQ_CATEGORIES_DESCRIPTION . " fcd, " . TABLE_FAQ_CATEGORIES . " fc " .  "where f.faqs_status = '1' and f.faqs_id = fd.faqs_id and fd.language_id = '" . (int)$_SESSION['languages_id'] . "' and f.master_faq_categories_id = fcd.faq_categories_id and f.master_faq_categories_id = fc.faq_categories_id and fc.faq_categories_status='1'  and f.master_faq_categories_id = '".$fcPath."' " . $order_by;
    
  }else{
    $faqs_all_query_raw = "select f.*, fd.*, fcd.faq_categories_name from " . TABLE_FAQS . " f, " . TABLE_FAQS_DESCRIPTION . " fd, " . TABLE_FAQ_CATEGORIES_DESCRIPTION . " fcd, " . TABLE_FAQ_CATEGORIES . " fc " .  "where f.faqs_status = '1' and f.faqs_id = fd.faqs_id and fd.language_id = '" . (int)$_SESSION['languages_id'] . "' and f.master_faq_categories_id = fcd.faq_categories_id and f.master_faq_categories_id = fc.faq_categories_id and fc.faq_categories_status='1' " . $order_by;
  }
6 Aug 2009, 11:56 PM
#306
liam1964 avatar

liam1964

New Zenner

Join Date:
Mar 2009
Location:
PA, USA
Posts:
31
Plugin Contributions:
0

Re: FAQ Manager

Rob905:

I have installed the FAQ manager I downloaded here on a modded 1.3.8a system.

The problems I have so far is that:

  1. I don't have a button that shows for "Ask a Question", it just shows the alt text. Yet I can see the button in the directory where the other buttons are.
  2. I also do not have the config option that is supposed to be in the admin section.

Can ayone help with this or has this module pretty much died?

Site is http://niagaraicewineshop.com

Thanks
Robert
I would also be VERY keen to know how to have an "Ask a Question" button if anyone can help.

Rob905, I guess you abandoned the idea of having an FAQ on your site, that is a shame, it would have been of great interest on a site such as yours.

12 Aug 2009, 5:51 AM
#307
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: FAQ Manager

liam1964:

I would also be VERY keen to know how to have an "Ask a Question" button if anyone can help.

Are you asking about coding a button? The 'ask a question' button and form is part of the mod.

17 Aug 2009, 5:01 PM
#308
starcad avatar

starcad

New Zenner

Join Date:
Jul 2007
Posts:
53
Plugin Contributions:
0

Re: FAQ Manager

Rob905:

I have installed the FAQ manager I downloaded here on a modded 1.3.8a system.

The problems I have so far is that:

  1. I don't have a button that shows for "Ask a Question", it just shows the alt text. Yet I can see the button in the directory where the other buttons are.
  2. I also do not have the config option that is supposed to be in the admin section.

Can ayone help with this or has this module pretty much died?

Site is http://niagaraicewineshop.com

Thanks
Robert

Robert look here http://www.zen-cart.com/forum/showthread.php?t=41273

It will get the image up. There are a lot of issues with this mod and you have to go through the entire thread to get this to work. But it does work. Don't make the DB changes as suggested earlier in the thread, that won't work and causes other issues. You will get and error when trying to populate the DB if you up load from the Admin. I went to MyPhPAdmin and inserted from there. Still got an error but at least the db populated. There are several other issues like the, "Ask a question", part that you will find the answer to here in the thread. I would like to take all the files that I have made changes to and upload them, but I feel it is up to the original person that started this mess to take all the work others have posted and clean up the original mod and update it, however, as he has stated many times this is not one of his companies priorities.

3 Sep 2009, 4:39 PM
#309
laiwis avatar

laiwis

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Re: FAQ Manager

Hi, can you help me. I have problem with duplicate faq view. On image you can see 2 faqs.
Where can i repair it, some idea?
Thank you.

7 Sep 2009, 8:40 AM
#310
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: FAQ Manager

mrowkaz:

My faq files.

Will the admin files and sql pach remain the same as orignal.

7 Sep 2009, 10:19 AM
#311
laiwis avatar

laiwis

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Re: FAQ Manager

Laiwis:

Hi, can you help me. I have problem with duplicate faq view. On image you can see 2 faqs.
Where can i repair it, some idea?
Thank you.

I insert new question and than quesiton is insert in my language and in english language too. I need turn off view in english. How can i do that?
please

7 Sep 2009, 10:34 AM
#312
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: FAQ Manager

I am getting the following error, when i try to view the FAQ on the category page:
1109 Unknown table 'c' in order clause
in:
[select f., fd., fcd.faq_categories_name from faqs f, faqs_description fd, faq_categories_description fcd, faq_categories fc where f.faqs_status = '1' and f.faqs_id = fd.faqs_id and fd.language_id = '1' and f.master_faq_categories_id = fcd.faq_categories_id and f.master_faq_categories_id = fc.faq_categories_id and fc.faq_categories_status='1' order by c.sort_order, cd.categories_name limit 0, 10]

8 Sep 2009, 3:39 AM
#313
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: FAQ Manager

The ORDER is using:

order by c.sort_order, cd.categories_name

I do not see "c" or "cd" referenced ... aren't those "f" and "fcd"? :unsure:

Check your table structures to be sure which ones they should be ...

9 Sep 2009, 5:56 AM
#314
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: FAQ Manager

I just installed the patch to the existing database.

8 Oct 2009, 9:02 PM
#315
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: FAQ Manager

davewest:

Are you asking about coding a button? The 'ask a question' button and form is part of the mod.

I too didn't have the button for "ask a question". If you right click the alt text and look at properties you will find that the image path is to a file called: includes/templates/template_default/buttons/english/button_ask_a_question.gif

However the file there is misspelled: button_ask_a_quetion.gif (missing the "s")

Fix: Rename the file button_ask_a_question.gif

Hope that helps!

8 Oct 2009, 9:06 PM
#316
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: FAQ Manager

Now, if I can just find out where the "SILVER_SEPARATOR" file is... my web stats page always shows a 404 Error for some image named SILVER_SEPARATOR and I think it has to do with this module.

Anybody else see this 404 error?

12 Oct 2009, 2:23 PM
#317
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: FAQ Manager

jasmel:

Now, if I can just find out where the "SILVER_SEPARATOR" file is... my web stats page always shows a 404 Error for some image named SILVER_SEPARATOR and I think it has to do with this module.

Anybody else see this 404 error?

found the answer: http://www.zen-cart.com/forum/showpost.php?p=237728&postcount=8

27 Oct 2009, 6:02 AM
#318
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: FAQ Manager

I installed this mod, however after creating a test category and faq...I get the message 'question not found' when trying to view the faq on the site.

10 Nov 2009, 3:31 AM
#319
billipo avatar

billipo

New Zenner

Join Date:
Nov 2007
Posts:
10
Plugin Contributions:
0

Re: FAQ Manager

I wish I knew more about modifying pages because I think what I want is an easy fix.

For some reason, (and there might be a good one) in the Admin for the FAQ sidebox module you cannot choose "Category" as the default sort order for the FAQ page. It skips right over it!

Unfortunately, I think that is the one that looks the best, but I cannot figure out how to make it selectable by modifying the code.

Does anyone know how to change the php in the Admin side of the FAQ module so that I can make "Category" the default sort order for all pages?

Thanks,
bill

12 Nov 2009, 4:55 AM
#320
earnest_enterprises avatar

earnest_enterprises

New Zenner

Join Date:
Oct 2009
Location:
Great Northwest
Posts:
80
Plugin Contributions:
0

Re: FAQ Manager

mrowkaz:

<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | [url]http://www.zen-cart.com/index.php[/url] | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | [url]http://www.zen-cart.com/license/2_0.txt[/url]. | // | If you did not receive a copy of the zen-cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | [email protected] so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // $Id: faq_manager.php 001 2005-05-05 [email protected] // $content = ""; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n"; for ($i=0;$i<sizeof($box_faq_categories_array);$i++) { switch(true) { // to make a specific faq_category stand out define a new class in the stylesheet example: A.faq_category-holiday // uncomment the select below and set the fcPath=3 to the fcPath= your_faq_categories_id // many variations of this can be done // case ($box_faq_categories_array[$i]['path'] == 'fcPath=3'): // $new_style = 'faq_category-holiday'; // break; case ($box_faq_categories_array[$i]['top'] == 'true'): $new_style = 'category-top'; break; case ($box_faq_categories_array[$i]['has_sub_cat']): $new_style = 'category-subs'; break; default: $new_style = 'category-products'; } if (zen_get_faq_types_to_faq_category($box_faq_categories_array[$i]['path']) == '3' or ($box_faq_categories_array[$i]['top'] != 'true' and SHOW_FAQ_CATEGORIES_SUBFAQ_CATEGORIES_ALWAYS != 1)) { // skip it this is for the document box } else { $content .= '<a class="' . $new_style . '" href="' . zen_href_link(FILENAME_FAQS, $box_faq_categories_array[$i]['path']) . '">'; if ($box_faq_categories_array[$i]['current']) { if ($box_faq_categories_array[$i]['has_sub_cat']) { $content .= '<span class="category-subs-parent">' . $box_faq_categories_array[$i]['name'] . '</span>'; } else { $content .= '<span class="category-subs-selected">' . $box_faq_categories_array[$i]['name'] . '</span>'; } } else { $content .= $box_faq_categories_array[$i]['name']; } if ($box_faq_categories_array[$i]['has_sub_cat']) { $content .= FAQ_CATEGORIES_SEPARATOR; } $content .= '</a>'; if (SHOW_FAQ_COUNTS == 'true') { if ((FAQ_CATEGORIES_COUNT_ZERO == '1' and $box_faq_categories_array[$i]['count'] == 0) or $box_faq_categories_array[$i]['count'] >= 1) { $content .= FAQ_CATEGORIES_COUNT_PREFIX . $box_faq_categories_array[$i]['count'] . FAQ_CATEGORIES_COUNT_SUFFIX; } } $content .= '<br />'; } } if (SHOW_FAQ_CATEGORIES_BOX_FAQS_NEW == 'true' or SHOW_FAQ_CATEGORIES_BOX_FEATURED_FAQS == 'true' or SHOW_FAQ_CATEGORIES_BOX_FAQS_ALL == 'true') { // display a separator between faq_categories and links if (SHOW_FAQ_CATEGORIES_SEPARATOR_LINK == '1') { $content .= '<br />' . zen_draw_separator('pixel_silver.gif') . '<br />'; } if (SHOW_FAQ_CATEGORIES_BOX_FAQS_NEW == 'true') { switch (true) { case (SHOW_NEW_FAQS_LIMIT == '0'): $display_faq_limit = ''; break; case (SHOW_NEW_FAQS_LIMIT == '1'): $display_faq_limit = " and date_format(p.faqs_date_added, '%Y%m') >= date_format(now(), '%Y%m')"; break; case (SHOW_NEW_FAQS_LIMIT == '30'): $$display_faq_limit = ' and TO_DAYS(NOW()) - TO_DAYS(p.faqs_date_added) <= 30'; break; case (SHOW_NEW_FAQS_LIMIT == '60'): $display_faq_limit = ' and TO_DAYS(NOW()) - TO_DAYS(p.faqs_date_added) <= 60'; break; case (SHOW_NEW_FAQS_LIMIT == '90'): $display_faq_limit = ' and TO_DAYS(NOW()) - TO_DAYS(p.faqs_date_added) <= 90'; break; case (SHOW_NEW_FAQS_LIMIT == '120'): $display_faq_limit = ' and TO_DAYS(NOW()) - TO_DAYS(p.faqs_date_added) <= 120'; break; } $show_this = $db->Execute("select p.faqs_id from " . TABLE_FAQS . " p where p.faqs_status = '1' " . $display_faq_limit . " limit 1"); if ($show_this->RecordCount() > 0) { $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_FAQS_NEW) . '">' . FAQ_CATEGORIES_BOX_HEADING_WHATS_NEW . '</a>' . '<br />'; } } if (SHOW_FAQ_CATEGORIES_BOX_FAQS_ALL == 'true') { $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_FAQS_ALL) . '">' . FAQ_CATEGORIES_BOX_HEADING_FAQS_ALL . '</a>'; } } $content .= '</div>' . "\n"; ?>[PHP]

What/which filename in this mod is this, Mrowkaz?  Are these fixes that you have made work OK (or not)?  

Thanks....

Rod