Adolfo:
Hello. I am new here. Every time I qet a new question (FAQ), it shows duplicated in the FAQs page. So it someone posts "what colors do you have?" it will show 2 times in the users FAQs page.
When I go to the admin faqs, i see just 1 posted question and answer in the category floder.
I have apple zen, english and spanish, and i am at
https://www.ganamarcando.com
I read must of the forum and fix some problems. I has been really helpful to go over all this issues.
Thanks.
Heeeeeelp!!!
I was getting this also... and I found a fix... couldnt' see it mentioned anywhere else so here it is I changed both files tpl_faq_default.php and tpl_faq_all_default.php and replaced the $faqs_all_query_raw = ..... line of code with the one below....
$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 fcd.language_id = '" . (int)$_SESSION['languages_id'] . "' " .
$order_by;
I added the fcd.language_id = to avoid the duplicate rows being selected..
Neil