FAQs are showing as "Array" in Site Map. What displays in the Site Map is exactly this ...

Frequently Asked Questions

* Array
* Array
* Array
* Array
* Array
* Array
* Array
* Array
* Array
* Array
* Array

Comments

WISEOZ’s picture

Project: Site map » Frequently Asked Questions
Version: 5.x-1.2 » 5.x-2.9

Re-assigning to FAQ queue in hopes that they may have the answer.

stella’s picture

Status: Active » Postponed (maintainer needs more info)

I just installed the latest site_map module (5.x-1.2) and am using the latest dev release of the faq module (has some new fixes / features, but nothing that should affect this I don't think).

I can't reproduce the problem. However, I did encounter a different one with the faq section on the site map appearing twice. This is due to a recent change in the site_map module, where it now calls one of the faq functions directly and also invokes the site_map hook (which faq implements). So I've commented out the faq_site_map() function which fixes this issue.

What version of the site_map module are you using? Are you using categorized or uncategorized faqs? Which you're using determines whether the category list or faq list is displayed in the site map. I've tested both scenarios however and both appear to work correctly.

Do the faq "recent faqs" and "faq categories" blocks work for you?

Cheers,
Stella

WISEOZ’s picture

I'm on the 5.x-1.2 of Site Map as well. I actually do see two FAQ sections. One is labeled "FAQs" and looks fine with all the categories and question counts. The other one is labeled "Frequently Asked Questions" and displays "Array" for every bulleted item.

I can't find the faq_site_map() function but I do see a _site_map_faq() function. Is that the one I should try commenting out?

stella’s picture

Nope, comment out the "faq_site_map()" function in the faq.module - or use the latest dev release.

You using categorized or uncategorized faqs? I.e. should faq nodes or the faq terms be appearing in the site map?

Cheers,
Stella

WISEOZ’s picture

Status: Postponed (maintainer needs more info) » Fixed

That did the trick!

Also, I am using categorized FAQs with the terms appearing in the Site Map.

Thanks once again for working me through this.

stella’s picture

No probs.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in faq versions 5.x-2.10 and 6.x-1.6.

Cheers,
Stella