Page 1 of 1

serendipity_event_faq

Posted: Mon Jan 09, 2006 5:09 pm
by JWalker
Hello, I cannot display FAQ page(s). What I did before that:

1) Installed serendipity_event_faq.
2) Installed last static page plugin that deals with serendipity_event_faq.
3) entered several categories and one Q&A in one of these categories.
4) A link to FAQ appeared in static pages side bar plugin.
Here is what appeared when I clicked on this link:
Not Found

The requested URL /s9y/plugin/faq/ was not found on this server.


Is this because the plugins directory is 'plugins' and not 'plugin' ?

I have RewriteEngine On in my httpd.conf, using Apache 2.0.55 on MS Win XP SP2. S9Y is nightly build from the middle of December.[/b]

Re: serendipity_event_faq

Posted: Mon Jan 09, 2006 5:12 pm
by garvinhicking
the FAQ plugin is currently still very alpha-ish and in development by Falk.

It depends on properly working URL Rewriting, which seems to not properly work in your case? Do plugins like "blogpdf" work on your server?

The path "plugin" is correct, since it uses the external_plugin hook.

Regards,
Garvin

OK now

Posted: Mon Jan 09, 2006 10:28 pm
by JWalker
You are right. RewriteEngine was on in my httpd.conf, but URL rewriting was disabled in S9Y configuration (I enabled RewriteEngine whenever eariler for the needs of another application not related to s9y). Now I have enabled URL rewriting in s9y, it created .htaccess and all is OK.

Thanks!

plugin_faq_category_faq.tpl

Posted: Tue Jan 10, 2006 7:18 pm
by JWalker
Hi,
To the developer of the plugin: little addition to plugin_faq_category_faq.tpl. If it is generally acceptable, you may want to include it in the repository. Or you have it as an inital idea:

Code: Select all

<!-- category faq start -->

<div id="serendipityFAQNav">
<p><a href="{$serendipityBaseURL}">{$smarty.const.ADMIN_FRONTPAGE}</a> > <a href="{$serendipityBaseURL}{$plugin_faq_path}">{$smarty.const.FAQ_CATEGORYS}</a> > <a href="{$serendipityBaseURL}{$plugin_faq_path}/{$cid}">{$category}</a></p>
</div>

<h3>{$category}</h3>

<p><b>{$smarty.const.FAQ_QUESTION}:</b> {$question}</p>
<p><b>{$smarty.const.FAQ_ANSWER}:</b> {$answer}</p>

<!-- category faq end -->
Additions are <b>{$smarty.const.FAQ_QUESTION}:</b> and <b>{$smarty.const.FAQ_ANSWER}:</b>.

Posted: Wed Jan 11, 2006 12:48 pm
by falk
Hello JWalker,

thank you for using my plugin and thank you for your idea. I include it with the next patch i send to garvin. Today i send one, but he have not commited it yet.