mattw Posted January 24, 2006 Posted January 24, 2006 on the main page right above the products it says whats new here... id like to remove that and anything else it says like that underneath any of the product pages.. and also any of the pictures. thanks for anyhelp.
MoisesZaragoza Posted January 24, 2006 Posted January 24, 2006 Look fo a line that looks like define('HEADING_TITLE', 'What\'s New Here?'); under Include/languages/English.php at the end of the day the code will be good
mattw Posted January 25, 2006 Author Posted January 25, 2006 im looking for the part where it says whats new here.. under the new new product with 9 of them www.rolleast.com/catalog
phildemarco Posted January 25, 2006 Posted January 25, 2006 MoisesZaragoza I need to do the same thing once you locate the Php file what do you have to do to remove it? What changes have to be input? I am a total nubie nerd to this PHP stuff. Phil :unsure:
MoisesZaragoza Posted January 25, 2006 Posted January 25, 2006 MoisesZaragoza I need to do the same thing once you locate the Php file what do you have to do to remove it? What changes have to be input? I am a total nubie nerd to this PHP stuff. Phil :unsure: ok find this line define('HEADING_TITLE', 'What\'s New Here?' and change it to define('HEADING_TITLE', ' '// This will show nothing or define('HEADING_TITLE', ' NEW TEXT '// This will show new text at the end of the day the code will be good
ryanm527 Posted January 25, 2006 Posted January 25, 2006 I would like to remove the product listing on the mail page and replace it with my own html ... I believe the file that needs editing is index.php - is that correct? What part do I need to replace? Thanks!
MoisesZaragoza Posted January 25, 2006 Posted January 25, 2006 Is your site done in multiple anguajes or just one? at the end of the day the code will be good
MoisesZaragoza Posted January 25, 2006 Posted January 25, 2006 if it's just 1 I can tell you were to add your stuff and you will be working on Index.php otherwise It's a bit harder at the end of the day the code will be good
ryanm527 Posted January 25, 2006 Posted January 25, 2006 It's only one lanaguage right now. Although at some point I'll likely add a second.... but not yet.
mattw Posted January 25, 2006 Author Posted January 25, 2006 how do i takeout the picture. its broken cause i removed the picture and also i dont want the welcome back bullshit. thanks for any help.
MoisesZaragoza Posted January 26, 2006 Posted January 26, 2006 What you have to do is go to the Include/modules/new_products.php what ever you do there will show up on the main Index page at the end of the day the code will be good
ryanm527 Posted January 26, 2006 Posted January 26, 2006 Hey thanks! It is coming up but there are a couple unexpected items as a result of modifying the new products file.... 1- there is a "TEXT_MAIN" that is showing up between the statement about "Welcome Guest..." and the html I inserted into the new items php file. 2- The stuff I put into the new items php comes up on every category listing page. 3- I would like to get rid of the Part where it says "welcome guest...." and "what's new here". I know where to change the text but i don't want it to leave a gap there. Anyone offer some assistance on any of these? Thank you!
mattw Posted January 27, 2006 Author Posted January 27, 2006 where is the code to get rid of all the default os commerce pictures? thanks.
wrangler Posted January 27, 2006 Posted January 27, 2006 Hey thanks! It is coming up but there are a couple unexpected items as a result of modifying the new products file.... 1- there is a "TEXT_MAIN" that is showing up between the statement about "Welcome Guest..." and the html I inserted into the new items php file. 2- The stuff I put into the new items php comes up on every category listing page. 3- I would like to get rid of the Part where it says "welcome guest...." and "what's new here". I know where to change the text but i don't want it to leave a gap there. Anyone offer some assistance on any of these? Thank you! Hi 1. Under /includes/languages/english edit the index.php file and add this line define('TEXT_MAIN', ''); If this line already exists, replace it with the above. 2. Looks like you will have to categorise your products by the manufacturer or any other way you wish, and not put them all under the same tree 3. Under /includes/languages/ edit the english.php file and find the line define('TEXT_GREETING_PERSONAL', 'blahblahblah'); remove the blahblahblah text and do the same with the 2 following attributes (define('TEXT_GREETING_PERSONAL_RELOGON and define('TEXT_GREETING_GUEST')) set them to '' if you wish to remove them as well and you're done.
Wendy James Posted January 27, 2006 Posted January 27, 2006 ok find this line define('HEADING_TITLE', 'What\'s New Here?' and change it to define('HEADING_TITLE', ' '// This will show nothing or define('HEADING_TITLE', ' NEW TEXT '// This will show new text Incase no one noticed the code above would cause problems because it is missing ); I thought I should point it out. define('HEADING_TITLE', 'What\'s New Here?'); and change it to define('HEADING_TITLE', ' ');// This will show nothing or define('HEADING_TITLE', ' NEW TEXT ');// This will show new text Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
mattw Posted January 27, 2006 Author Posted January 27, 2006 yeah i caught that to. wendy do you know how to take away all the whats new here in the m ain page and any other thing that says look what we have here along with the default oscommerce images beside them www.rolleast.com/catalog/catalog youll see what i mean i want my products to be right up align with my infoboxes.. thanks.
Wendy James Posted January 27, 2006 Posted January 27, 2006 You will need to edit all of your main pages inside your stores main folder and remove the code that calls for the text and image. It is different on some of the pages but it should look something like <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_account.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> it is located near the top of the pages below <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
mattw Posted January 27, 2006 Author Posted January 27, 2006 can i wipe that whole part out of each page?
mattw Posted January 27, 2006 Author Posted January 27, 2006 i tried this and i still cant get of whats new here and that little picture beside it. http://www.rolleast.com/catalog/catalog
Iwant2Lrn Posted January 28, 2006 Posted January 28, 2006 top. Not sure what yours looks like but I modified all my pages like this. <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?><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_cart.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> Hope it works for you!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.