lyall Posted July 15, 2006 Share Posted July 15, 2006 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 :) Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/ Share on other sites More sharing options...
pixy Posted July 15, 2006 Share Posted July 15, 2006 What blogware are you using, or did you write it yourself?Why not just include() the comments? Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/#findComment-58506 Share on other sites More sharing options...
lyall Posted July 15, 2006 Author Share Posted July 15, 2006 I am using the http://www.webmobo.com/ news script and I can't just include the comments because the script uses a templating system and its got all sorts of security features so Its complex. the news script is ina different directory. Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/#findComment-58507 Share on other sites More sharing options...
lyall Posted July 15, 2006 Author Share Posted July 15, 2006 Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/#findComment-58537 Share on other sites More sharing options...
pixy Posted July 15, 2006 Share Posted July 15, 2006 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... Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/#findComment-58542 Share on other sites More sharing options...
lyall Posted July 15, 2006 Author Share Posted July 15, 2006 :-( Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/#findComment-58563 Share on other sites More sharing options...
pixy Posted July 15, 2006 Share Posted July 15, 2006 To be honest, incorporating existing scripts together that weren't made for each other is HARD. Thats why I'm lame and I dont do it.Maybe include it within a table? Perhaps the styles wouldn't leave it...I dont know. XD Quote Link to comment https://forums.phpfreaks.com/topic/14676-php-navigation-big-problem/#findComment-58564 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.