Guest Brandon! Posted April 6, 2008 Share Posted April 6, 2008 I'm trying to create a nice "Sorry, this store is currently offline" type message. In admin I see the Offline Settings, and everything works fine. My only complaint is that only the message is returned and I can't seem to make a valid XHTML page out of it. There is a file I found called closed.inc.php, but this file doesn't seem to be called. I searched through the code and I wasn't even able to find where offlineContent is called (the only instances are /admin/ and the closed.inc.php file). I basically want to wrap it in a HTML page and include some default styling. Can anyone give me some input on how to customize the message? Quote Link to comment Share on other sites More sharing options...
convict Posted April 6, 2008 Share Posted April 6, 2008 Well lack of informations about thats true, sorry. Following file names are supported in store root folder: offline.php offline.htm offline.html Quote Link to comment Share on other sites More sharing options...
Guest Brandon! Posted April 8, 2008 Share Posted April 8, 2008 Thank you. That's nice that you can just throw a static page up there. Are there any variables that can be called from that page? I am trying to allow for a customer "store offline" message (configurable through admin), but I want it to be pretty. It does not necessarily have to be using the store's layout, but basic markup and XHTML valid would be nice. Quote Link to comment Share on other sites More sharing options...
convict Posted April 8, 2008 Share Posted April 8, 2008 Don't know what kind of CubeCart ]variables[ you would like to use in STORE OFF LINE page. offline.php offline.htm offline.html are very suitable to write a valid XHTML page as the build-in message ability does not have any html header/foter code thus no html page result. 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.