Left column

Menu

Works With:

Microsoft Expression WebALL Versions of
Microsoft
Expression Web

FrontPageALL Versions
of
Microsoft
FrontPage

DreamweaverALL Versions
of
Macromedia
Dreamweaver

GoLiveALL Versions
of
Adobe
GoLive

Used World-Wide:

Interact

Add me to Skype

**Press Control+Y on your keyboard and log in as admin/admin or deployer/deployer**

PHPSeeds v5.1.4 Test - Multiple Seeds

Multiple seed test

This page is to demonstrate how to call multiple "seeds" into a single page.

Look at the source view in your local folders. The location is generator/test/multiple.php. You'll find some HTML comments and see the code that calls the content blocks to the page.

In this page there are two "seeds"

  • Main seed (which is containing this content).
    • The content that gets injected here is based on the name of the page it's placed on.
  • The seed to the left contains the menu.
    • I just copied the code for the menu into a content block named side.htm.
      You can find it in your page list when logged into the on-line editor.

By using this method it's very easy to call multiple segments of content into a page. it works well for file lists, news boxes, and other page elements you want to repeat consistently throughout a site while allowing users to edit it as well.