Fork me on GitHub

OpenTable() in pn.8 - custom page  Bottom

  • Does this work in PN.8:

    Code

    <?php
    // initialize the PostNuke environment
    include'includes/pnAPI.php';
    pnInit();
    // include the header
    include('header.php');
    // open a table for your content
    OpenTable();
    ?>
    <!-- html data goes here -->

    my content

    <!-- html data ends here -->
    <?php
    // close the table
    CloseTable();
    // include the footer
    include('footer.php');
    ?>


    Or am I just using it wrong with the new framework?
  • I think you should leave out OpenTable and CloseTable - And try the rest.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • Personally i'd create a page in the pages module and add the content there. Scripts like this seem contrary to the use of a CMS.

    -Mark

    --
    Visit My homepage and Zikula themes.

This list is based on users active over the last 60 minutes.