- Moderated by:
- Support
-
- rank:
-
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. -
- rank:
-
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 -
- 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 -
- rank:
-
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? -
- rank:
-
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 -
- rank:
-
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.
