Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
gandlers
New Member
New Member


Joined: Jan 07, 2007
Posts: 22

PostPosted: Sun Jan 14, 2007 5:26 am Reply with quote

Hey guys,

pretty new to this PHP and PHP-Nuke stuff.
I would like a module (either download or make using nuke tools) which will give allow me to add the module so it appears in the main menu. When clicked, it will link either directly to a particular page, either in news or contents. Or alternatively link to an external site.

I have tried using a simple php redirect i found via google.

Code:


<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>


made into a module using nuke tools, once clicked via the main menu it just gets stuck in a loop presumably reopening the page over and over....

Sorry if this is really simple, but as I said I'm new to this and a little out of my depth. Cant find anything already in the forums, but I may not be using the right terms.

Thankyou

Gandlers
 
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sun Jan 14, 2007 6:07 am Reply with quote

The easiest way would probably be to use something like the Sommaire menu block instead.
 
View user's profile Send private message
gandlers
PostPosted: Sun Jan 14, 2007 10:18 am Reply with quote

thanks jake,

I'll check it out....

G
 
roelie12
New Member
New Member


Joined: Jul 20, 2009
Posts: 2

PostPosted: Mon Jul 20, 2009 2:00 am Reply with quote

gandlers wrote:
Hey guys,

pretty new to this PHP and PHP-Nuke stuff.
I would like a module (either download or make using nuke tools) which will give allow me to add the module so it appears in the main menu. When clicked, it will link either directly to a particular page, either in news or contents. Or alternatively link to an external site.

I have tried using a simple php redirect i found via google.

Code:


<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>


made into a module using nuke tools, once clicked via the main menu it just gets stuck in a loop presumably reopening the page over and over....

Sorry if this is really simple, but as I said I'm new to this and a little out of my depth. Cant find anything already in the forums, but I may not be using the right terms.

Thankyou

Gandlers


Thanks guys,

I have a problem and i think you could help me. I have an external link that i have placed in a module. So when i click on it from my menu it opens the external link. Everything work fine, but i want to open the link into my center screen of my nuke portal and not into a new screen.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Jul 20, 2009 8:21 pm Reply with quote

You would have to create it as a module then Only registered users can see links on this board! Get registered or login!

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
roelie12
PostPosted: Tue Jul 21, 2009 12:44 am Reply with quote

evaders99 wrote:
You would have to create it as a module then Only registered users can see links on this board! Get registered or login!


Ok, i saw that. But i don`t see anything to create a module so an external page will be open into my nuke portal.
 
jakec
PostPosted: Tue Jul 21, 2009 1:26 am Reply with quote

I know people hate iframes, but that would be one way to do it, or alternatively I believe there is a module called nukeWrap which might do the job.
 
floppydrivez
Involved
Involved


Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi

PostPosted: Thu Jul 23, 2009 5:43 pm Reply with quote

Iframe is going to be the easiest way.
Only registered users can see links on this board! Get registered or login!

_________________
Only registered users can see links on this board! Get registered or login!, Only registered users can see links on this board! Get registered or login!, Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©