Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.220
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Link to module
Link to module

4 Replies / 1498 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Blocks

View previous topic :: View next topic


eeyuk69
Reputation: 462.9 Add RepSubtract Rep
votes: 1
Local time: 12:13 AM
Location: Lincoln
uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 22, 2007
Last Visit: 24 Oct 2011
Posts: 78
Points: 6188 

Post Link to module Posted: Fri Mar 21, 2008 6:58 pm

Shop Purchases:
Battlefield 2 Splash Screen · Battlefield 2 Splash Screen · Clan Themes Green PhpNuke Theme · Multi-T3 Evo Gaming Theme · Battlefield 3 Evo Theme

Hi guys heres an easy one for you

Trying to link an image to a module on my site, I can link to it ok but it always opens a new window
Basically need to know how to keep the link in the same window Rolling Eyes
 

 
View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 7:13 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Link to module Posted: Fri Mar 21, 2008 7:04 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Take out target="_blank" of the link code maybe.

Post the code here (in code tags plz) and I will tell you.
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

eeyuk69
Reputation: 462.9 Add RepSubtract Rep
votes: 1
Local time: 12:13 AM
Location: Lincoln
uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 22, 2007
Last Visit: 24 Oct 2011
Posts: 78
Points: 6188 

Post Link to module Posted: Fri Mar 21, 2008 7:14 pm

Shop Purchases:
Battlefield 2 Splash Screen · Battlefield 2 Splash Screen · Clan Themes Green PhpNuke Theme · Multi-T3 Evo Gaming Theme · Battlefield 3 Evo Theme

Heres one of the links

Code:
$content  .=  "<center><a href=\"modules/Battlefield_2142/\" target=\"_blank\"><img onmouseover=high(this) style=\"FILTER: alpha(opacity=30); moz-opacity: 0.3\" onmouseout=low(this) border=0 src=\"http://www.rebelsoldiersclan.com/images/blocks/2142.jpg\"></a><br><br>";
 

 
View user's profileSend private messageVisit poster's website Reply with quote


Bayler
Reputation: 856.9 Add RepSubtract Rep
votes: 10
Local time: 7:13 PM

usa.gif

Fire In The Hole
Fire In The Hole

0.16 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 08 May 2009
Posts: 275
Points: 2038 

Post Link to module Posted: Fri Mar 21, 2008 7:50 pm

Should be:

Code:

$content  .=  "<center><a><img src="http://www.rebelsoldiersclan.com/images/blocks/2142.jpg\"></a><br><br>";


Somehow, that style is dictated to operate in a different way, which is overriding your html....

If you want to specify image width and height you can stipulate that in your html code
Example:

Code:

$content  .=  "<center><a><img src="http://www.rebelsoldiersclan.com/images/blocks/2142.jpg\" hight="37\"></a><br><br>";
 

You will not recieve help from me if i have to go digging for your CMS information and version, If i have to take the time to play 21 questions, then you can take the time to google! No Copyright, no support either!  
View user's profileSend private messageMSN Messenger Reply with quote

eeyuk69
Reputation: 462.9 Add RepSubtract Rep
votes: 1
Local time: 12:13 AM
Location: Lincoln
uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 22, 2007
Last Visit: 24 Oct 2011
Posts: 78
Points: 6188 

Post Link to module Posted: Sat Mar 22, 2008 10:56 am

Shop Purchases:
Battlefield 2 Splash Screen · Battlefield 2 Splash Screen · Clan Themes Green PhpNuke Theme · Multi-T3 Evo Gaming Theme · Battlefield 3 Evo Theme

All sorted thanks
Took out the target=\"_blank\" section of code
Just a simple scrolling block linking to modules

Code:
<?php
if (eregi("block-info.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

$content = "<A name= \"scrollingCode\"></A>";
$content .="<MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"150\" scrollamount= \"2\" scrolldelay= \"25\" onmouseover='this.stop()' onmouseout='this.start()'>";

$content  .=  "<center><a href=\"modules.php?name=Battlefield_2/\"><img src=\"http://www.rebelsoldiersclan.com/images/blocks/bf2.jpg\" border=\"0\" alt=\" Battlefield 2\"></a><br><br>";

$content  .=  "<center><a href=\"modules.php?name=Battlefield_2142/\"><img src=\"http://www.rebelsoldiersclan.com/images/blocks/2142.jpg\" border=\"0\" alt=\" Battlefield 2142\"></a><br><br>";

$content  .=  "<center><a href=\"modules.php?name=COD4/\"><img src=\"http://www.rebelsoldiersclan.com/images/blocks/cod4.jpg\" border=\"0\" alt=\"Call of Duty 4\"></a><br><br>";

$content  .=  "<center><a href=\"modules.php?name=Crysis/\"><img src=\"http://www.rebelsoldiersclan.com/images/blocks/crysis.jpg\" border=\"0\" alt=\"Crysis\"></a><br><br>";

$content  .=  "<center><a href=\"modules.php?name=Guildwars/\"><img src=\"http://www.rebelsoldiersclan.com/images/blocks/guild-wars.jpg\" border=\"0\" alt=\"Guildwars\"></a><br><br>";

$content  .=  "<center><a href=\"modules.php?name=Quake_Wars/\"><img  src=\"http://www.rebelsoldiersclan.com/images/blocks/quake-wars.jpg\"border=\"0\" alt=\"Quake Wars\"></a><br><br>";

?>
 

 
View user's profileSend private messageVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Blocks


 
4 Replies / 1498 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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 can download files in this forum