Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redirect help needed


WiseWombat

Recommended Posts

Hi what I have done is added A link to my informations box called Our forum which links to a redirected page called forum.php This link directs my customers to domain/forum the problem is I want it to open up a totaly new page/window

This is what my redirect has at the moment.

<?php

header("Location: ../forum/");

?>

Any ideas thanks.

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

I'm not sure how to put it in php but you could use target="blank" in html link like:

<a href="http://yourforumpage.html" target="_blank">YourForumLinkTitle</a>

That can be added in column left for sure I don't know about putting it inside an infobox. Our newsletter is separate and has an outside link Here's the code for putting it in its own little box in column left (you can see it on our store pages).

<tr><td>
 <table border="1" bordercolor="green" cellspacing="1" cellpadding="2" width="145">
 <tr class="infoBoxContents">
    <td align="center" valign="middle"> 
<font color="red"><b><a href="http://www.gardenvines.com/lists/?p=subscribe&id=1">Get Our Newsletter!</a></b></font>
   </td>
 </tr></table>
 </td></tr>

It does not, however, open in a new window, so you'd need to add that. It just goes into column_left.php after the closing ?>

Link to comment
Share on other sites

I'm not sure how to put it in php but you could use target="blank" in html link like:

<a href="http://yourforumpage.html" target="_blank">YourForumLinkTitle</a>

That can be added in column left for sure I don't know about putting it inside an infobox. Our newsletter is separate and has an outside link Here's the code for putting it in its own little box in column left (you can see it on our store pages).

<tr><td>
?<table border="1" bordercolor="green" cellspacing="1" cellpadding="2" width="145">
?<tr class="infoBoxContents">
? ? <td align="center" valign="middle"> 
<font color="red"><b><a href="http://www.gardenvines.com/lists/?p=subscribe&id=1">Get Our Newsletter!</a></b></font>
? ?</td>
?</tr></table>
?</td></tr>

It does not, however, open in a new window, so you'd need to add that. It just goes into column_left.php after the closing ?>

Thanks for that Dan this is no good to me as it does open a new window but then my main page (CENTER) looses all images pictures ect

 

<a href="http://yourforumpage.html" target="_blank">YourForumLinkTitle</a>

what I want to do is add a link into left colum to a file out side the catalog file with out loosing the sessions ID. So I can have two pages open at the same time I will take a look at the new letter code thanks.

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Thanks for that Dan this is no good to me as it does open a new window but then my  main page (CENTER) looses all images pictures ect

 

<a href="http://yourforumpage.html" target="_blank">YourForumLinkTitle</a>

what I want to do is add a link into left colum to a file out side the catalog file with out loosing the sessions ID. So I can have two pages open at the same time I will take a look at the new letter code thanks.

I found the answer for any on that might be interested.

To have a pop up link in php in the information box and to keep session active in first page.

Here it is :D

'<a href=" /forum/"target=\"_blank\">Fishermans Forum</a><BR>' .

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...