cscomputers Posted October 7, 2005 Posted October 7, 2005 Hi I tried to remove the reviews section from our website because it isn't relevant to the type of business we have. I went to phpmyadmin on our web host site, then clicked open our database. once there I clicked the reviews data that was listed and then clicked Drop thinking this would delete all of the reviews section of our site. Instead it removed all access to our admin page so now I can upload new products or back anything up, can't do anything at all because all the listed functions are gone. What do i need to do to fix this and how do I remove parts of our website that are not needed or wanted? Thanks Jim O :blink:
Guest Posted October 8, 2005 Posted October 8, 2005 First of all, Ask yourself if you want ot really remove instead of just hidding it, because it will another payne when the need show up to put it back... Most of your module are put in as boxes that can be either turn on or off in the admin if you have the contrib install, or if not, just open the file catalog/includes/column_left.php (or right) and mark the box not needed with a comment mark - // before it. Now, if you want to remove I suggest you start sitting down for some hours, meaning that you need to remove the admin side of the module to be remove, right, left, physical file, boxes, and do the same on the catalog side. For not being able to access you info... Huuummmm ! Ok if OS2 is installed by your server apps, than you can trick the install by installing another instance of OS2 in a different database file, then go to PHP admin and back-up the table needed to restore it in the store database/table If you put it up manually, then just create another shop and do the same as above... Hope it helps... XMEDIA
tmgrood Posted October 8, 2005 Posted October 8, 2005 First of all, Ask yourself if you want ot really remove instead of just hidding it, because it will another payne when the need show up to put it back... Most of your module are put in as boxes that can be either turn on or off in the admin if you have the contrib install, or if not, just open the file catalog/includes/column_left.php (or right) and mark the box not needed with a comment mark - // before it. Now, if you want to remove I suggest you start sitting down for some hours, meaning that you need to remove the admin side of the module to be remove, right, left, physical file, boxes, and do the same on the catalog side. For not being able to access you info... Huuummmm ! Ok if OS2 is installed by your server apps, than you can trick the install by installing another instance of OS2 in a different database file, then go to PHP admin and back-up the table needed to restore it in the store database/table If you put it up manually, then just create another shop and do the same as above... Hope it helps... XMEDIA But does that always work, putting the // in front of something you want to hide? Ive just tried it to remove "top" from the header in my english.php file and it showed "header_title_top. How do I get rid of that "top" text from the header. I'm a victim of circumstance
Guest Posted October 8, 2005 Posted October 8, 2005 are you sure that you did it at the right spot... Normally it works as follow. A page is designed considering that it will be showing different language, so when you // in english.php you just told OSC that you did not have a name to that box. the language pages only identify what is the name of a certain box when required; example; the title of you prices box is 'OOO' when presented in english and 'UUU' in french. the pages english.php and french.php will only contain the box name in their own language as follow: define('PRICES_HEADING_TITLE', 'OOO'); So every time it must show this box title in english it will show OOO for it, and in the french.php file it will show the following; define('PRICES_HEADING_TITLE', 'UUU'); All of this only tells the program how certain boxes are called, not where to show them, that is exactly what happen in your case by // it, you indicated no entry for the box title that had to be shown, therfore it simply showed the default title which would be in our case: PICES_HEADING_TITLE. in any other file I can call that box name described in english or french.php, meaning that // display category name $info_box_contents = array(); $info_box_contents[] = array('text' => PICES_HEADING_TITLE); that would physically call the box title in their own respective language dependang on which language the user is in..... So you should not just REM ( // ) the title but mostly the whole call in probably, header.php or something like that .. Hope it helps! Ray
♥Vger Posted October 8, 2005 Posted October 8, 2005 Ive just tried it to remove "top" from the header in my english.php file and it showed "header_title_top The call to 'Top' is in includes/application_top.php and that's where you comment it out. Vger
Selene Posted October 11, 2005 Posted October 11, 2005 Hi guys, I'm trying to customize my store. I don't know PHP so am not sure how to go about some of the customizations. For instance... I'd like to get rid of the "Manufacture" box on the left. I see it in the column_left.php file... if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } So to "turn it off" would I simply do this? // if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } Or does the // need to be on every line? Thanks in advance. Selene
Recommended Posts
Archived
This topic is now archived and is closed to further replies.