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

Dizkus

Bottom
How do I proceed?
  • Posted: 14.05.2007, 23:56
     
    iceregent
    rank:
    Softmore Softmore
    registered:
     May 2007
    Status:
    offline
    last visit:
    10.09.08
    Posts:
    53
    Hello. I have a set of PHP scripts that I used in a previous version of my website before I tried PostNuke. The scripts read from a table in the database, display the basic information from the database, and allow the user to select one of the sets of basic info to then display the more detailed info from the database. I need to be able to do the same thing with PostNuke, but, am not sure whether that is something I would create in a module, a block, or what. Can someone point me in the right direction please as to where I start to integrate my own scripting?

    Thanks;
    IceRegent
  • Posted: 15.05.2007, 00:41
     
    pnDev
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    23.08.08
    Posts:
    448
    You can still integrate other PHP scripts with your PostNuke website. Some ways are to use htmlpages, postwrap or put some of the PHP code right into an HTML template.

    --
    pnDev.com ~ featuring the PostNuke paid services forum
  • Posted: 15.05.2007, 03:54
     
    videokid
    rank:
    Professional Professional
    registered:
     March 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    901
    Correct, but I like to add you'll have to use the code

    Code

    <!--[php]--> <!--[/php]-->

    in the *.htm[l] templates and not

    Code

    <?php  ?>

    I you might considering adding a core-PHPblock, you don't use either of them.

    - Igor

    --
    Have a nice day
    zikulapro.be is currently running
    Zikula 1.0.2

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula