se1989rg Posted February 9, 2015 Share Posted February 9, 2015 (edited) Hi, I develop a module and I need html, which returns display payment hook, to use in backoffice module configure page. In front office all good.This is my code $displayPayment = Hook::exec('displayPayment'); $html = str_get_html($displayPayment); $i = 0; foreach($html->find('a') as $a) { $payment_methods[$i]['id_option'] = $i; $payment_methods[$i]['payment_method'] = $a->plaintext; $i++; }I found that after calling $result = $this->getCurrentSubTemplate($template, $cacheId, $compileId)->fetch(); in class ModuleCore method display() showing blank page(debug mode enable).Any help please? Edited February 9, 2015 by se1989rg (see edit history) 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