chrometweaks.org

How do I add stuff to my website on iPage.com?

Click Here To View All Answers...


First question I have is How do I add stuff to my website on iPage.com? Hoping for any answer. Another question I got... I want to put the searh box in the header like this site.

Http://www.e-network...log/default.php.

I now the code is in the searh box I am novice.

Thanks for your help..

Comments (68)

Good question... I dunno what is the answer. I'll do some investigation and get back to you if I discover an decent answer. You should email the people at iPage as they probably can help you..

Comment #1

When I paste the code in the header file, I have a rectangle around the search engine. (comes from the stylesheet.css). if I modify the stylesheet to move this rectangle all my box will be modify. I want to delete this rectangle and keep original design of all my boxes..

Thanks..

Comment #2

You need to comment out the info_box stuff.

Try this:.

<td align="center">.

<?php echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get')tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: '(BOX_WIDTH-30)'px"')'&nbsp;'tep_hide_session_id()tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH)'<br>'BOX_SEARCH_TEXT'<br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'"><b>'BOX_SEARCH_ADVANCED_SEARCH'</b></a>';?>.

</td>.

I've got to get some sleep. Good Luck,.

Tim..

Comment #3

Or this.

<?php.

$hide = tep_hide_session_id();.

Echo '<form name="quick_find" method="get" action="'tep_href_link (FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false)'">';.

Echo $hide'<input type="text" name="keywords" onFocus=this.value="" size="20" maxlength="30" value="'BOX_SEARCH_TEXT'">&nbsp;''<input type="submit" value="Go"><br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'">'BOX_SEARCH_ADVANCED_SEARCHtep_draw_hidden_field('search_in_description', '1')'</a>';.

Echo '</form>';.

?>..

Comment #4

Thanks for your help now it's working.

I want to do the same things with the manufacturers box..

Is it possible ?

Comment #5

Everthing is possible..

All it takes is time, research and application..

You should be able to follow the basic procedure as with the search box..

Tim..

Comment #6

I want to put the searh box in the header like this site.

Http://www.e-network...log/default.php.

I now the code is in the searh box I am novice.

Thanks for your help..

Comment #7

Well as a non-programmer here is a method I tried real quick..

BACK UP YOUR HEADER FILE FIRST.

Go to:.

Catalog/includes/boxes/search.php.

Copy everything from <tr> to </tr> and then open:.

Catalog/includes/header.php.

And paste that code into the header file at the location you want. I would comment out the line that has:.

Tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT.

And paste in the code leaving off the <tr> tags. You will be replacing the graphics on the right side of the header with your search box..

You will need to comment out a couple lines to finish up and then maybe do a little monkeying around to get exactly what you want but that will definately put a search box in your header..

<tr>.

<td>.

<?php.

// $info_box_contents = array();.

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

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

// $info_box_contents = array();.

$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),.

'align' => 'center',.

'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: '(BOX_WIDTH-30)'px"')'&nbsp;'tep_hide_session_id()tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH)'<br>'BOX_SEARCH_TEXT'<br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'"><b>'BOX_SEARCH_ADVANCED_SEARCH'</b></a>');.

New infoBox($info_box_contents);.

?>.

</td>.

</tr>.

That's about the best I can do on short notice. I often spend days on small stuff like this. Maybe someone else may have a better way..

Tim..

Comment #8


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