Zen Cart Logo

FAQ Manager

Views: 88,845

Results 201 to 220 of 369
8 Jun 2008, 8:02 PM
#201
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

FAQ Manager

i just started using this mod but i realized quickly that if you choose a catagory/subcatagory you still see all the faqs this is kindof a pain is there a fix for this plus i'd like to make Sort by: catagory as the default instead of Sort by: faq name

9 Jun 2008, 5:49 AM
#202
mikedeezy33 avatar

mikedeezy33

New Zenner

Join Date:
Jun 2007
Location:
San Diego, CA
Posts:
61
Plugin Contributions:
0

Re: FAQ Manager

You can display the faqs by category by changing the settings in the admin. You can see this at my site: https://www.factor4health.com/faqs

9 Jun 2008, 11:35 AM
#203
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: FAQ Manager

i reallylike how you have your faq set-up, are the steps to trim it down in this topic

10 Jun 2008, 12:52 PM
#204
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: FAQ Manager

I have install ver faq manager 1.2 and it is working fine on zencart 1.3.8a except..
when I turn on FCKeditor Plugin 2.5 downloaded from downloads section, i got this error message when I create new faq from admin

Warning: Missing argument 1 for fckeditor() in /xx/xx/xx/public_html/xx/admin/includes/fckeditor_php4.php on line 42

Fatal error: Call to undefined function: createfckeditor() in /xx/xx/xx/public_html/xx/admin/includes/modules/faq/collect_info.php on line 200

Does anyone have a fix for the above error?

many thanks

12 Jun 2008, 7:06 AM
#205
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: FAQ Manager

Im having a problem with fckeditor when i try to list a new category im getting this error.

Warning: Missing argument 1 for FCKeditor::__construct(), called in /home/dscott19/public_html/dealz-r-us/admin/includes/modules/faq/collect_info.php on line 198 and defined in /home/dscott19/public_html/dealz-r-us/admin/includes/fckeditor_php5.php on line 42

Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /home/dscott19/public_html/dealz-r-us/admin/includes/modules/faq/collect_info.php on line 200

Can anyone help me solve this problem.

Thank you

16 Jun 2008, 11:55 PM
#206
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: FAQ Manager

I have resolved the problem for the with FCKeditor here is the solution for those having the problem find in admin/includes/modules/faq/collect_info.php.

Find:

16 Jun 2008, 11:55 PM
#207
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: FAQ Manager

dscott1966:

I have resolved the problem for the with FCKeditor here is the solution for those having the problem find in admin/includes/modules/faq/collect_info.php.

Find:

<?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") { // if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php'); $oFCKeditor = new FCKeditor ; $oFCKeditor->Value = (isset($faqs_answer[$languages[$i]['id']])) ? stripslashes($faqs_answer[$languages[$i]['id']]) : zen_get_faqs_answer($pInfo->faqs_id, $languages[$i]['id']) ; $oFCKeditor->CreateFCKeditor( 'faqs_answer[' . $languages[$i]['id'] . ']', '99%', '230' ) ; //instanceName, width, height (px or %) } else { // using HTMLAREA or just raw "source" echo zen_draw_textarea_field('faqs_answer[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($faqs_answer[$languages[$i]['id']])) ? stripslashes($faqs_answer[$languages[$i]['id']]) : zen_get_faqs_answer($pInfo->faqs_id, $languages[$i]['id'])); //,'id="'.'faqs_description' . $languages[$i]['id'] . '"');
17 Jun 2008, 12:07 AM
#208
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: FAQ Manager

Sorry for the double post here you go on how to fix the FCKeditor problem:

Find in: admin/includes/modules/faq/collect_info.php

