galactic Posted June 29, 2012 Share Posted June 29, 2012 I want put my html content into return statement in module.php to display on page, hook to 'home' area and 'footer'. Code includes a few divs and a few external and internal javascripts, which have a curly brackets inside. Should I just insert my code inside of quotation marks as is? Or internal javascripts should be included inside a special markup? public function hookHome($params) { return "My html content to display... ..."; } public function hookfooter($params) { return $this->hookHome($params); } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now