EPrints Technical Mailing List Archive
Message: #05700
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Adding user messages from CGI
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] Adding user messages from CGI
- From: Yuri <yurj@alfa.it>
- Date: Mon, 16 May 2016 11:14:14 +0200
from cgi/logout: $page->appendChild( $session->render_message( "message", $session->make_text( "Logout OK!" ) ) );add_message works only in plugins, and it calls $session->render_message anyway.
Il 16/05/2016 10:58, Alan.Stiles ha scritto:
Any clue if there is a function to add a message to the message queue from a cgi script? I can use $self->{processor}->add_message() from within a plugin but how do I do this without a ‘$self’ ?Cheers, Alan-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] Adding user messages from CGI
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Adding user messages from CGI
- Prev by Date: [EP-tech] Adding user messages from CGI
- Next by Date: Re: [EP-tech] Adding user messages from CGI
- Previous by thread: [EP-tech] Adding user messages from CGI
- Next by thread: Re: [EP-tech] Adding user messages from CGI
- Index(es):