Page 1 of 1

Adding a title to template

Posted: Sat May 06, 2017 4:00 am
by AutoAll
Currently on my domain 'theautoall.com' the facebook module has no title, how do I go about adding a title? If I just add '<center><h3><?php echo $heading_title; ?></h3></center>' to the template it gives an error. Thanks in advance!

Re: Adding a title to template

Posted: Sat May 06, 2017 4:21 am
by cyclops12
Have you set a title for it in admin extensions/modules /your facebook module ?

Re: Adding a title to template

Posted: Sat May 06, 2017 4:32 am
by AutoAll
cyclops12 wrote:
Sat May 06, 2017 4:21 am
Have you set a title for it in admin extensions/modules /your facebook module ?
Yes the default title is facebook in extensions/modules

Re: Adding a title to template

Posted: Mon May 08, 2017 10:07 pm
by AutoAll
bump

Re: Adding a title to template

Posted: Tue May 09, 2017 1:58 am
by cyclops12
you may have to declare it in the controller and language files
What error are you getting?

Re: Adding a title to template

Posted: Tue May 16, 2017 4:59 am
by AutoAll
cyclops12 wrote:
Tue May 09, 2017 1:58 am
you may have to declare it in the controller and language files
What error are you getting?
Notice: Undefined variable: header in /home/theautoa/public_html/catalog/view/theme/default/template/extension/module/facebook_page_plugin.tpl on line 1

Re: Adding a title to template

Posted: Tue May 16, 2017 5:39 am
by Gr3nT
Check the catalog/view/template/template_name/common/header.tpl, and find the site name. Copy and paste the module tpl.