Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

Trying to port a PHPNuke flash module...  Bottom

  • I'm trying to port what seems to be a very simple module from PHPNuke to Postnuke. The module basicly just displays a flash file. So far, I can't get it to show me the movie. I have allowed embed and object with paramaters... here's what I have, can anyone tell me what I'm doing wrong? There is no language file, but would that mess things up?
    ----------


    if (!defined("LOADED_AS_MODULE")) {
    die ("You can't access this file directly...");
    }

    $ModName = $GLOBALS['name'];
    modules_get_language();

    include 'header.php';

    if (!pnSecAuthAction(0, 'legal::', '::', ACCESS_OVERVIEW)) {
    echo _BADAUTHKEY;
    include("footer.php");
    return;
    }

    OpenTable();


    echo"

    ";
    echo "


    <param name="movie" value="\"/modules/learning_hiragana/hiragana.swf\""> <param name="quality" value="high"> <param name="wmode" value="transparent">


    </param></param></param>
    ";
    echo"

    ";

    CloseTable();
    include 'footer.php';

    ---------
  • Why port something like this, you can use flash using blank.php or some static content module, you can also put it in the theme itself and in a block...
    Looks like you are trying a blank.php equivalent, advise you to search for blank.php in the forums and try your flash code within it.
  • chAM

    Why port something like this, you can use flash using blank.php or some static content module, you can also put it in the theme itself and in a block...


    Because in PHPNuke, it is a module. It is one of the reasons I initially chose PHPNuke over Postnuke, in fact. So far I have had very poor results with blank.php files anyhow, getting nothing but error messages either when I call the file as a module or directly. At least with what I wrote, I get a nice blank table, just no content inside.
  • if you dont like blank.php, why not use a content module? It is a proper module and allows flash icon_rolleyes

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