Aiden Posted August 15, 2015 Share Posted August 15, 2015 Hiya,Is there a way to have the contact page load as the homepage? Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 15, 2015 Share Posted August 15, 2015 You can try:In the CubeCart class file (/classes/cubecart.class.php), at the end of the loadPage() function (lines 201-420), if nothing else is getting called, the displayHomePage() function gets called.This can be changed to $this->_contact(), where the _contact() function displays the Contact Us form/page.Be aware, however, that the Contact Us feature of CubeCart can be administratively disabled. You will see at the bottom of the _contact() function that if this feature is disabled, CubeCart redirects the visitor to the HomePage (index.php file). Thus, an infinite loop. Quote Link to comment Share on other sites More sharing options...
Aiden Posted August 15, 2015 Author Share Posted August 15, 2015 That worked, thank you so much! Quote Link to comment Share on other sites More sharing options...
Aiden Posted August 16, 2015 Author Share Posted August 16, 2015 There's actually a problem, the recaptcha isn't being recognized.... Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 16, 2015 Share Posted August 16, 2015 If it's not important to you, you can switch reCaptcha off.Otherwise, reCaptcha works for me.Also, I trust you realize you can never get to the HomePage? Any link that points to a non-specific URL, like just www.mystore.com, like the "Home" link, will always get the Contact Us page. Quote Link to comment Share on other sites More sharing options...
Aiden Posted August 17, 2015 Author Share Posted August 17, 2015 It's showing up today Yes I understand, thanks again. 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.