vap Posted February 5, 2013 Share Posted February 5, 2013 Hello, I am developing a custom registrar module. How can I distinguish if a particular function is being called from clientarea or admin panel ? Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
vap Posted February 6, 2013 Author Share Posted February 6, 2013 Can someone please reply ? My urgent task is on hold because of an issue around this situation. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted February 6, 2013 Share Posted February 6, 2013 You can use the global CLIENTAREA eg.. if(defined("CLIENTAREA")){ //Called from clientarea } 0 Quote Link to comment Share on other sites More sharing options...
nasos75 Posted February 20, 2013 Share Posted February 20, 2013 Can't you use the mymodule_AdminCustomButtonArray and mymodule_ClientAreaCustomButtonArray functions in your registrar module? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.