Glossary Item Box

Squirrelcart v6.1.0

Links - Creating and Modifying

Creating / Modifying a Nav Block
  1. Open the control panel
  2. Click the Themes menu link
    themes menu
  3. Click the Links link
  4. To create a new Link, click . To modify an existing Link, 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 Link, 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

Links record form

 

Name
This is the name of this Link.

 

Label
This field is optional. It controls what is used inside the <a/> tag for this link, and is the label that will end up being clickable for this link. If left blank, the value of the Name field is used instead.

 

Description
For your reference only

 

Link To
This field controls what page opens when this link is clicked. This field is discussed in more detail in the "Linking to ..." sections below.

 

In
This field controls which window the link will open in. The default value is "same window".

 

Show When
This field controls when the Link 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 Link to appear. PHP tags are not needed.

 

CSS Class

Any class name entered here is included in the <a /> tag comprising this Link. This is useful for targeting individual Links in your CSS.

 

Unique ID

This field is unique for each Link, 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.

Linking to Content

Linking to a Content record in effect creates a page containing that content. For instructions, see the Creating a Page topic in this section.

Linking to a URL

  1. Set the Link To field to custom URL
  2. Enter the URL you wish to link to in the URL field
  3. Fill out the rest of the form
  4. Click Save Changes

 

Linking to a Product

  1. Set the Link To field to product
  2. Select the product you wish to link to using the Product field
  3. Fill out the rest of the form
  4. Click Save Changes

 

Linking to a Category

  1. Set the Link To field to category
  2. Select the category you wish to link to using the Category field
  3. Fill out the rest of the form
  4. Click Save Changes

 

Linking to all Categories

To create a link that will show all categories set to "Display When Clicked or Viewed":

  1. Set the Link To field to categories
  2. Fill out the rest of the form
  3. Click Save Changes

 

Linking to Built in Pages

Squirrelcart has some built in pages you might want to link to. Some of our modules also have pages specific to them. To link to one of those pages:

  1. Set the Link To field to the built in page you wish to link to. Currently supported pages include:
    - news page
    - testimonials page
    - downloads page
    - account page
    - order history
  2. Fill out the rest of the form
  3. Click Save Changes

 

Squirrelcart supports creating custom pages which you can link to. For instructions, see the Creating a Page topic in this section.

 

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.