Jump to content

Recommended Posts

Ok I am using this code for my php navigation script:

[code]<?
if (isset($_GET['page']) && isset($_GET['id']) && file_exists('mods/'.$_GET[id].'/'.$_GET[page].'.php')) {
include 'mods/'.$_GET[id].'/'.$_GET[page].'.php';
}
else {
echo "Page Not Found";
}
?>[/code]

And it requires me to have a mods folder on my server and then any folders and filse inside this /mods folder is included in my frame and thats how the site works.

But I have installed a news script and its all working good but when you click comments it opens in a new window and the comments file is in another directory, is there anyway I can get the comments to display in my site frame.

If you go to this url [color=red]http://media.bloodyrandom.com/funkrush/index2.php?id=pages&page=newsupdates[/color] you will see what I mean, click on view comments(3), (http://media.bloodyrandom.com/funkrush/news/examples/siteupdatesdisplay.php?action=viewcomments&newsid=1)
This is the page I need included in the frame.

PS nobody knows about this site its currently under construction and its going to rock when it comes out so please dont go posting this link around :)
Link to comment
https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/
Share on other sites

I think it'd be easier to write your own, since loads of those have all these psycho templates for this and that, and it's a royal pain.

Seriously, if you can't include it, you'd have to go into the templates and code and change around a lot of stuff. I'm unfamiliar with the script, so I don't really know how they do everything...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.