serendipity_event_faq

Creating and modifying plugins.
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

serendipity_event_faq

Post 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]
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_faq

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

OK now

Post 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!
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

plugin_faq_category_faq.tpl

Post 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>.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post 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.
Post Reply