chrometweaks.org

Do http://www.iPage.com/ put adverts on your site if you gea domain off them?

Click Here To View All Answers...


First question I got is Do http://www.iPage.com/ put adverts on your site if you gea domain off them? Thanks in advance for any response. Another question I got... Hi all, well when I add categories, I keep getting these N's for each categorie I add..

As you can see on my url :.

Http://www.gsmcorner...ex.php?cPath=44.

Anyidea which file I need to edit to get rid of these ? .

Thanks.

Tom..

Comments (68)

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

Comment #1

Hi, yeah I had to use it once, anyidea which file I will need to reupload ?

Comment #2

Probably only files under includes\languages that you changed. Start with index.php under that folder...

Comment #3

Hi 241, I checked the index file and I found a few n's, heres the code.

While ($categories = tep_db_fetch_array($categories_query)) {.

$rows++;.

$cPath_new = tep_get_path($categories['categories_id']);.

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW)'%';.

Echo ' <td align="center" class="smallText" width="'$width'" valign="top"><a href="'tep_href_link(FILENAME_DEFAULT, $cPath_new)'">'tep_image(DIR_WS_IMAGES$categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT)'<br>'$categories['categories_name']'</a></td>'"n";.

If ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {.

Echo ' </tr>'"n";.

Echo ' <tr>'"n";.

}.

}.

And.

While ($filterlist = tep_db_fetch_array($filterlist_query)) {.

$options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);.

}.

Echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');.

Echo '</form></td>'"n";.

}.

}.

Is that normal ? .

Checked quite a few other files but cant find anyother n's ??.

Please help :-\.

Thanks.

Tom..

Comment #4

Sorted now guys, looked over that code in the index file and missed 1 of them n's...

Thanks for all your help.

Tom..

Comment #5

Yes as my post states there are 4 instances of "n"; that should be "\n"; on the catalog/index.php file..

Comment #6

Hi all, well when I add categories, I keep getting these N's for each categorie I add..

As you can see on my url :.

Http://www.gsmcorner...ex.php?cPath=44.

Anyidea which file I need to edit to get rid of these ? .

Thanks.

Tom..

Comment #7

I'll bet you're using the built-in file manager to upload the files. Don't do that - it corrupts files that contain \n..

Use a regular FTP client instead...

Comment #8


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