chrometweaks.org

How can I get my iPage site on a search engine?

Click Here To View All Answers...


First of all How can I get my iPage site on a search engine? Thanks in advance for any answer or 2. My other question... Hello,.

I am trying to reposition an infobox of the search box inside my header but I cannot make one that does not have th original border and backround color of the search box..

I got read of the heading part but I cannot seem to get read o these 2 things: the border and the background color...

What do I need to change?.

These is my code inside the td of the header where I want to position it.

<td width="291" height="65">.

<?php.

$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);.

?>.

<br>.

</td>.

Many thanks..

Comments (4)

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

Comment #1

Yes it does. Thank you veeeery much..

P.S. If it's not too much can you explain me what you did..i don't seem to figure it out...

Thanks for all the help...

Comment #2

The $info_box_contents parts define the box that you were trying to get rid of. I just took that part out and turned it into a PHP echo statement...

Comment #3

Yes but you see.. after I pleced the code that you gave me it worked only that the redirecting to the advenced searched had a href of the <?php echo ..?> that you wrote..

I changed a little the code that you gave me to this:.

<td width="291" height="65" align="center">.

<strong>Search</strong>.

<?php echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') ;?>.

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

</td>.

And aparently should work but now on every page I try to enter besides index.php (after I go to index an click anything to navigate thru the site) I get this error:.

Fatal error: Call to a member function add_current_page() on a non-object in /home/bestdisc/public_html/catalog/includes/application_top.php on line 312.

I have no idea if what I changed in the header should affect the application top.php, what shouls I do?.

Thanks..

Comment #4

I did a search for that error and the solution was found here.

On a simple base just replace this in the application_top.php:.

Replace.

If (tep_session_is_registered('navigation')) {.

With.

If (tep_session_is_registered('navigation') && is_object($navigation)) {.

Many thanks to the replyers on this forum. You ROCK.

Thanks.

P.S. My guess is that my iPage hosting company did an php upgrade last night and that was the problem.....

Comment #5


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