E-Luminate Posted July 23, 2017 Share Posted July 23, 2017 (edited) Hi, I searched the forums for this first and realise it may be a requested, future feature. I previously posted on how to have a custom title on the contact page, I managed to figure it out myself (and posted the fix). However, for the life of me I cannot figure out how to get the login page to have a custom title (a page title with "Log in" prefix). Anyone know how to do this or have a workaround? The solution I used for contact doesn't work for log in. Thanks! Neil. Edited July 23, 2017 by E-Luminate Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 23, 2017 Share Posted July 23, 2017 Please try: In /classes/cubecart.class.php, near lines 2147-2151 (for CC618), find: $GLOBALS['smarty']->assign('REDIRECT_TO', $redir); $GLOBALS['smarty']->assign('URL', array( 'register' => $GLOBALS['seo']->buildURL('register'), 'recover' => $GLOBALS['seo']->buildURL('recover')) ); On the blank line after that, add: $meta_data=array('name'=>"Login",'path'=>null,'description'=>"Your Login Page",'keywords'=>"Login",'title'=>"Login",);$GLOBALS['seo']->set_meta_data($meta_data); 1 Quote Link to comment Share on other sites More sharing options...
E-Luminate Posted July 23, 2017 Author Share Posted July 23, 2017 Perfect! Works a charm. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.