Home : Products : Gossamer Forum : Development, Plugins and Globals :

Products: Gossamer Forum: Development, Plugins and Globals: Re: [Andy] Plugins - how toi print out content, and stop "1" showing at bottom of page?: Edit Log

Here is the list of edits for this post
Re: [Andy] Plugins - how toi print out content, and stop "1" showing at bottom of page?
As a programmer I'm surprised you don't know the reason for a "1" showing at the bottom of your page.

I would guess the reason for two pages displaying is that you have:

GT::Plugins->action(STOP);

....in the wrong place (i.e. AFTER you have already returned instead of before, so it never gets called).

As for the "1", it's probably because you are printing a print.....

print GForum::Template->parse_print('error.html', { error => "FOO" } );

Try:

GForum::Template->parse_print('error.html', { error => "FOO" } );

Last edited by:

Wychwood: Feb 22, 2008, 10:49 AM

Edit Log: