chrometweaks.org

How Can I buy my own iPage web hosting Server for .COM? Please also read details.?

Click Here To View All Answers...


First of all How Can I buy my own iPage web hosting Server for .COM? Please also read details.? Hoping for any answer or 2. Another question on my mind: I want to add a link to my information.php that will go to my forums, and also want it to open a new window..

I'm assuming it goes in the following part of the code, just not sure what the line code would be:.

$info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_FAQ)'">'BOX_INFORMATION_FAQ'</a><br>' //FAQ SYSTEM.

                                        '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');..

Comments (38)

That's a good question. I'm not sure what is the answer to your question. I'll do some research in Google and get back to you if I got an answer. You should email the people at iPage as they probably could assist you..

Comment #1

You need to use the tep_href_link function or you may lose the SID..

Jack..

Comment #2

This is for a link to a forum, in a seperate window, so why would it need the SID?.

Vger..

Comment #3

OK, I know I have the coding wrong, I'm such a n00b sorry..

My catalog and forums are in my /www/ folder, and here's what I got. Oh, and I added define('BOX_forums', 'Forums(NEW!)'); to my english.php.

$info_box_contents[] = array('text' => '<a href="/forums" target="_blank">'BOX_Forums'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_FAQ)'">'BOX_INFORMATION_FAQ'</a><br>' //FAQ SYSTEM.

                                        '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');.

Please don't laugh at me..

Comment #4

What happens if a customer is signed in with an order in his cart and decides to visit the forum? Can he get back to his cart by clicking on the back button?.

Jack..

Comment #5

It shouldn't matter because the forum is opening up in a separate window correct? I'm probably wrong.

Anyway, still can't get the link to show up...

Comment #6

No, you're not wrong, you're dead right. The user is not leaving the old window at all..

Vger..

Comment #7

Try this instead: (I'm asuming the name of the page oyu are loading is forums.php).

$info_box_contents[] = array('text' =>.

                                       '<a href="'tep_href_link('forums.php')'">'BOX_Forums'</a><br>' ..

BTW, since you are defining the text, BOX_Forums, you should also define the filename in filenames.php as.

Define('FILENAME_BOX_FORUM', 'forums.php');.

It is not required but will make troubleshooting your iPage site easier in the future..

Jack..

Comment #8

Remove this.

'<a href="/forums" target="_blank">'BOX_Forums'</a><br>' ..

And use the code I gave, just add the filename and pathway e.g. forums/index.php.

Vger..

Comment #9

Nope, you are correct. I read the part about the other window but it didn't register with me for some reason. However, if, for some reason, you ever decide to change it so that the forum doesn't open in a new window, you will break your shop. Following the standard guidelines will prevent this. It doesn't hurt you to do it, but it may if you don't..

Jack..

Comment #10

My fault, I should have explained it better..

The forum is totally separate. It's a phpbb.com forum and not defined by a single file..

What I need is a link in the information box that will read Forums(NEW!), with a link to the forum itself, in a new window. Just like if I wanted to add a link to go to these forums here, same thing different address.

Sorry, I get excited and always forget to add important info like that..

Comment #11

NP - I do it all of the time..

Does the code Vger supplied not work? You may want to use the absoulte address in the link (.

Http://www....

). What problem are you having? Is the link not showing up or just not working?.

Jack..

Comment #12

I'm getting so pissed, this should be so simple and I know I'm making a stupid mistake somewhere.

The link isn't showing up at all using Vger's code, and I just tried the absolute path to no avail.

$info_box_contents[] = array('text' => '<a href="http://www.livewirehardware.com/forums" target="_blank">Forums</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_FAQ)'">'BOX_INFORMATION_FAQ'</a><br>' //FAQ SYSTEM.

                                        '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');.

This post has been edited by.

XPATRIOTSx.

: 19 October 2004, 17:25..

Comment #13

'<a href="'tep_href_link(FILENAME_FORUM)'" target="_blank"></>'BOX_INFORMATION_FORUM'</a><br>' ..

Then in catalog/includes/filenames.php.

Define('FILENAME_FORUM', 'forum/index.php');.

Then in catalog/includeslanguages/english.php.

Define('BOX_INFORMATION_FORUM', 'Forum');.

I am also using phpBB and for the link code posted I have the forum directory inside the catalog directory.

This post has been edited by.

241.

: 19 October 2004, 17:35..

Comment #14

I'm going to cry. I know you guys are giving me the right info but nothing is working..

This is what I have per 241's code(and I changed all the FORUM to FORUMS to make it easier to keep track):.

Information.php.

'<a href="'tep_href_link(FILENAME_FORUMS)'" target="_blank"></>'BOX_FORUMS'</a><br>' ..

Filenames.php.

Define('FILENAME_FORUMS', 'forums/index.php');.

English.php.

Define('BOX_FORUMS', 'Forums');.

For some reason the link just won't show up in the box...

Comment #15

Post the code for the information.php as it is now..

Comment #16

I appreciate everyone's patience.

<?php.

/*.

 $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

?>.

<! information //>.

         <tr>.

           <td>.

<?php.

 $info_box_contents = array();.

 $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);.

 new infoBoxHeading($info_box_contents, false, false);.

 $info_box_contents = array();.

 $info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_FORUMS)'" target="_blank"></>'BOX_FORUMS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_FAQ)'">'BOX_INFORMATION_FAQ'</a><br>' //FAQ SYSTEM.

                                        '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');.

 new infoBox($info_box_contents);.

?>.

           </td>.

         </tr>.

<! information_eof //>..

Comment #17

I am to blame you have this extra code in the code line.

</>.

Here you go.

<?php.

/*.

$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

?>.

<! information //>.

<tr>.

<td>.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);.

New infoBoxHeading($info_box_contents, false, false);.

$info_box_contents = array();.

$info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_FORUMS)'" target="_blank">'BOX_FORUMS'</a><br>' ..

'<a href="'tep_href_link(FILENAME_FAQ)'">'BOX_INFORMATION_FAQ'</a><br>'//FAQ SYSTEM.

'<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

'<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

'<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

'<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');.

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

<! information_eof //>.

This post has been edited by.

241.

: 19 October 2004, 17:45..

Comment #18

Hold everything! Just as an experiment I deleted the FAQ line but it still was showing up? I recently moved all the catalog files from /www/catalog to /www/ as I'm using the catalog itself as my home page. I changed everything in the configure.php files to match the new root, but is there another file I needed to do that in?..

Comment #19

I want to add a link to my information.php that will go to my forums, and also want it to open a new window..

I'm assuming it goes in the following part of the code, just not sure what the line code would be:.

$info_box_contents[] = array('text' => '<a href="'tep_href_link(FILENAME_FAQ)'">'BOX_INFORMATION_FAQ'</a><br>' //FAQ SYSTEM.

                                        '<a href="'tep_href_link(FILENAME_SHIPPING)'">'BOX_INFORMATION_SHIPPING'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_PRIVACY)'">'BOX_INFORMATION_PRIVACY'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONDITIONS)'">'BOX_INFORMATION_CONDITIONS'</a><br>' ..

                                        '<a href="'tep_href_link(FILENAME_CONTACT_US)'">'BOX_INFORMATION_CONTACT'</a>');..

Comment #20

'<a href="newfile.php" target="_blank"></a><br>' ..

Vger.

P.s. Don't forget that any new files have to be added to filenames.php.

This post has been edited by.

Vger.

: 19 October 2004, 16:34..

Comment #21


This question was taken from a support group/message board and re-posted here so others can learn from it.