Page 1 of 1
echo $title; doesn't work
Posted: Thu Oct 16, 2014 10:32 pm
by vahe
I have noticed that the default <title><?php echo $title; ?></title> in header.tpl returns a blank result on all pages except the homepage.
Is this a 2.0 bug? How to populate the page title?
Thanks
Re: echo $title; doesn't work
Posted: Fri Oct 17, 2014 4:13 am
by Xyph3r
No..it's not a bug. You must edit that product/category/etc in admin and fill the "custom title" field.
It would be better if the custom title is empty, to show the normal title...but maybe in a future version of Opencart.
Re: echo $title; doesn't work
Posted: Fri Oct 17, 2014 3:48 pm
by vahe
Thank you!