Search found 3 matches

by Auz
Fri May 28, 2004 4:31 pm
Forum: General discussions
Topic: Writing a plugin - it works, but a second use doesn't
Replies: 4
Views: 6953

Re: Writing a plugin - it works, but a second use doesn't

So, the first thing I'd suggest you to do is debug your plugin.

Comment out all parts of the plugin - contents of the generate_content() function first. And then always go and reload your browser and see if something has changed.

Alternatively, realise you forgot to cope with an empty url to ...
by Auz
Fri May 28, 2004 3:31 pm
Forum: General discussions
Topic: Writing a plugin - it works, but a second use doesn't
Replies: 4
Views: 6953

Re: Writing a plugin - it works, but a second use doesn't

Hi Auz!

Hm. Is that output available somewhere? s9y has no output string 'no element found' anywhere, so I guess it could come out of your plugin function or from PHP?

I add the plugin a second time... you can see the broken page at http://auzsoft.totalbiscuit.com/serendipity/

You may want to ...
by Auz
Fri May 28, 2004 2:55 pm
Forum: General discussions
Topic: Writing a plugin - it works, but a second use doesn't
Replies: 4
Views: 6953

Writing a plugin - it works, but a second use doesn't

I've written (well, hacked someone else's RSS reader) a serendipity plugin that displays an RSS feed in the panels. It works, but if I include a second instance of it, then it breaks the plugin panel and front page...

The front page just displays the right-hand panel and, where the plugin would ...