Members Vangelis Posted June 2, 2013 Members Report 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
Members Vangelis Posted June 8, 2013 Author Members Report Posted June 8, 2013 I guess with so many likes many people would like to see a new client BTW problem is solved Quote
Jon Posted June 8, 2013 Report 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
Tom Posted June 8, 2013 Report 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
Members Vangelis Posted June 8, 2013 Author Members Report Posted June 8, 2013 Thanks for the reply i found the answer to be honest in some of the previous post in support Quote
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.