Guest Posted April 9, 2007 Posted April 9, 2007 I have no clue what I did, but I was changing the home page text and now the alignment is all messed up... The code now looks like this: <b>Online Documentation</b><br><br>IIt is important to secure the Administration Tool as there is currently no security implementation available'); Can some one paste the fix to this, or provide me with the code to fix the aligment? Thank you.
kirikintha Posted April 9, 2007 Posted April 9, 2007 Did you back up your before you modified it? That would be the fastest way, cause it looks like you've broken the way the table nests. Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 Nope, I was just changing text so I did not think I could butcher the alignment. I copied the text i was changing but when I messed it up and went back and pasted it was from the last section, which is why it says the security stuff there. Always back up your work!!!!! :'(
kirikintha Posted April 9, 2007 Posted April 9, 2007 Alright - so we have to go in order - which text where you modifying? In one of the include files? or just the index? Can you also post the index code? we'll start there and move forward! Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 The file I was editing: catalog/includes/languages/english/index.php define('TEXT_MAIN', 'Welcome to Stray Sports new online shop.<b>This shop is not open, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.</b><br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>April 1, 2007</b><br>Stray Sports will no longer be offering custom snowboards. As we have said in the past, we plan to carry a full line of our snowboards and do not have the time to make customs. We may offer them again, but not in the near future.</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>January 14, 2007</b><br><br>test.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Securing The Administration Tool</b><br><br>test.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</td><td class="main" valign="top"><b>Online Documentation</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); The exact area where it messed up was: Online Documentation</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available'); My only thoughts is I removed something at the end of that line that killed the alignment.
kirikintha Posted April 9, 2007 Posted April 9, 2007 ok try this : Welcome to Stray Sports new online shop.<b>This shop is not open, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.</b><br> <br> <table border="0" width="100%" cellspacing="5" cellpadding="2"> <tr> <td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td> <td class="main" valign="top"><b>April 1, 2007</b><br> Stray Sports will no longer be offering custom snowboards. As we have said in the past, we plan to carry a full line of our snowboards and do not have the time to make customs. We may offer them again, but not in the near future.</td> </tr> <td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td> <td class="main" valign="top"><b>January 14, 2007</b><br> <br> test.</td> </tr><tr> <td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td> <td class="main" valign="top"><b>Securing The Administration Tool</b><br> <br> test.</td> </tr> <tr> <td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</td> <td class="main" valign="top"><b>Online Documentation</b><br> <br> It is important to secure the Administration Tool as there is currently no security implementation available </td> </tr> </table> I think the table you made is broken - see if that helps first - OSC likes to nest tables, so if your not really careful (I had a contribute that was all messed up in how it made the tables) they break super easy. Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 I get so mad when it is so simple for others to fix my OH SO MASSIVE WORLD ENDING PROBLEMS. Thank you for the help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.