Page Groupings

You can "group" different pages together to appear in different areas of the site.

For instance, say you want to show the home page, "about us" page and contact page in tabs across the top of the page. Then down the left column you'd like to show the catalog page, wish list and wholesale links. And lastly, in a horizontal line across the bottom of the page, you'd like to show the affiliate page, search page and a page about your ordering policies.

What you'll do is to assign a "group" to each of these sections. For example, the first set of pages (the tabs) might be group 1, the second set (vertical listing down the left) is group 2, and the horizontal line at the bottom is group 3.

Now, when you access "Pages" in the administration area, edit each of those pages, and check the boxes next to "Page Groupings" to assign the page to that particular group. So in our example, the index page would have the check box in front of "Group 1" checked. The wish list is going to have "Group 2" checked. The search page will have "Group 3" checked. And so on.

Lastly, in your template use this format for the includes ( 2.93 ONLY ):

<?php $pggrp=X; include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_vertical.php"); ?>

OLDER Versions 2.71 through 2.84 would use

<script language="php">$pggrp = X;include(SB_HOME_PATH ."/" .SB_INC_DIR ."/pagelist_vertical.php");$pggrp = "";</script>

replacing the X with the appropriate page group number and replacing the pagelist_vertical.php with the include you want

You can set up to 5 page groupings.

Note that all pages can be set in any, or all, of these groups, allowing you to display links in multiple navigation areas.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

MM Custom (DIY) Templates - 2.93+ Responsive

We've updated our DIY templates for the new 2.93+ responsive system and they're now available for...

Custom Template Design 2.84 - 2.93 - with Visual Guide

As with previous versions, an htm and php file should be loaded to the public_html/template...

Fonts & Colors

1 Font Style = This font applies to all elements on your pages 2 Font Size = The main font...

Image Display Option ( 2.93)

Version 2.93 allows you to choose different image styles/functions for each layout. Change the...

Template Includes for 2.71 & 2.84(OLDER MM SOFTWARE )

INCLUDE TYPES AND USES: Includes in the following format are used when making edits to your...