Glossary Item Box

Squirrelcart v6.1.0

Creating/Modifying a Nav Block

Creating / Modifying a Nav Block
  1. Open the control panel
  2. Click the Themes menu link
    themes menu
  3. Click the Navigation Blocks link
  4. To create a new navigation block, click . To modify an existing navigation block, click anywhere on it's record row.
  5. Fill out the form, using the record overview below as a guide.
  6. Click Save Changes
  7. When creating a new navigation block, you will most likely want to add it to your theme so it appears on your storefront page. Follow the instructions in the Adding to Storefront topic in this section.
Record Overview

 

Name
This is the name of this nav block. It is never shown in your storefront.

 

Description
For your reference only

 

Header
This is what will appear in the top of the nav block, as a title. You can use both plain text and HTML here. If you leave this blank, the nav block will have no title.

 

Content
This is what will appear inside the nav block, below the header. HTML, plain text, and PHP are all accepted.

 

Show When
This field controls when the nav block will appear. It is an advanced field and should not be modified unless you are experienced with PHP. The format for this field should be PHP code that will evaluate to true when you want the nav block to appear. PHP tags are not needed.

 

CSS Class

Any class name entered here is included in the <div/> tag surrounding the navigation block. This is useful for targeting individual navigation blocks in your CSS.

 

Unique ID

This field is unique for each Nav Block, and can be used to reference it in the theme configuration files. This field is read only, and is genereated automatically by Squirrelcart. You should not need this information under normal circumstances.

 

No Box

If you want to create a navigation block that does not appear to be inside a box (no border, no box shadow, etc...), check this box. This is useful when you want most of your nav blocks to appear as boxes, but need one or two that appear along with those nav blocks without looking like one.

If you want all your nav blocks to not have borders, do not check No Box. Instead, use the built-in "No Boxes" content box style variant that comes with the built-in Squirrelcart theme.

 

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.