Members Vangelis Posted June 2, 2013 Members Report Share Posted June 2, 2013 I am creating an acars for our VA and my question is I have created a new module as per API but how do i remove the banner and the pilot info so it returnes a single line ? By example <?php require_once($_SERVER['DOCUMENT_ROOT'] . '/phpvms/core/codon.config.php'); class APV extends CodonModule { public function pageone($fruit='', $orange='') { echo "The fruit is an {$fruit} and the color is {$orange}"; } public function pagetwo() { echo "The fruit is an {$this->get->fruit} and the color is {$this->get->orange}"; } } what i mean that in my browser i need only the fruit is an apple and the color is green without any visuals Thanks Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 8, 2013 Author Members Report Share Posted June 8, 2013 I guess with so many likes many people would like to see a new client BTW problem is solved Quote Link to comment Share on other sites More sharing options...
Jon Posted June 8, 2013 Report Share Posted June 8, 2013 I guess with so many likes many people would like to see a new client BTW problem is solved I wouldn't say that considering they're basically bots. Jon Quote Link to comment Share on other sites More sharing options...
Tom Posted June 8, 2013 Report Share Posted June 8, 2013 To answer your question go to action.php/APV rather than index.php/APV and you'll only have what your module returns no skin Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 8, 2013 Author Members Report Share Posted June 8, 2013 Thanks for the reply i found the answer to be honest in some of the previous post in support Quote Link to comment Share on other sites More sharing options...
Tom Posted June 8, 2013 Report Share Posted June 8, 2013 Oh my bad I didn't read that earlier post 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.