Though I don't know smartfaq at all...
Quote:
I've edited the ./templates/smartfaq_faq.html
./templates/smartfaq_faq.html ?
Have you edited a FILE?
It's wrong way.
Edit DB templates via template manager or altsys.
And nobody can see "indicated way" you said
Dear GiJOE,
I've installed ALTSYS...
It's far better, if you want to play with templates(and not only)!
Now, regarding smartfaq (and smartsection as well) I have the same issues.
I found the following chank of code
<div style="text-align: center; padding: 3px; margin:3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>
<div style="margin:3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
<{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
<{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
<{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>
and I replaced it with
<{d3forum_comment dirname=d3forum forum_id=(number) itemname="id" subject=$title}>
on both modules.
The result is that the oldfashion comment system disappeared from the bottom of the item (since I remove the correspoding code) but nothing comes up in this place.
I've did the comment integration with pd-downloads with success.
I'll keep investigate it...
hi plusangel.
<{d3forum_comment dirname=d3forum forum_id=(number) itemname="id" subject=$title}>
Have you replaced (number) into real number of "forum_id"?
Make a new forum.
And specify the number of the forum.
You can find forum_id in URL.
eg:
XOOPS_URL/modules/d3forum/index.php?forum_id=1
In this case, replace (number) into "1"
"itemname" looks wrong.
Perhaps,
itemname="faqid"
Though I don't know the variable can be used as subject...
Dear GiJOE,
Regarding the first half of the tutorial...
Quote:
hi plusangel.
<{d3forum_comment dirname=d3forum forum_id=(number) itemname="id" subject=$title}>
Have you replaced (number) into real number of "forum_id"?
Make a new forum.
And specify the number of the forum.
You can find forum_id in URL.
eg:
XOOPS_URL/modules/d3forum/index.php?forum_id=1
In this case, replace (number) into "1"
it was what I was doing from the beginning. But the second half? For a strange I was assuming that it was plug-n-play stuff without giving the required attention.
By searching and try to understanding a bit more, I managd to make it work! For both smartSection and smartFaq modules!
So, regarding smartSection
Go to altsys - templates - smartsection - smartsection_footer.html and substitute the appropriate code chunk with
<{d3forum_comment dirname=d3forum forum_id=8 itemname="itemid" subject=$item.title}>
Regarding smartFaq we do the following steps
Go to altsys - templates - smartfaq - smartfaq_faq.html and substitute the appropriate code chunk with
<{d3forum_comment dirname=d3forum forum_id=9 itemname="faqid" subject=$faq.fullquestionlink}>
That's it!
Better work a cloned template set and on the default-original!
Dear GiJOE, thank you for your patience to explain me the procedure and make me able to find it out.