<?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") { // if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php'); $oFCKeditor = new FCKeditor ; $oFCKeditor->Value = (isset($faqs_answer[$languages[$i]['id']])) ? stripslashes($faqs_answer[$languages[$i]['id']]) : zen_get_faqs_answer($pInfo->faqs_id, $languages[$i]['id']) ; $oFCKeditor->CreateFCKeditor( 'faqs_answer[' . $languages[$i]['id'] . ']', '99%', '230' ) ; //instanceName, width, height (px or %) } else { // using HTMLAREA or just raw "source" echo zen_draw_textarea_field('faqs_answer[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($faqs_answer[$languages[$i]['id']])) ? stripslashes($faqs_answer[$languages[$i]['id']]) : zen_get_faqs_answer($pInfo->faqs_id, $languages[$i]['id'])); //,'id="'.'faqs_description' . $languages[$i]['id'] . '"'); and replace with: <?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") { // if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php'); $oFCKeditor = new FCKeditor ('products_description[' . $languages[$i]['id'] . ']') ; // problem sold $oFCKeditor->Value = (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']) ; // $oFCKeditor->Create() ; $oFCKeditor->Width = '99%' ; $oFCKeditor->Height = '300' ; // $output = $oFCKeditor->CreateHtml() ; echo $output; $oFCKeditor->Create( 'products_description[' . $languages[$i]['id'] . ']' ) ; //instanceName, width, height (px or %) } else { // using HTMLAREA or just raw "source" echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'products_description' . $languages[$i]['id'] . '"'); } ?>

There will be two places in the file that this code needs to placed. Hope this works for you.

17 Jun 2008, 9:45 AM
#209
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: FAQ Manager

thank you, the above FCKeditor fix works like charm~

17 Jun 2008, 2:47 PM
#210
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: FAQ Manager

keenskin:

thank you, the above FCKeditor fix works like charm~

Your welcome

20 Jun 2008, 3:35 PM
#211
cattom avatar

cattom

New Zenner

Join Date:
Apr 2008
Location:
London
Posts:
27
Plugin Contributions:
0

Re: FAQ Manager

Little question.

When I click to category from the side box it sending me to faq_all. Is it possible to change something to get category requred if you click to category but not all faq listings.

Thank you

20 Jun 2008, 11:57 PM
#212
cattom avatar

cattom

New Zenner

Join Date:
Apr 2008
Location:
London
Posts:
27
Plugin Contributions:
0

Re: FAQ Manager

I am not a specialist, but I suspect that there is some problem with database. There are no categories names stored in database at all. Here is screenshot. May be there is some solution? Thank you.

21 Jun 2008, 4:52 AM
#213
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: FAQ Manager

I do not know if this will help you, but look at post #166 and see if that will help you. Also look at the other post there. and also if you read post #180 there was some changes to the mod.

21 Jun 2008, 6:46 AM
#214
cattom avatar

cattom

New Zenner

Join Date:
Apr 2008
Location:
London
Posts:
27
Plugin Contributions:
0

Re: FAQ Manager

Thank you very much for answer dscott1966. But I got v1.2 installed. I can,t find categories names in DB at all, actually there no categories name fields - they are missed. Kind of miracle, I can't undarstand where they are stored as they are displayed on the side box.

21 Jun 2008, 6:58 AM
#215
mikedeezy33 avatar

mikedeezy33

New Zenner

Join Date:
Jun 2007
Location:
San Diego, CA
Posts:
61
Plugin Contributions:
0

Re: FAQ Manager

Hi Cattom -
To enter a new category go to Extras->Faq Manager in the admin. Then click on "Faqs and Faq Categories". Then click the button that says "New Category".

By the way, if you are looking straight at the database, I believe all the name and description info for a faq is in the faqs_description table, or some similarly named table.

21 Jun 2008, 12:44 PM
#216
cattom avatar

cattom

New Zenner

Join Date:
Apr 2008
Location:
London
Posts:
27
Plugin Contributions:
0

Re: FAQ Manager

Hi mikedeezy33
Thanks to response. This is exactly the problem. I knew how to create categories, I have six of them actually. But the categories names are nowhere into database tables. Simply doesn't exist. How categories names displayed in sidebox and in the faq_all page - puzzle. I made triple search on my database, nothing, only faq_categories_id from 1 to 6. When I clicking to category name from side box it displayed link looks like: my_site//faqs_all.html?fcPath=1, my_site//faqs_all.html?fcPath=2 etk, but displayed all_faq page with the all faqs listed but not faqs into the chosen category.

21 Jun 2008, 1:20 PM
#217
cattom avatar

cattom

New Zenner

Join Date:
Apr 2008
Location:
London
Posts:
27
Plugin Contributions:
0

Re: FAQ Manager

Just for more understandable description of my problem. At the moment my FAQ_categories box works approximately like if I click on "Scarves" category but products_all displayed. :(

23 Jun 2008, 12:50 AM
#218
mikedeezy33 avatar

mikedeezy33

New Zenner

Join Date:
Jun 2007
Location:
San Diego, CA
Posts:
61
Plugin Contributions:
0

Re: FAQ Manager

Yeah... I understand that the individual categories don't display by themselves. That is an issue that needs to be fixed. You can work around this by using html bookmarks on the faqs_all page.

25 Jun 2008, 12:35 AM
#219
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: FAQ Manager

Cattom:

I am not a specialist, but I suspect that there is some problem with database. There are no categories names stored in database at all. Here is screenshot. May be there is some solution? Thank you.

didnt mean to post this, but since i did. How do you get thumbnails on here as in above.

25 Jun 2008, 5:33 PM
#220
cattom avatar

cattom

New Zenner

Join Date:
Apr 2008
Location:
London
Posts:
27
Plugin Contributions:
0

Re: FAQ Manager

Did you mean picture submission?