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

Re: [Alex] Decide if plugin executed on admin interface or website?

Quote Reply
Re: [Alex] Decide if plugin executed on admin interface or website? In reply to
This should explain, what I mean:
Code:
sub modify {
my $modify = call_modify_function(); # returns 1 if was successful
if ($is_admin) {
print "This executed in admin";
print "The modify function was called successfully";
}
}

So I have to decide if we are in admin or not.
If we are, then print info on admin interface, otherwise nothing, because we display the webpage.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Thread; hot thread Decide if plugin executed on admin interface or website? webmaster33 10768 Sep 5, 2002, 3:47 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Andy 10338 Sep 5, 2002, 3:52 AM
Thread; hot thread Re: [Andy] Decide if plugin executed on admin interface or website?
webmaster33 10320 Sep 5, 2002, 4:01 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Paul 10348 Sep 5, 2002, 4:05 AM
Thread; hot thread Re: [Paul] Decide if plugin executed on admin interface or website?
webmaster33 10376 Sep 5, 2002, 4:09 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Paul 10342 Sep 5, 2002, 4:19 AM
Thread; hot thread Re: [Paul] Decide if plugin executed on admin interface or website?
webmaster33 10304 Sep 5, 2002, 4:30 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Paul 10279 Sep 5, 2002, 5:07 AM
Post; hot thread Re: [Paul] Decide if plugin executed on admin interface or website?
webmaster33 10259 Sep 5, 2002, 5:15 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
yogi 10327 Sep 5, 2002, 4:23 AM
Thread; hot thread Re: [yogi] Decide if plugin executed on admin interface or website?
webmaster33 10367 Sep 5, 2002, 4:33 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
yogi 10331 Sep 5, 2002, 4:41 AM
Thread; hot thread Re: [yogi] Decide if plugin executed on admin interface or website?
webmaster33 10327 Sep 5, 2002, 5:17 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Paul 10270 Sep 5, 2002, 5:23 AM
Post; hot thread Re: [Paul] Decide if plugin executed on admin interface or website?
webmaster33 10325 Sep 5, 2002, 6:03 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Alex 10319 Sep 5, 2002, 1:10 PM
Thread; hot thread Re: [Alex] Decide if plugin executed on admin interface or website?
webmaster33 10232 Sep 6, 2002, 12:56 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Alex 10350 Sep 6, 2002, 10:50 AM
Thread; hot thread Re: [Alex] Decide if plugin executed on admin interface or website?
webmaster33 10344 Sep 6, 2002, 11:05 AM
Thread; hot thread Re: [webmaster33] Decide if plugin executed on admin interface or website?
Alex 10316 Sep 6, 2002, 11:09 AM
Post; hot thread Re: [Alex] Decide if plugin executed on admin interface or website?
webmaster33 10212 Sep 6, 2002, 11:12 AM