• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Outdoor Ed
#1 Posted : Tuesday, February 27, 2007 8:35:41 AM(UTC)
Outdoor Ed

Rank: Member

Joined: 3/4/2006(UTC)
Posts: 121

The Closed.aspx page comes up just as a gray background with text. I'd like it to look like the rest of the theme that I'm using with just "Store is closed for maintenance." How do I accomplish this?

Rick
[email protected]
#2 Posted : Monday, March 12, 2007 4:04:18 PM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hi Rick,

I have an "un-official" solution for you. First, browse to the root folder of your current theme (If your site is hosted on a local machine, it should be something like C:\inetpub\wwwroot\mystore\BVModules\Themes\Painted_Paper\). Copy your Closed.Master file and save it as Closed.Old. Delete your Closed.Master file. Copy your Home.Master file and save it as Closed.Master. Open this file and change the following line:

<link href="styles/styles.css" rel="stylesheet" type="text/css" />

Change "styles.css" to "closed.css"

<link href="styles/closed.css" rel="stylesheet" type="text/css" />

Save the file and close. Navigate to the themes "Styles" directory and copy the styles.css file. Save the file as "closed.css".

You can now edit this CSS file to make any changes to your stores closed page.

I recommend the following:

#header ul, #footer ul {display:none}

and

#minicart { display:none }

I recommend this because you do not want your customers to have access to these links. If they attempt to navigate with the store closed they will receive errors.
This solution is not recommended for all sites because it depends on CSS to hide elements. If the users browser does not support CSS, this method will fail.

Thanks and good luck!
Everett
Everett Comstock

BV Software
Outdoor Ed
#3 Posted : Tuesday, June 12, 2007 10:01:58 PM(UTC)
Outdoor Ed

Rank: Member

Joined: 3/4/2006(UTC)
Posts: 121

Everett, I tried your solution and didn't get anywhere. The standard home page came up regardless. Any other suggestions? Could a custom Closed Page be created and added and then a URL Redirect from the 'standard' closed page to the New closed page?

Rick
Cliff
#4 Posted : Wednesday, June 13, 2007 3:55:23 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

I'd recommend editing Closed.master to contain the majority of the HTML you want to structure your closed page with, and don't mess with the store elements. When your site is closed, you don't want the header, footer, or other store-related controls on the Closed page, because it's likely you're working on the store or theme. Hiding them with CSS isn't enough.

The bottom line is that you want to minimize the possibilities of your closed page throwing up errors because you're working on updating your site.

If you do copy Home.master to Closed.master, make sure the "CodeFile" is "Closed.master.vb" and the "Inherits" is set to your Closed class (top of the master pages).
Taylor
#5 Posted : Thursday, June 14, 2007 8:58:17 AM(UTC)
Taylor

Rank: Member

Joined: 7/15/2004(UTC)
Posts: 368

Just a thought... but if you want it to look like the rest of your site but not use the BV elements "View Source" from the home page and use the html that is generated to build the static page. Get rid of Search and Mailing List boxes, take out the navigation and the content out, take out any links. Doing this you have your html shell that you can copy and paste into the right places in the Closed.master.

Of course, you should make a copy of the Closed.master before attempting any of the copying and pasting. hth
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012