need help with a module that i created ....

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   need help with a module that i created ....
gothikka
CZ Newbie
gothikka has been a member for over 19 year's 19 Year Member
usa.gif minnesota.gif
Age: 55
Gender: Female
Status: Offline
Joined: Jan 25, 2005
0.00 posts per day
Posts: 28
Points: 796
 Yahoo Messenger  
i have PHP-Nuke Platinum edition .....

i created a new module (it is a list of links) and when i click on it .. it will open in the center (where the news goes) like i want it to ... however .. when i click on one of the links from the module i made they open in the whole page instead of in the center where the news goes and i dont know how to fix it ... i want them to open in the center where the news goes ... any help or suggestions would be appreciated greatly ...



Back to top Reply with quote
#2   re: need help with a module that i created ....
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
Could you post your code so we could have a look.



Back to top Reply with quote
#3   re: need help with a module that i created ....
gothikka
CZ Newbie
gothikka has been a member for over 19 year's 19 Year Member
usa.gif minnesota.gif
Age: 55
Gender: Female
Status: Offline
Joined: Jan 25, 2005
0.00 posts per day
Posts: 28
Points: 796
 Yahoo Messenger  
it is a long one .. i took my links and used the module creator here to make the module .. i am in hopes it can be figured out because i really dont want to make a module for each individual link lol .. thanks for looking at it .. yikes it wont let me post the whole code because it has html in it so it wont let me post the link part of it .. at a loss now lol ...

<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$index = 0;
OpenTable();
echo
CloseTable();
include("footer.php");

?>



Back to top Reply with quote
#4   re: need help with a module that i created ....
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
inlcude it in side the bbcode tags likes this, it is the first icon on the second row above where you reply
or you could use iframes, or link to other modules.


Back to top Reply with quote
#5   re: need help with a module that i created ....
gothikka
CZ Newbie
gothikka has been a member for over 19 year's 19 Year Member
usa.gif minnesota.gif
Age: 55
Gender: Female
Status: Offline
Joined: Jan 25, 2005
0.00 posts per day
Posts: 28
Points: 796
 Yahoo Messenger  
i tried and it wont let me do that either .. it is still telling me html code isnt allowed .. guess ill have to do my naviation the hard way .. thank anyway icon_sad.gif



Back to top Reply with quote
#6   re: need help with a module that i created ....
Stray_Bullet
CZ Newbie
Stray_Bullet has been a member for over 19 year's 19 Year Member
usa.gif newyork.gif
Gender: Male
Status: Offline
Joined: Jan 07, 2005
0.00 posts per day
Posts: 13
Points: 979
   
If I am understanding, you just can't get the link to open in a new window, right? Are they text links? Image links?

for text links try
<a href=\"http://my-link.com\"  target=\"_blank\" border=\"0\" alt=\"My link\">Click here to go to my link</a>


for an image link try
<input type=\"image\" src=\"images/my-link.jpg\" border=\"0\" alt=\"My link\" onClick=\"window.open('http://my-link.com')\">


Hope this is what you were looking for! icon_wink.gif



_________________
Kill With The Best... Or Die Like The Rest... [ Register or login to view links on this board.]
Back to top Reply with quote
#7   re: need help with a module that i created ....
gothikka
CZ Newbie
gothikka has been a member for over 19 year's 19 Year Member
usa.gif minnesota.gif
Age: 55
Gender: Female
Status: Offline
Joined: Jan 25, 2005
0.00 posts per day
Posts: 28
Points: 796
 Yahoo Messenger  
what i did was create a module that was links .. in my navigation when i click on it .. the page of links opens where the news is .. what i would like it to do is when i click on the links i want them to open where the news is and not in a new page or the whole page .. say you have a link in navigation that says links .. when you click on that it opens in the the part where the news is and it lists a bunch of links .. when you click on one of those links listed, i would like for them to open in that same area where the news goes ..

hope i explained it a little better lol .. if not ill try again ..



Back to top Reply with quote
#8   re: need help with a module that i created ....
Stray_Bullet
CZ Newbie
Stray_Bullet has been a member for over 19 year's 19 Year Member
usa.gif newyork.gif
Gender: Male
Status: Offline
Joined: Jan 07, 2005
0.00 posts per day
Posts: 13
Points: 979
   
Ok I understand. I'm guessing you meant text links, so try the same code as above for text links but change the target...

-----replace-----
target=\"_blank\"

-----with this-----
target=\"_parent\"


icon_wink.gif



_________________
Kill With The Best... Or Die Like The Rest... [ Register or login to view links on this board.]
Back to top Reply with quote
#9   re: need help with a module that i created ....
gothikka
CZ Newbie
gothikka has been a member for over 19 year's 19 Year Member
usa.gif minnesota.gif
Age: 55
Gender: Female
Status: Offline
Joined: Jan 25, 2005
0.00 posts per day
Posts: 28
Points: 796
 Yahoo Messenger  
thanks for the suggestion .. however i already tried that and all it did was open the link in my whole page instead of just in the section the news is in icon_sad.gif i tried parent, blank, self and none worked icon_sad.gif

if you would like you can go to my site at [ Register or login to view links on this board. ] and on the left side click league navigation and you will see the list of links come up in the center where the news is .. the links that come up are what i also want to open in the center where the news is ..

i have pretty much been able to figure all else out except for that one little stinker lol



Back to top Reply with quote
#10   re: need help with a module that i created ....
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
Ahh ok now i see what we are working with, simple solution is to use the iframe module from this site [ Register or login to view links on this board. ]



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum