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

Dizkus

Bottom
Core/menu; how to open in frame not in whole page
  • Posted: 26.08.2003, 23:30
     
    aphexer
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    20.02.05
    Posts:
    32
    I added the a link to the main menu but when i click it it opens in the whole page and i just want to display it in the center like all other default links do. How can i do this? I just typed multimedia.php in the URL and that file exists in the root of the PostNuke folder.
  • Posted: 27.08.2003, 00:40
     
    Raleigh
    registered:
     June 2002
    Status:
    offline
    last visit:
    06.08.05
    Posts:
    572
    Try using the blank.php to create your multimedia.php file... the stuff in blank.php will initialize the PN environment around whatever else you want to put in there.
  • Posted: 27.08.2003, 02:55
     
    aphexer
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    20.02.05
    Posts:
    32
    What blank.php? i can't find it.
    I tried to include it using a core/php and using include and this works but then it is on my home page all the time and this is not what i want. I made a link in the main menu to multimedia.php but then it opens again in full. When i put {multimedia.php} it just shows my home page when i click the link and nothing about the actual file. That's weird :s
  • Posted: 27.08.2003, 03:39
     
    Raleigh
    registered:
     June 2002
    Status:
    offline
    last visit:
    06.08.05
    Posts:
    572
    Sorry about that-- I thought there was a blank.php included in the PN Distribution. Here's a link: http://mods.postnuke.com/modules.php?op=modload&name=News&file=article&sid=1431&mode=nested&order=0&thold=0
  • Posted: 28.08.2003, 16:09
     
    aphexer
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    20.02.05
    Posts:
    32
    I downloaded the blank.php but i still have some problems with the paths. PostNuke itself is in /pn and my old site with HTML pages is in /site. I'd like to make a file multimedia.php that includes the htm file and then i just make a link to the PHP file in my main menu. I use this to include the htm file:

    Code

    <?php include include ("http://leerlingensite.jasonereese.com/site/multimedia.htm"); ?>


    Where should i place the PHP file? i like not to place it in the root of PostNuke. And what should i put in the include_path?

    $currentpath = ini_get("include_path");
    $mypath = ":..:.:/pn/site/:/path 2to subdirectory/";
    $newpath = $currentpath . $mypath;
    ini_set ("include_path", $newpath);

    I use this piece of code to change the include path. but it doesn't work. How should I do it?
  • Posted: 28.08.2003, 17:37
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    Better use Postwrap. That's a module which supports permissions ASO... (more secure...)

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog
  • Posted: 29.08.2003, 02:42
     
    aphexer
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    20.02.05
    Posts:
    32
    Postwrap seems nice but it's too complicated for what i need. Then there is also another scrollbar and such, just including a page is all i need. It's just the path i can't get correctly configured. Can you help setting it right? You can see more info above.
  • Posted: 05.10.2003, 19:04
     
    alant
    rank:
    Freshman Freshman
    registered:
     October 2003
    Status:
    offline
    last visit:
    09.10.03
    Posts:
    10
    Not everyone wants to be a programmer. Some of us just want to add content and go.

    - Alan
  • Posted: 19.10.2003, 00:21
     
    perkyu
    rank:
    Freshman Freshman
    registered:
     October 2003
    Status:
    offline
    last visit:
    20.10.03
    Posts:
    22
    non-PHP content :(

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula