chrometweaks.org

Why isn't my CSS applying on iPage.com?

Click Here To View All Answers...


My question is Why isn't my CSS applying on iPage.com? Hoping for any response. Second question of mine... Hi,.

I'm in the process of finishing my shop and I'm trying to edit the Shipping, Conditions & Privacy pages using the Admin tool, however, I cant see where I can type my own message, the text which appears on the page currently (Put here your Conditions of Use information.) etc is not in the code from what I can see..

Will I be able to past HTML straignt into the code using the admin tool? Where do I paste it?.

Here is the standard un-edited code for one of the pages in question.....

<?php.

/*.

$Id: conditions.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_CONDITIONS);.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));.

?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<title><?php echo TITLE; ?></title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! header //>.

<?php require(DIR_WS_INCLUDES'header.php'); ?>.

<! header_eof //>.

<! body //>.

<table border="0" width="100%" cellspacing="3" cellpadding="3">.

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

<?php require(DIR_WS_INCLUDES'column_left.php'); ?>.

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

<td align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

<! body_text_eof //>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! right_navigation //>.

<?php require(DIR_WS_INCLUDES'column_right.php'); ?>.

<! right_navigation_eof //>.

</table></td>.

</tr>.

</table>.

<! body_eof //>.

<! footer //>.

<?php require(DIR_WS_INCLUDES'footer.php'); ?>.

<! footer_eof //>.

<br>.

</body>.

</html>.

<?php require(DIR_WS_INCLUDES'application_bottom.php'); ?>.

Thanks again for all your help so far!!.

Thanks,.

James..

Comments (68)

Hmm... I need to find out myself. I don't know what is the answer to your question. I'll do some investigation and get back to you if I got an answer. You should email the people at iPage as they probably know..

Comment #1

Err.

Try the catalog/includes/languages/english/conditions.php.

That file has this line.

Define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');.

This is the file you are looking for and yes you can place html between the ''..

Comment #2

Make sure that you place a backslash (\) in front of any quotes or parentheses you put in your text..

For example....

Define('TEXT_INFORMATION', 'We\'d be in trouble without this little backslash.');..

Comment #3

It is generally best to use an ftp program such as ws_ftp to download the file you wish to edit as the online file manager can cause issues when you try to edit online one such issue is the removal of backslashes from the code which will cause a parse error..

Comment #4

Thanks,.

I've resolved this problem by using HTML pages to generate the content, thanks for all your help!!..

Comment #5

Hi all,.

This is a great feature which I use..

I just wanted to add that it would be nice to see this mod use one table instead of needing a table for each individual page..

Like one tabled called "information" instead of info_privacy, info_conditions, etc...

Comment #6

Hi,.

I'm in the process of finishing my shop and I'm trying to edit the Shipping, Conditions & Privacy pages using the Admin tool, however, I cant see where I can type my own message, the text which appears on the page currently (Put here your Conditions of Use information.) etc is not in the code from what I can see..

Will I be able to past HTML straignt into the code using the admin tool? Where do I paste it?.

Here is the standard un-edited code for one of the pages in question.....

<?php.

/*.

$Id: conditions.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_CONDITIONS);.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));.

?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php echo HTML_PARAMS; ?>>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<title><?php echo TITLE; ?></title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! header //>.

<?php require(DIR_WS_INCLUDES'header.php'); ?>.

<! header_eof //>.

<! body //>.

<table border="0" width="100%" cellspacing="3" cellpadding="3">.

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

<?php require(DIR_WS_INCLUDES'column_left.php'); ?>.

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

<td align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

<! body_text_eof //>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! right_navigation //>.

<?php require(DIR_WS_INCLUDES'column_right.php'); ?>.

<! right_navigation_eof //>.

</table></td>.

</tr>.

</table>.

<! body_eof //>.

<! footer //>.

<?php require(DIR_WS_INCLUDES'footer.php'); ?>.

<! footer_eof //>.

<br>.

</body>.

</html>.

<?php require(DIR_WS_INCLUDES'application_bottom.php'); ?>.

Thanks again for all your help so far!!.

Thanks,.

James..

Comment #7

When you see this line.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

That is where the file calls for your content. This is usually found in your includes/languages/english (or what lang you are using ) folder in a file of the same name. So in this case you would go to the conditions.php file in that folder and put in your content there. You should see the following lines.

Define('NAVBAR_TITLE', 'Conditions of Use');.

Define('HEADING_TITLE', 'Conditions of Use');.

Define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');.

Just replace the info between the ' ' and you are ready to go...

Comment #8


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