Share

a ConMan - Automated Content Management

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

ReadMe File - Install help

You are viewing a single message from this topic. View all messages.

  1. 2003-05-01 17:25:09 UTC
    for the templates it is simple,
    you can do a cuple of things.
    a) trough straight hard coded HTML into the header and footer sections of your template and conman will wrap that around the out put of your site
    or.
    b) put an include in the header and footer that calls a header and footer include fragment. that way you can change the whole look of your site by just changing your includes

    <!-- sample arcive page -->
    <?php
    // set the globals for this template
    $DOCUMENT_ROOT = "/www/members.your-web-site.com/html";

    // include header
    $header_file = "$DOCUMENT_ROOT/members/inc/arcive_header.inc.php";
    if(file_exists("$header_file"))
    {
    include("$header_file");
    }
    else
    {
    print("\n<!-- oops \"$header_file\" was not found -->\n");
    }
    ?>
    <!-- start ConMan input -->
    <!-- end ConMan input -->
    <?php
    // include footer
    $footer_file = "$DOCUMENT_ROOT/members/inc/arcive_footer.inc.php";
    if(file_exists("$footer_file"))
    {
    include("$footer_file");
    }
    else
    {
    print("\n<!-- oops \"$footer_file\" was not found -->\n");
    }
    ?>
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.