stressed mark Posted January 18, 2005 Posted January 18, 2005 Hi I have followed the direction given on a post to remove the whats new box on the front page .. "Either Comment out this line in public_htm/index.php <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> " I have followed these steps and get the following error msg .. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/mogsey/public_html/totallybear/includes/languages/english/index.php on line 33 I have counted down to line 33 but i cannot find a problem?? Any ideas?? many thanks mark
boxtel Posted January 18, 2005 Posted January 18, 2005 Hi I have followed the direction given on a post to remove the whats new box on the front page .. "Either Comment out this line in public_htm/index.php <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> " I have followed these steps and get the following error msg .. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/mogsey/public_html/totallybear/includes/languages/english/index.php on line 33 I have counted down to line 33 but i cannot find a problem?? Any ideas?? many thanks mark <{POST_SNAPBACK}> edited your language file as well ? Treasurer MFC
Guest Posted January 18, 2005 Posted January 18, 2005 this: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> like this: <?php /* <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> */ ?> and then you dont have to edit your language file
stressed mark Posted January 18, 2005 Author Posted January 18, 2005 Not to sure?? I have only altered the index.php found in the languages/english section !!
stressed mark Posted January 18, 2005 Author Posted January 18, 2005 this:<tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> like this: <?php /* <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> */ ?> and then you dont have to edit your language file <{POST_SNAPBACK}> Hi I tried that and when i saved it i got this error instead ... Parse error: parse error, unexpected '<' in /home/mogsey/public_html/totallybear/includes/languages/english/index.php on line 14 so i changed it back and im still getting the original error :blink: :( im getting really confused now !!!! please help
Guest Posted January 18, 2005 Posted January 18, 2005 copy and paste the 10 lines before and after your error
stressed mark Posted January 18, 2005 Author Posted January 18, 2005 copy and paste the 10 lines before and after your error <{POST_SNAPBACK}> Hi thankyou for all your help it is appreciated!!! i got that confused i have reset the entire index.php page !! i think i understand now where i was going wrong ... i was altering the file was "define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');" You were asking myself to change was " <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> so i think i was in an incorrect index.php file!!! could anyone detail how to remove the new products box or post a link to a page where it describes how to??? once again thankyou everyone very confused mark
stressed mark Posted January 18, 2005 Author Posted January 18, 2005 I cannot find any trace of the text ...(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS) in my index.php??? i have navigated to this index.php by going ... public_html/totallybear//includes/languages/english where do i find the index file that contains DIR_WS_MODULES . FILENAME_NEW_PRODUCTS) many thanks mark
Recommended Posts
Archived
This topic is now archived and is closed to further replies.