Any have any ideas?? I still can't get it to work!
Printable View
Couple of issues with this module that I need help with.
1. On the page index.php?main_page=faqs_all I am missing an image for BUTTON_IMAGE_SUBMIT_FAQ. It is not in the download.
I tried finding other Zen Cart installs using this module so I could simply copy the image and past it into my cart. Couldn't find anyone in this thread who is currently using the module (who had a link in their thread).
Would someone please either supply this button or give me a chance to copy it from their site?
2. After going to the page that allows a visitor to input their question, when I click the link that is supposed to take me to the Question and Answer page I get this error includes/templates/template_default/templates/tpl_index_default.php on line 39.
Any ideas on these issues would be appreciated.
Anyone that can help us? I'm having issues aswell, could anyone make an updated version please
A new one has been uploaded in the downloads area, which is the same script updated, but now named Faq Module. I tried installing it but ran into a problem where it gave me a blank page for my entire site, it turns out that the button_names.php file which should go in includes/languages/english is under just the languages folder, and probably needs to be moved to the english folder. It was the only way I got my site back up and running.
Either or, the script is now uninstalled again, I'd love a patch that removes the sql entries as this is something I am unclear on how to do.
I will not try a reinstall again without it nor, will I reinstall till I hear others have it working properly.
Either or, if you have the same thing happen, try moving that button_names.php into the english folder before giving up, and if you have to rename because an original is suppose to be there, I'd try putting it in a template override folder. (This is where I would have put it in the first place).
Another thing...
He's put all the template stuff under template_default, instead of a template_override folder for design. The old one had the templates go to the classic folder under includes/templates. I'm sure it's fine under template_default, but I would have rather seen it go to my template override folder.
Hope these suggestions help for anyone thinking of trying the newest version.
Marian
hello,
I intalled FAQ manager on my new zencat 1.37.
www.wholesale.thesbeauty.com
In the FAQ list and FAQ new page, the "send now" button is missing. I don't know how to fix it.
Can somebody give me a tip? Thanks
Lina
Did you follow the instructions?
It may be that the button is issing from your buttons folder within your template, just copy it in there.
Then make sure the button define is defined properly.
Derek
Hi Derek
It seems you have been following this thread the most. I have been trying to install the FAQ module today and have come up with all the same issues everyone has been having from the 1064 syntax error, duplicate key error and when overcomming that the FAQ sidebox would only work in the left column. As soon as you put it on the right side and hit anythin in the catagory, document box it would come up with a p. error that everyone was getting as well. Just so you all know I have no exp with PHP but have been playing with various ways of installing this today and have come up with the following: Hope it helps you out. If anyone sees what I have done will make a mess of something else please let us know as I have no idea.
Step 1:
Follow the instructions to install the files in the Admin and Include files as per the insatll guide.
Step2:
In order to stop the first error you get when using the cart Install SQL patches to run the faq_manager.sql patch (which is a syntax error) you need to change the last section of the script: Lines 2- 6 and line 8. All the end bits that say (array(\'true\', \'false\'),'); change to (array("true", "false"),'); and all the (array(\'0\', \'1\'),'); change to (array("0", "1"),'); this should sort out the syntax error.
Step 3:
If you have installed a previous version or tried this version already and had problems , you must remove all the FAQ files that were created in the database before going to step 4 or you will get the duplicate error.
Step 4:
before running the scrip you need to go tp MyPHP and to the _configuration table. click on the configuration_group_id, press the edit button or pencil. Now go to the "Null" field and change the "NOT NULL" to "NULL" Click on save
Step5:
You can now go to the admin panel in your Zen cart and go to the Tools Menu and click on "Install SQL patches" In the upload file section at the bottom , browse for the faq_manager.sql you changed and select this file. now click on UPLOAD. The scrip should run fine now without any errors.
Step 6:
Now do as in step 4 above and change the "NULL" back to "NOT NULL"
Step 7: Derek this is where u come in plse
I found that if you goto the tpl_faq_catagories.php in the directory includes/templates/template_default/sideboxes and add to // in front of the code in lines 98,99,100 as shown
//$show_this = $db->Execute("select p.faqs_id
// from " . TABLE_FAQS . " p
// where p.faqs_status = 1 " . $display_limit . " limit 1");
You should be able to place the Sidebox on the right hand side without anymore issue.
I must stress that I have no idea what this piece of code does but once eliminated the side box works. Derek as this is now narrowed down perhaps you or someone else can help. Unfortunately if you are using other languages there is still a graphic issue but probably not to difficult to sort out.
Step8: FAQ Send Button
If you go to the includes/modules directory and edit the faqs_all_listing.php and the faqs_new_listing.php both at around line 122 from zen_image_button('BUTTON_IMAGE_SUBMIT_FAQ', BUTTON_SEND_ALT) change to zen_image_button('button_ask_a_question.gif', BUTTON_SEND_ALT)
This should give you the "Ask a question" button supplied in the module.
I hope this was clear enough for all to achieve. Derek or anyone else please come back on the remmed code above if possible. I will keep testing to see if anything else still goes wrong. Any other feedback would also be appreciated.
Good Luck!!! hope it helps
Hi all,
sorry for double post:blush:, I know it is not appreciated, but soemhow I dont get any answer, hopefully have more luck here....dont know what I did wrong, but seems that I am not the only one
http://www.zen-cart.com/forum/showth...ghlight=faq%2A
so please take a look at
http://clickyshop.com/newzen/index.php?main_page=faq
this is the error i get, any idea what will fix it?
Help is much appreciated..
Tahnks in advanced,
regards,
kruna
always failed from step 2 to step 5.
here is the information of the error:
1062 Duplicate entry 'SHOW_FAQ_COUNTS' for key 2
in:
[INSERT INTO zen_configuration VALUES ('', 'Show FAQ Category Counts', 'SHOW_FAQ_COUNTS', 'true', 'Count recursively how many FAQs are in each FAQ category', @t4, 9, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I always got this error if I did not first clear any files created with the first installation attempt. For some reason you only get the syntax error the first time and then if you keep running the script without first clearing the data base files created from the first time you ran the script it will give you the duplicate error all the time but never show you the syntax error from the first try. Did you remove all FAQ files created in the datga base before running the script again.
Hi,
I have installed on zencart 1.3.7 and am getting these 2 errors in admin:
1, Warning: Missing argument 1 for fckeditor() in /home/sites/countryviewworld.co.uk/public_html/admin/includes/fckeditor.php on line 44
This is my line 44:
2, Fatal error: Call to undefined function: createfckeditor() in /home/sites/countryviewworld.co.uk/public_html/admin/includes/modules/faq/collect_info.php on line 200PHP Code:
function FCKeditor( $instanceName )
This is my line 200:
Any ideas please?PHP Code:
$oFCKeditor->CreateFCKeditor( 'faqs_description[' . $languages[$i]['id'] . ']', '99%', '230
Cheers
Claire
Hi Derek, hey I thought I'd give this one a try late last night. Installed the scripts and up loaded the DB and got ready for a longer night. Opened my page to find it sitting there right where I put it. Gave it a quick test and low and behold it was working perfectly without any of the errors that have been addressed in this thread. Guess I'm blessed or something, but great script. Glad you ported it over to Zen and helped point out some of the errors in it. Thank you.
Now for a quick question. Can a link to the faq's be added to the information box instead of having it as a separate box? Thanks again for all your help with this contribution.:clap:
Guy
Sorry Derek, one more hopefully simple question. Is there a way to turn off Bread Crumbs in the faq's. Thanks Guy
Hello,
I am not even sure how many times I tried deleting the faq sql tables and rerunning the sql script. Every time I am getting this error:
"1062 Duplicate entry 'SHOW_FAQ_COUNTS' for key 2 in:
[INSERT INTO zen_configuration VALUES ('', 'Show FAQ Category Counts', 'SHOW_FAQ_COUNTS', 'true', 'Count recursively how many FAQs are in each FAQ category', @t4, 9, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."
Also Step 4 from the previous pages do not seem to stick - every time I change it to "null" when it comes back it is "not null" again.
Lastly all faq's are showing up on the bottom of the screen, and I have to click the question twice before I can get an answer - still on the bottom of the screen. Please help me to fix this...
Thanx, Ox.
for how does this looks like in reality please check it out for youself:
http://www.nghobbies.com/cart/index....ba530b818b9889
Thanks,
Ox.
Hello,
currently I am in two threads concerning the FAQ mod, because there seems to be no help.
Mostly the mod is working fine except the this part here
I dont know what is causing this error
Sorry to put my two cents here, but oxxyfx, you also have the same error, yake a look here
Starcad...yours works, would love to know what would be the fix...
regards,
kruna
I checked /index.php?main_page=faq on my test site and it does the same thing. I've played around with tpl_faq_default as well as modules/pages/faq/header_php.php and had success in changing a bit of the text around and even got it to display the main page contents but no luck in getting it corrected. It seems odd since I was even copying the header code from other faq pages and it did change main_page=faq to whatever page I copied it from but they all said "no questions available" and then after I entered in an faq through the admin panel I get
"1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND language_id = '1'' at line 3
in:
[select faq_categories_name from zen_faq_categories_description where faq_categories_id = AND language_id = '1']"
I tried pasting the contents of tpl_faq_info into tpl_faq_default to match up with the same swap in modules/pages/faq/ (I copied the contents of modules/pages/faq_info into pages/faq) but no joy.
I'm certainly no programmer and I don't know where else to look to change.
But my main question is to all of this: How did you get to main_page=faq to begin with? I couldn't see where there is a link anywhere on my site to take me to that page, so how did you get there from your website?
Matt
Well, what mosty bothers me regarding this module, is that I cannot bring is up to the top of the page. It looks like it all runs in the footer... That way it is unsuable to me... Does anyone know what files to remove exactly to uninstall this module?
Unless somebody comes out with some resolution to this - I cannot put it to good use....
It was by accident, I was translating it into spanish, so I saw that there was a faq.php file , so I got curious what this file is displaying as in the sidebox I was just seeing ALL FAQ and NEW FAQ.Quote:
But my main question is to all of this: How did you get to main_page=faq to begin with? I couldn't see where there is a link anywhere on my site to take me to that page, so how did you get there from your website?
I know I repeat myself, but would be graet if anybody has a fix for this..
Many thanks and regards,
kruna
Gee Guys, all I did was install it and followed the instructions in the file. My site is down at the moment so I can't really look at the code. I was playing around last night with Joomla and inadvertently deleted my admin folder. Yeah I know and I broke my No. 1 rule. Backup, backup, backup. I'm installing it again and will get back to all of you sometime tomorrow if everything goes OK.
Almost forgot, Matt look in admin>Extras and you should see the FAQ link to set it up. Don't for get to turn it on in the Layout side boxes area and you should see the link on your page.
Thx, Starcad, please hurry up, I am about to uninstall the FAQ Manager if I cannot find a solution for it pretty soon... By the way, where do you fly R/C? You should look at my page - as I am bringing in products for FPV flying (with the video goggles... ) :)
Ox.
Sorry I didn't get back to you sooner oxxyfx, one of those rough weeks at work. OK here is what I did this time. I uploaded the file to my site. Then Uploaded the SQL using the Zen SQL update. However this time I received the dreaded SQL error. Checking my SQL out via my FTP software I saw that all the required tables had indeed been inserted so give it a try and sure enough it works. Not sure yet if I'm getting the dreaded error that everyone is reporting as I really don't have time tonight to check. I did put up a test FAQ and the url to the site is
http://www.mydesertjade.com if you want to have a look. Note not much on that site yet as it is still in development.
Oh Almost forgot oxxyfx, I fly in Tucson, AZ. My son Scott is really big into FPV back in the D.C. West Virginia area. At the moment he's developing a package to take to the Arizona Electric Festival in Mesa, Az in January this coming year. He should be out in late November when we will be doing flight testing on the airframe and the Video system. I'm looking forward to going under the goggles again as this is probably the most exciting part of R/C flying I've ever done except flying UAV's.
i have qusetion regard the installation of FAQ Manager.
i have zen cart 1.3.7 and after installation of FAQ MANAGER i have the error:
im getting it on FAQs and FAQ Categories Page when im trying to add FAQ.Quote:
FAQ in FAQ Category: "Top"
FAQs Status: Active In Active
FAQs Name:
FAQs Contact Name:
FAQs Contact_mail:
FAQs Description:
Warning: Missing argument 1 for fckeditor() in /home/content/c/h/i/chimicaluser/html/shop/admin/includes/fckeditor_php4.php on line 39
Fatal error: Call to undefined function: createfckeditor() in /home/content/c/h/i/chimicaluser/html/shop/admin/includes/modules/faq/collect_info.php on line 200
i hope someone can help me top fix it, thank you very much.
:unsure:
i think it might be something on the installation instruction that i didn't understood.
somewhere in here:
INSTALLATION:
Step 1: Upload files to server
Step 2: Run .sql file
=== Step 1 ===
All files are arranged in the correct Zen Cart v1.3.7 structure.
Just upload to your server as they are without any editing required.
(Is prefered to change the template_default folder in this release to the foldername of your template. In this way you leave intact the template_default folder for future updates)
=== Step 2 ===
New database tables need to be created to store your new FAQs and FAQ categories.
New configuration options are added to the zen_configuration table.
Upload the included faq_manager.sql using the Zen-Cart Admin Sql Patches tool.
DONE!
i didn't understood the instruction on red.
Ok, so today I finally had the time to look at Starcad's site and sure enough it works... However it seem that I found where the problem might be.
Starcad is using a template with a left and right column - I am not sure which one, but it sure looks close to the standard Zen look.
My template is the apple_zen with only one column on the right side. THis may be the reason why the FAQ's are showing up on the bottom. It may be a template issue, it may be an FAQ manager issue...
Now the question is how do we find a resolution of this problem?
I will post a new post on the apple_zen support thread, maybe somebody there has the answer to this.
Otherwise - if you know the answer - please don't hold it back - let us know!
Thx, Ox.
Hey Ox, if it helps I'm using Nifty Zen and have the cart centered with both the left and right columns on. I plane on populating it with jewelry from my other shop bestjewelryboutique.com that is Joomla base with Vurtuemart as the shopping cart. I prefer Zen over Joomla as Joomla has more bells and whistles than I feel comfortable with.
I should be populating the FAQ this weekend when i have more time but Comcast has me doing overtime on Saturday with another new project launch for our center. I should be able to get to Zen on Sunday I hope.
Later - Guy
Hi guys, finally we have a breakthrough... Jade who designed the Apple_zen template came forward with the resolution of the problem - the FAQ pages not showing up in the main screen, but on the bottom of the screen. Please read the resolution in the following thread:
http://www.zen-cart.com/forum/showth...467#post443467
post 1262 is mine and the solution is to be found under post: 1263.
I will send a note to the designer of the FAQ manager to make sure he includes the modification on the release on the download page.
Mine is working great after applying the modifications Jade suggested. Please take a look:
http://www.nghobbies.com/cart/index....cdb3e708db54b5
Cheers, I hope this helps a lot of other people...
Ox.
i was having theproblem and i did the fix below which fixed everything except for when i clicked on the new faq's link in the side box which then gave the the same error but in the center section of the siteQuote:
1054 Unknown column 'p.products_date_added' in 'where clause'
in:
[select p.faqs_id from faqs p where p.faqs_status = '1' and TO_DAYS(NOW()) - TO_DAYS(p.products_date_added) <= 30 limit 1]
i got round this by dissabling the new faq link in the faq manager admin under "FAQs Category Box Config" section
attached is the corrected sql file. I don't have the time to do more right now but if I get a chance, I'll make the necessary corrections to the mod and upload the corrected version. If that is, someone has a completely working faq manager (any version) that I can look at from both catalog side and admin so I can figure out this is supposed to work. Anybody?
I have tried to install the FAQ manager several times on my site but each time i get the following error messages.
These appear above the header:
Warning: Variable passed to each() is not an array or object in /home/******/public_html/includes/classes/db/mysql/query_factory.php on line 114
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/******/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/******/public_html/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/******/public_html/includes/init_includes/init_templates.php on line 78
And this appears below the header:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCT' at line 7
in:
[select p.products_id, pd.products_name, products_date_available as date_expected from products p, products_description pd where p.products_id = pd.products_id and p.products_status = 1 and pd.language_id = '1' and p.products_date_available >=20071110 order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCTS]
The server details are:
PHP Version: 4.4.7 (Zend: 1.3.0)
Database: MySQL 4.1.22-standard
However, if i install it on my local machine, running Apache2Triad, with an exact copy of my online site, it runs fine, with no errors at all.
Local server details are:
PHP Version: 4.4.3-dev (Zend: 1.3.0)
Database: MySQL 4.0.26-nt-log
Both the live site, and the local site are version 1.3.7.
Personally, i can think of no major differences between the two versions of PHP, or MySQL. Anybody got any ideas what might be the problem.
Thanks
Steve
Hi All
for those still wishing to fix the Submit button which should say "Ask a question" It seems that the define is in the wrong place. If you look in the includes/language you should find an installed file called button_names.php with define('BUTTON_IMAGE_SUBMIT_FAQ', 'button_ask_a_question.gif');
?>
If you now go on directory further to the includes/language/english you will find the same file there button_names.php paste the line above into this file and you should get the "Ask a question" button image to work.
Hope this helps.
I have also just changed the code in line 76 and I now have a working FAQ in both colums. Before it would only work if the FAQ box was in the left hand column now it works on the right as well.
Thanks all for the info hope others also come right. You can take a look at
www.totallyautomated.eu/ZStore
There is a minor syntax error that appears to have significant impact on submitting questions.
I found that the file tpl_faqs_submit_default is missing the first ?>
See below:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | 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: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | 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. |
// +----------------------------------------------------------------------+
// Original contrib by Vijay Immanuel for osCommerce, converted to zen by [email protected] - http://www.open-operations.com
// $Id: links_manager.php 2004-11-19 [email protected]
//?>
Without the ?> you get an error when posting question and then a guest greeting screen appears.
Additionally, when I post a question I get the following printed out on the top of the screen.
echo zen_draw_form('submit_faq', zen_href_link(FILENAME_FAQS_SUBMIT, '', 'SSL'), 'post', 'enctype="multipart/form-data"', 'onSubmit="return check_form(submit_faq);"') . zen_draw_hidden_field('action', 'process'); ?>
Is there a way to hide it?
Hi,
I will give it one more try, after having posted and bumped already several times.
I noticed that the error I get is something common it is not that i am the only one with this issue and I believe taht most may not have noticed yet taht they have the same issue.
Please take a look at
http://www.clickyshop.com/tienda1/in...?main_page=faq
I dont know what causes this error, but most of the webites having installed FAQ MAnager, as I mentioned before, have the same error.
You can checkout by yourself, try to enter www.yourdomain.com/your_shop/index.php?main_page=faq
You will see that this is common error....
Does anybody has an idea how to fix this?
Or should I just let it go and there is no fix for it?
Would be great if anybody finds an answer on this matter.
Help really apreciated.
regards,
kruna
If you put the ?> in the file that I told you about above ..that will fix one of your problems. Please find the tpl_faqs_submit_default.php file in your templates directory and add the ?>
ok clicky I had 2 margarittas and one zambuca and I found your problem....and mine
go to your templates and find the file I referred to above
tpl_faqs_submit_default.php is either in your default template directory or in your custom directory.
Place this in the top of the file: and remove the same:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | 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: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | 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 |
// | license AT zen-cart DOT com so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// Original contrib by Vijay Immanuel for osCommerce, converted to zen by dave AT open-operations DOT com - http://www.open-operations.com
// $Id: links_manager.php 2004-11-19 dave AT open-operations DOT com
//?>
<?php
you will notice, I hope, that the last two lines are different from what you had.
the ?> is missing in the original file
and
the <?php is missing in the original file
that should do it for you.
Hi All
When disabling images in admin for the faq New page you will find that the test does not line up when looking at this page in your browser. The includes/modules/faq_new_listings.php seems to be faulty/ I have edited and attached a new one which fixes the problem. Hope it helps.
Hi ChrisR,
Tahnk you for answering.
I cant remember anymore how I got there, I just remeber taht it appeared in the breadcrumb and when I clicked on that breadcrumb i got this error.
Anyway it is an error which I would like to fix, if it is possible, if not I will have to live with it.
I suppose that this page has to show available question and I wanted to use this in EZ-pages, linking this page.
pixelpadre,
thank you too, but your fix didnt work for me... :(
regards,
kruna
I found when and where this error appears...
in the breadcrumb you can see PREGUNTAS Y RESPUESTAS (Questions and answers)
When you click there this error page comes up...
thanks.
regards,
kruna
Kruna
The post I did with the attached file was to fix the alignment of the text when you choose not to show images for "New faq" if you switch the images off then the text still leaves place to show the image but you do not need this. The "All nes questions" worked fine, so i made the "New Questions" one work the same as the All queations.
Hi Kruna
The quickest way right now is to go to the includes/extra_datafiles/faq_manager_file_names.php and chnage the line on 28
define('FILENAME_FAQS', 'faq');
define('FILENAME_FAQS', 'faqs_all');
This will at least make the link work. I am still ooking why the actual page for FAQ link does not work but as I am not a programmer it will take some time yet.
Good luck
I understand that using FAQ module causes the main page to be displayed above the body of any category page. Is this true? If it is, what is the work around it besides eliminating the main page?
Hello, I installed FAQ Manager on my site without any problems...except one.
On the attached screenshot I have circled a section that is repeated. There are two rows which describe where you are on the site and they have been duplicated. The top line is the line that is on my site by default, and the second is the line that FAQ Manager added. It's only duplicated when you enter the FAQ section. What file do I need to alter to get rid of this line? It's very annoying.
Cheers in advance!
http://i18.tinypic.com/8g899xi.jpg
Hi,
Unfortunately we haven't had time to upgrade the mod for the latest releases, this problem is caused by the template file you installed, so please view the faq templates and remove the breadcrumb code from the template since its now being called elsewhere.
I hope this helps
Derek
When you uploaded the mod you would have uploaded many faq template pages that would have been placed into your templates folder within your template, you need to go through those pages and remove the breadcrumb function code.
Regards
Derek
Hello,
Go to your includes/templates/your_template/templates/
and look for the files with faq in it and open them, then look for this
Then delte that code above and save your files then upload to the server.Code:<tr>
<td class="breadCrumb" colspan="2"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></td>
</tr>
This is the breadcrumb function code:
Kind RegardsCode:<?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?>
Derek
Cheers Derek, I'll give it a bash.
Hello
I have tried all the sql files that everyone has made but they still do not work for me. If their is one that works please could you post it.
Thank you
Hello anyone?
hey
i just installed this module everything seems ok except one thing that is got me stumpt:cry: my "BUTTON_IMAGE_SUBMIT_FAQ" does not appear it just says "send now" with a red x i installed the image in both classic and default classic dir and still nothing look at what im talking about
anyone wit the same problem or now an solution to fix
thanks for your time
anybody?
The problem with the faq_default is easy to solve so no work around is needed.
just change the 'main_template_vars.php' in /includes/modules/pages/faq
line 129 change _index to _faq in 'tpl_index_default.php'
Hope this helps
Or not...
That isn't the solution after all.
I'm getting this error on the sidebox .. any ideas ? :(
Quote:
Fatal error: Class 'faq_category_tree' not found in /includes/modules/sideboxes/faq_categories.php on line 22
Go back and make sure you uploaded all the files properly, if its not been added to the correct folder the class may not be getting loaded, hence the system can't find it.
Hope this helps
Derek
I am running Zen Cart 1.3.8a and have installed the FAQ Manager on www.myposprinter.com.
I am able to enter an FAQ through the admin. The question displays but not the answer.
The answer shows in the input box but does not display in Preview or on the store. The only place it displays is in the input box in the admin.
It does save, because I am able to recall it for editing. It just won't display on Preview or in the store.
Any ideas?
Hi,
I've just installed this mod on my store 1.3.8 and got most of the issues sorted thanks to the posts on this thread.
I just have a few tiny issues I would like to fix if anyone can help me:
1. The ask a question button only appears on the new and all pages not the actual catagories pages
2. When you go to the ask a question page the question box is prefilled with the number 5 for no apparent reason
3. When you click on a catagory it displays the list of questions, when you click a question I would like it to go straight to the question and answer page rather than having to then click the question again.
I hope all that makes sense to everyone.
Thanks
Doesn't matter, I've sorted it out.
For anyone who's interested this is what I done:
I done away with the ask a question form so that when someone clicks the ask a question button they are taken to the standard zen cart contact us form I achieved this by changing the following:
In file includes/modules/faqs_all_listing.php
changed toCode:<td colspan="2" align="right" class="main"><?php echo '<a href="' . zen_href_link(FILENAME_FAQ_SUBMIT, '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_FAQ, BUTTON_SEND_ALT) . '</a>'; ?></td>
</tr>
I repeated this for includes/modules/faqs_new_listing.phpCode:<td colspan="2" align="right" class="main"><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_FAQ, BUTTON_SEND_ALT) . '</a>'; ?></td>
</tr>
Then to add the button to the catagory pages I added this code
to the bottom of file includes/modules/faq_listing.phpCode:<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td colspan="2" align="right" class="main"><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . zen_image_button(BUTTON_IMAGE_SUBMIT_FAQ, BUTTON_SEND_ALT) . '</a>'; ?></td>
</tr>
</table>
Then the final step to make the page jump straight to the answer page when question is clicked:
in file includes/modules/faq_listing.php changed this:
to this:Code:case 'FAQ_LIST_NAME':
$lc_align = '';
$lc_text = ' <a href="' . zen_href_link(FILENAME_FAQS, 'fcPath=' . $fcPath . '&faqs_id=' . $listing->fields['faqs_id']) . '">' . $listing->fields['faqs_name'] . '</a> ';
Code:case 'FAQ_LIST_NAME':
$lc_align = '';
$lc_text = ' <a href="' . zen_href_link(FILENAME_FAQ_INFO, 'fcPath=' . $fcPath . '&faqs_id=' . $listing->fields['faqs_id']) . '">' . $listing->fields['faqs_name'] . '</a> ';
for anyone who can't get submit image going:-
add this:-
to includes/extra_datafiles/faq_manager_file_names.phpQuote:
define('BUTTON_IMAGE_SUBMIT_FAQ', 'button_ask_a_question.gif');
:smile:
Hi,
I am having a little trouble with my sub catagories. If I click on a catagory that has sub catagories the main homepage is displayed with the subcatagories below it. Someone said that by removing the file open-operations/faq_application_top.php the problem would be solved but if I do that I lose the faq sidebox and all sideboxes after it.
Does anyone know how I can solve this issue?
Thanks
I'm getting this error when I turn on the FAQ sidebox
Fatal error: Cannot instantiate non-existent class: faq_category_tree in /home/divabou/public_html/Catalog/includes/modules/sideboxes/faq_categories.php on line 22
I can I correct this so that it can work?:frusty:
[FONT=Courier New]Originally Posted by divaboutiques [/FONT]
[FONT=Courier New]How do I clear this error for my FAQ manager I have installed all the file into the right folders, but when Iturn on the sidebox I am getting the following error.[/FONT]
[FONT=Courier New]Fatal error: Cannot instantiate non-existent class: faq_category_tree in /home/divabou/public_html/Catalog/includes/modules/sideboxes/faq_categories.php[/FONT]
[FONT=Courier New]on line 22 [/FONT]
[FONT=Courier New]Looks like you haven't followed the instructions fully, you need to add the extra code to your application top, you'll find the code within the instructions.[/FONT]
[FONT=Courier New]Derek[/FONT]
[FONT=Courier New]I have looked in the instructions and there is not any codes within the instruction to place anywhere: thi is what I am getting for the instructions.[/FONT]
Contribution: Zen-Cart FAQ Manager
Version: 1.1.1
Designed For: Zen Cart v1.3.7 Release
Support: http://www.perfectdesigning.net
========================================================
Modified(24/07/2007): http://www.imaginacolombia.com
WHAT DOES THIS MODULE DO?
This excellent Faq Manager module has the ability for users to submit questions, which can be answered and then activated by admin upon receipt of a system email.
The Faq Manager is capable of infinite categories and sub categories.
Admin has full control via a comprehensive administration panel where every setting can be managed.
The Faq Manager module also supports customer reviews and includes a category sidebox.
This module creates an easy way for you to add multi language FAQs to your Zen Store.
If you have problems with this module please contact us.
========================================================
WHAT IS REQUIRED?
- NO files to over-ride
- 1 database modification
========================================================
NOTE: If you have modified the file: includes/application_top.php in a previous faq-manager version or installing links_manager 2.x or poll_manager, restore the original Zen Cart 1.3.7 application_top.
INSTALLATION:
Step 1: Upload files to server
Step 2: Run .sql file
=== Step 1 ===
All files are arranged in the correct Zen Cart v1.3.7 structure.
Just upload to your server as they are without any editing required.
(Is prefered to change the template_default folder in this release to the foldername of your template. In this way you leave intact the template_default folder for future updates)
=== Step 2 ===
New database tables need to be created to store your new FAQs and FAQ categories.
New configuration options are added to the zen_configuration table.
Upload the included faq_manager.sql using the Zen-Cart Admin Sql Patches tool.
DONE!
Now enable FAQ categories sidebox in admin - admin/layout boxes controller
========================================================
USE:
Admin/Extras/FAQ Manager has all configuration options.
========================================================
HISTORY:
24/07/07 - Updated to use the initSystem (no application-top modification)
14/10/06 - Updated to be compatible with Zen-Cart 1.3.5 Release
05/05/05 - Initial Release
31/12/05 - Perfect Designing Development Release!
========================================================
NOTE: This contribution was originally created by www.perfectdesigning.net. All credit goes to them. I just updated this great contribution to be compatible with Zen-Cart Version 1.3.5 and modified the instructions.
[FONT=Courier New]There is nothing in here to replace any codes, so again how do I clear this error[/FONT]
[FONT=Courier New]Fatal error: Cannot instantiate non-existent class: faq_category_tree in /home/divabou/public_html/Catalog/includes/modules/sideboxes/faq_categories.php[/FONT][FONT=Courier New] on line 22 [/FONT]
Okay I have restore my application_top file, but I went to turn on the faq sidebox and all my categories item and pages where blank. Now what to do?
Hello,
The error is telling you that it can't find the class, can you make sure that you add all required files, theres no reason for it not to work provided the files are all available on the server, also make sure the file permisins are correct.
I hope tis helps
Derek
I having problems with being able fckeditor with this mod. please if anyone can give help im getting this error.
Warning: Missing argument 1 for FCKeditor::__construct(), called in /home/dscott19/public_html/dealzrus2/admin/includes/modules/faq/collect_info.php on line 198 and defined in /home/dscott19/public_html/dealzrus2/admin/includes/fckeditor_php5.php on line 42
Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /home/dscott19/public_html/dealzrus2/admin/includes/modules/faq/collect_info.php on line 200
can someone tell me how to fix this or point me in the right direction.
Hello,
The editor your using must be expecting an additional parameter which is not currently being received.
The best thing to do is have a look at the code where the editor works on a text area and copy the code, remember of course and make sure you change the name of it so it continues to work with the faq manager tables.
I hope this helps
Derek
Hi Everybody
I have installed this mod on 1.3.7 .. but I get this error on the sidebox
Any ideas ?Quote:
1054 Unknown column 'p.products_date_available' in 'where clause'
in:
[select p.faqs_id from faqs p where p.faqs_status = '1' and p.products_date_available >=20080413 limit 1]
duplicate .. question above
Hi guys -
I have updated the FAQ Manager and fixed a number of issues with it that I perceived as bugs. Some of the things I did are:
- I redirected it to the faqs_all page by default, the faq page does not work.
- I added the ability to set a default sort and to turn off the sort drop down
- Added the ability to turn off and on the display of some features
- When the ask a question page is disabled I redirected it to the contact us page, rather than showing an 'access denied' page.
- multiple other changes and logic fixes.
I hope that someone will download it and try it before I add it to the downloads. If you have any questions let me know. There is an upgrade script for the SQL. Backup or try it on a test site first. Thanks.
Hi,
I am running 1.38a and I have installed the "FAQ Manager", everything seems to work fine but when I go to "Submit A Question" the "Text Area" has a number written :shocking:
Thats what I see: http://homebasedgateway.com/~aktis/i...ge=faqs_submit
Anyone have any ideas about what could be causing this ?
Thank you
Alex
Hi Alex123,
your link provided shows 404 page not found.
regards,
kruna
I have fixed the error where a '5' shows in the submit form field. Thank you for reporting it. I also fixed a file naming error and repackaged the FAQ. It is attached.
Hi,
Sorry for my mistake with the link.
Here the correct one:
http://homebasedgateway.com/~aktis/i...ge=faqs_submit
Hi Alex123,
I know the number is annoying and may confuse, but i guess it doesnt harm anything. You may have seen the previous post from mikedeezy33 that he fixed this issue. Try his zip...
hope this helps.
regards,
kruna
Hi Alex123,
off topic right now, but I would suggest you to delete or rename your zc_install folder as it says for security reasons.
regards,
kruna
Thank you for your suggestion Kruna. I just deleted the install directory.
I seem to be having a similar problem with the "News & Article Management"
I posted on their thread but there was no help.
Here is the problem:
http://homebasedgateway.com/~aktis/i...s&article_id=2
I am getting a number inside the TextArea, plus the Text Area is very long and I have no idea where to look for fixing this.
If anyone could help me on this, I would be very grateful.
Thanks again
Alex
Hi Alex123,
as for the number I really have no clue, but must be in the fix from mikedeezy33, if he could point you into the right direction how he did in FAQ, should be same issue.
As for the texta area too long, you could change that in you stylesheet in line 84 it says
just addQuote:
textarea (line 84)
{
margin-top: auto;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
display: block;
width: 95%;
}
after width. If it is still too long tha go less than 25em, if it is too short go more than 25em.Quote:
height: 25em;
regards,
kruna
The output of the text area is in: /includes/templates/[your template]/tpl_faqs_submit_default.php on line 89 -
25 stands for the number of columns, 5 for the number of rows. If the text area is too wide, try changing the 25 to something else, like 15.PHP Code:
echo zen_draw_textarea_field('faqs_description', 25, 5)
Has anyone had a chance to try my updates to the FAQ Manager? I am going to post it to the downloads section soon.
Okay, I installed this today...had the problem with the error 1054 and used andrew's fix that's waaaaaaaaay back in the thread. Got everything working fine....except for one minor annoyance.
Whenever you click a category now the main page shows up on top of the category you clicked. If people don't scroll down they'll think they just refreshed the page.
My site is http://www.serendipitydeals.com
Just click any category to see what I mean
BTW....since I forgot to mention....
I am running Zen-Cart 1.38a
Well, I temporarily fixed the problem by deleting faq_application_top.php and turning off the sidebox.
Obviously it doesn't FIX the problem since I can't use the FAQ manager due to this.
Anyone know a permanent solution?
Yes, I used your version but had to modify three pages to get it to work. I don't remember which ones exactly but they are the three that andrew (a_berezin) said to modify. When I did that I got the FAQ sidebox to finally work. Then, I had the problem with the categories, the issue was that if you clicked a top level category it would load the "main page" over the top level category. In order to solve that problem I had to delete the faq_application_top.php file and turn off the sidebox, thereby setting me back at square one.
I did get your PM letting me know that the faqs_all page works, and I don't mind just using that....but now I gotta figure out how to get that link into the Information sidebox.
I seem to like to make things difficult....but I fixed my problem after quite a bit of searching for the last day or so....here's what I did
Read my last post....yea....I did all of that....next step was to get the General FAQ to show in the Information Sidebox....and to do that you'd have to hack a few files....I didn't feel like screwing up my site....soooo....
I turned EVERY link in my Information Sidebox into an "EZ Page" including the faqs_all page. I then removed the "Information" sidebox and put in the EZ Pages one which reads "Important Links".
Problemo solved!
Yeah I am not a fan of having a faq application top page, but then again I think the entire structure of this mod should be cleaned up. Since I don't have the time to do that right now I just added some minimal functionality and fixes. I will add the new files to the download section.
Hi could you please explain what it is that is making this number to appear inside the text area?
I am having the same situation with the "News & Article Management ", I ask for help on the contribution's support thread but there was no answer.
I would greatly appreciate it, if you could lead me to the right direction in order to try and fix it.
Thank you,
Alex
The problem is likely in the call to:
This function is expecting the format of the values in the parenthesis to be:Code:zen_draw_textarea_field('field_title', 25, 5);
Soo.... if you have too many numbers (arguments) listed, it is going to think that one of them is the text that should show in the area as text rather than what it was originally intended for - in this case to make the height of the text area 5 rows.Code:function zen_draw_textarea_field($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true)
Thank you for the explanation.
I will look in to this to see if I can fix it and report back for others that might have similar problem
Thanks
Alex