Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  PostNuke 0.7 Support ::  Core Modules & Blocks ::  back linking

Moderated by: Support Team

Bottom
back linking

  • Link to this postingPosted: 16.10.2004, 05:44
    Profile
    lost11
    rank:
    Freshman Freshman
    registered:
     October 2004
    Status:
    offline
    last visit:
    19.10.04
    Posts:
    31
    well since trying to make my own module seems more complicated then i thought, i figure i'll just make pages. so i took the blank.php file and put that in a subfolder called "specs" and i have the following in my blank.php
    Code
    <?php
    include '../includes/pnAPI.php';
    pnInit();
    include '../includes/legacy.php';
    // eugenio themeover 20020413
    // pnThemeLoad();
    define("LOADED_AS_MODULE","1");
    # includes the mainfile functions and the header junk
    if (!isset($mainfile)) { include("../mainfile.php"); }
    include("../header.php");
    ?>

    i put in ../ now i remember that was back linking in HTML but is it the samein PHP?

    i'm getting the following error

    Fatal error: Call to undefined function: pninit() in /sitepost/specs/blank.php on line 3

    line 3s pnInit();
    should i link it directly with the whole http://web.address.com/sitepost instead of the ../ ?

Start ::  PostNuke 0.7 Support ::  Core Modules & Blocks ::  back linking

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula