How to get the hide_answer work when embedded in node
geniekids - February 12, 2009 - 16:52
| Project: | Frequently Asked Questions |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | geniekids |
| Status: | won't fix |
Jump to:
Description
My default setting is hide_answer and it is working fine when i access the faq using category
like http://geniekids.com/faq/110
But when i embed this in a node - the faq appear as inline - with each question as a hyperlink to the page itself.
The input format is php and the code i have put in the node body is
<?php
print faq_page(100);
?>This behaviour can be seen at
http://geniekids.com/content/try-faq
( I am using fckeditor - does that effect - i used plain text editor mode to enter the php code in the body)

#1
Is the page cached? It may be that the javascript is not being added to the page. You could also try the new
[faq:100,questions_inline,categories_inline]style input format available in the dev version. It might handle the caching better.#2
Marking issue as "won't fix" as no more information forthcoming. Please feel free to re-open if the problem persists and you can provide more information.
Cheers,
Stella
#3