Drakinfly Posted February 18, 2015 Share Posted February 18, 2015 (edited) Hi I have followed a couple posts now and I seem to be missing something I have addid this to my blockcontact.php just before the last closing } and nothing shows at all not even in firebug. public function hookDisplayTop($params){ return $this->display(__FILE__, 'nav.tpl'); } I have tried this one as well it works fine but not the right info (Contact Us Our support hotline is available 24/7.) public function hookDisplayTop($params){ return $this->display(__FILE__, 'blockcontact.tpl'); } If anyone knows what I am doing wrong I will surely appreciate the help, thanks ------------------------------ I have worked it out it is quite simple to do all I have done is followed the first string: public function hookDisplayNav($params) { $params['blockcontact_tpl'] = 'nav'; return $this->hookDisplayRightColumn($params); } and added this just underneath it: public function hookDisplayNav($params) { $params['blockcontact_tpl'] = 'nav'; return $this->hookDisplayRightColumn($params); } public function hookDisplayTop($params) { $params['blockcontact_tpl'] = 'nav'; return $this->hookDisplayRightColumn($params); } can be found on line 104 Edited February 18, 2015 by Drakinfly (see edit history) Link to comment Share on other sites More sharing options...
chiragv Posted July 14, 2016 Share Posted July 14, 2016 Hi, I have same requirement to display "Call us now: 0123-456-789" on displayTop. public function hookDisplayTop($params) { $params['blockcontact_tpl'] = 'nav'; return $this->hookDisplayRightColumn($params); } Above solution fix issue. but it come with "Contact Us" menu link. Is it possible to display only "Call us now: 0123-456-789". Your help will be appreciate. Thanks. 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