241 Posted August 17, 2004 Author Share Posted August 17, 2004 To make images clickable too:open catalog>includes>modules>featured_products.php Find a style you are going to use or add it to all styles, in this example whilst logged into admin in the featured settings i have chose: Choose a featured products set layout - 3 Choose a featured products set style - 4 Now in featured products.php in this example line 182 ? ? $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br><b>' . TABLE_HEADING_PRICE . ': <font color=red>' . $products_price . '</b></font color><br><a href="' . Add <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"> So it looks like this ? ? $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br><b>' . TABLE_HEADING_PRICE . ': <font color=red>' . $products_price . '</b></font color><br><a href="' . Hope this helps someone ;) Dont forget to close your open tag <a href with the tag </a> Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
martinmacca Posted August 17, 2004 Share Posted August 17, 2004 Ah ha forgot about that :lol: One thing thats bugging me is moving the buy it now button :angry: At the moment it looks like this And im trying to get it to look like this again on line 182 $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br><b>' . TABLE_HEADING_PRICE . ': <font color=red>' . $products_price . '</b></font color><br><a href="' . Ive tried putting the align in at the end before the start of the link but the button moves everywhere except to the right as in the 2nd pic :( E.G. $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br><b>' . TABLE_HEADING_PRICE . ': <font color=red>' . $products_price . '</b></font color><br><align="right"><a href="' . Any ideas? Quote Link to comment Share on other sites More sharing options...
sinryder Posted August 17, 2004 Share Posted August 17, 2004 hello steve i am really lost , i have installed this on a new osc ms2 store and i dont see any thing changed this is the site my site in admin pannel under featured sets i tried changing the settings but no change appears on the index page. can ya please tell me what am i doing wrong. thankyou Quote Link to comment Share on other sites More sharing options...
241 Posted August 18, 2004 Author Share Posted August 18, 2004 hello steve i am really lost , i have installed this on a new osc ms2 store and i dont see any thing changed this is the site my site in admin pannel under featured sets i tried changing the settings but no change appears on the index page. can ya please tell me what am i doing wrong. thankyou It looks like you may have missed the instructions from here Instructions Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted August 18, 2004 Author Share Posted August 18, 2004 (edited) Ah ha forgot about that :lol: One thing thats bugging me is moving the buy it now button :angry: At the moment it looks like this And im trying to get it to look like this again on line 182 ? ?? $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br><b>' . TABLE_HEADING_PRICE . ': <font color=red>' . $products_price . '</b></font color><br><a href="' . Ive tried putting the align in at the end before the start of the link but the button moves everywhere except to the right as in the 2nd pic :( E.G. ? ?? $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br><b>' . TABLE_HEADING_PRICE . ': <font color=red>' . $products_price . '</b></font color><br><align="right"><a href="' . Any ideas? Is this any closer to what you want. <?php if ((FEATURED_SET == '3') && (FEATURED_SET_STYLE == '4')) { $info_box_contents = array(); $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="' . (SMALL_IMAGE_WIDTH + 25) . '" align="left" valign="top" class="main">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br>' . TABLE_HEADING_PRICE . ': ' . $products_price . '</td><td align="left" valign="top" class="main"><div align="left"><b><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"><u>' . $featured_products_array[$i]['name'] . '</u></a></b></div>' . $featured_products_array[$i]['shortdescription'] . ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"><font color="#FF0000">' . TEXT_MORE_INFO . '</font></a> <br><div align="right"><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a></div></td></tr></table>'); new infoBox($info_box_contents); echo '<IMG SRC="images/info_box_' . FEATURED_SET_STYLE_SHADOW . '_shadow.gif" WIDTH=100% HEIGHT=13>'; } ?> Edited August 18, 2004 by 241 Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
martinmacca Posted August 18, 2004 Share Posted August 18, 2004 Cheers Steve thats sorted it ;) Quote Link to comment Share on other sites More sharing options...
241 Posted August 18, 2004 Author Share Posted August 18, 2004 Cheers Steve thats sorted it ;) are you sure that you don't need the button lowered. :D Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
martinmacca Posted August 22, 2004 Share Posted August 22, 2004 Cheers Steve thats sorted it ;) are you sure that you don't need the button lowered. :D No the button looks fine where it is lol Ive just noticed that in admin>catalog>categories/products when i try to update or insert a categories image it wont save. No errors it at all - it behaves like it should when i press save except the image hasnt updated. Not a problem i thought, i'll just have a browse through the instructions for admin/categories.php, em theres ALOT of changes and dont no where to start. Its definitely that file as ive tried a backup file which is fine. Any idea which part of the change in that file might have something to do with the image update so i can compare my modded file to my backup Quote Link to comment Share on other sites More sharing options...
241 Posted August 22, 2004 Author Share Posted August 22, 2004 Ive just noticed that in admin>catalog>categories/productswhen i try to update or insert a categories image it wont save. If your admin/categories.php file has not been modified prior to install of the Wolfen Featured Sets, and thus has only been modified by the contribution, then I would suggest Downloading the replacement files pack and using the admin/categories.php file from there. Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted August 23, 2004 Share Posted August 23, 2004 (edited) Hi Steve, Excellent contribution you got here. I was trying out different settings to find the optimal combination and had some strange results when changing styles: It appears that in Manufacturs products The layout #3 (showing description) is not showing the X first words of the description when style 2 and 4 (shadowbox) is used. It only shows the description when there is no short description maintained using style 1 and 3. Is there a particular reason it's done this way, or just an oversight ? Edited August 23, 2004 by bruyndoncx Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
241 Posted August 23, 2004 Author Share Posted August 23, 2004 Hi Steve,Excellent contribution you got here. I was trying out different settings to find the optimal combination and had some strange results when changing styles: It appears that in Manufacturs products The layout #3 (showing description) is not showing the X first words of the description when style 2 and 4 (shadowbox) is used. It only shows the description when there is no short description maintained using style 1 and 3. Is there a particular reason it's done this way, or just an oversight ? Yes it is due to the codes used for the layouts and is not an oversight, due to the coding certain layouts require there to be a short description entered for the products in order to show the text. If I used the description coding from the other layout then only one word would show. It is not when there is no short description but rather when there is a short description as the other layouts take the description from the main or long description then strip the description down by the max word amount. It is this coding that does not work in certain layouts. Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted August 23, 2004 Author Share Posted August 23, 2004 Ive just noticed that in admin>catalog>categories/productswhen i try to update or insert a categories image it wont save. I have checked this function out and there is no issue, try my earlier post resolve of using the replacement pack file. Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
martinmacca Posted August 23, 2004 Share Posted August 23, 2004 Ive just noticed that in admin>catalog>categories/productswhen i try to update or insert a categories image it wont save. I have checked this function out and there is no issue, try my earlier post resolve of using the replacement pack file. Sorry My Fault! My Admin>categories.php file was modded with a previous mod-think it might be HTML for product descriptions? Found the error for my case was the last bit of the install file *** locate code: **** * ******************** $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_NAME . $category_inputs_string); $contents[] = array('text' => '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $cInfo->categories_image, $cInfo->categories_name) . '<br>' . DIR_WS_CATALOG_IMAGES . '<br><b>' . $cInfo->categories_image . '</b>'); $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image')); $contents[] = array('text' => '<br>' . TEXT_EDIT_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"')); $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; Replace code with $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_NAME . $category_inputs_string); $contents[] = array('text' => '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $cInfo->categories_image, $cInfo->categories_name) . '<br>' . DIR_WS_CATALOG_IMAGES . '<br><b>' . $cInfo->categories_image . '</b>'); $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image')); $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_FEATURED . '<br>' . tep_draw_radio_field('categories_featured', '1', $in_fc_status) . ' ' . TEXT_CATEGORIES_YES . ' ' . tep_draw_radio_field('categories_featured', '0', $out_fc_status) . ' ' . TEXT_CATEGORIES_NO); $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_FEATURED_DATE . '<small>(YYYY-MM-DD)</small><br><script language="javascript">CategoriesEditFeaturedUntil.writeControl(); CategoriesEditFeaturedUntil.dateFormat="yyyy-MM-dd";</script>'); $contents[] = array('text' => '<br>' . TEXT_EDIT_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"')); $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; I had to change mine to ents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_NAME . $category_inputs_string); $contents[] = array('text' => '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $cInfo->categories_image, $cInfo->categories_name) . '<br>' . DIR_WS_CATALOG_IMAGES . '<br><b>' . $cInfo->categories_image . '</b>'); if (HTML_AREA_WYSIWYG_DISABLE == 'Disable') { $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image')); }else{ $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_textarea_field('categories_image', 'soft', '30', '1', $cInfo->categories_image)); } $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_FEATURED . '<br>' . tep_draw_radio_field('categories_featured', '1', $in_fc_status) . ' ' . TEXT_CATEGORIES_YES . ' ' . tep_draw_radio_field('categories_featured', '0', $out_fc_status) . ' ' . TEXT_CATEGORIES_NO); $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_FEATURED_DATE . '<small>(YYYY-MM-DD)</small><br><script language="javascript">CategoriesEditFeaturedUntil.writeControl(); CategoriesEditFeaturedUntil.dateFormat="yyyy-MM-dd";</script>'); $contents[] = array('text' => '<br>' . TEXT_EDIT_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"')); $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); Shouldnt have rushed the install & i would have noticed the change Cheers for the help steve ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted August 23, 2004 Share Posted August 23, 2004 Does anyone know of a quick way to edit all the "short" descriptions? I have over 1650 products listed & I was hoping that there's a quick way that I can edit these without having to go in each and everyone of them. Quote Link to comment Share on other sites More sharing options...
241 Posted August 23, 2004 Author Share Posted August 23, 2004 I had to change mine to ents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_NAME . $category_inputs_string);? ? ? ? $contents[] = array('text' => '<br>' . tep_image(DIR_WS_CATALOG_IMAGES . $cInfo->categories_image, $cInfo->categories_name) . '<br>' . DIR_WS_CATALOG_IMAGES . '<br><b>' . $cInfo->categories_image . '</b>'); ? ? ? ? if (HTML_AREA_WYSIWYG_DISABLE == 'Disable') { ? $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image')); ? ? ? ? ? }else{ ? ? ? ? ? $contents[] = array('text' => '<br>' . TEXT_EDIT_CATEGORIES_IMAGE . '<br>' . tep_draw_textarea_field('categories_image', 'soft', '30', '1', $cInfo->categories_image)); ? ? ? ? } $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_FEATURED . '<br>' . tep_draw_radio_field('categories_featured', '1', $in_fc_status) . ' ' . TEXT_CATEGORIES_YES . ' ' . tep_draw_radio_field('categories_featured', '0', $out_fc_status) . ' ' . TEXT_CATEGORIES_NO); $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_FEATURED_DATE . '<small>(YYYY-MM-DD)</small><br><script language="javascript">CategoriesEditFeaturedUntil.writeControl(); CategoriesEditFeaturedUntil.dateFormat="yyyy-MM-dd";</script>'); ? ? ? ? $contents[] = array('text' => '<br>' . TEXT_EDIT_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"')); ? ? ? ? $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); Ok did not know that you had the WYSIWYG editor in there, so would not have been able to help, without that little bit of knowledge. B) Glad you got it sorted out :D Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted August 23, 2004 Author Share Posted August 23, 2004 Does anyone know of a quick way to edit all the "short" descriptions? I have over 1650 products listed & I was hoping that there's a quick way that I can edit these without having to go in each and everyone of them. easypopulate Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Sanguinarius Posted August 27, 2004 Share Posted August 27, 2004 Help. I'm using OSC ms2 and I installed Wolfen Featured Sets. My osc is already has multiple mods, including one for head , title and desc. meta tags which may be interfering but I don't know. I'm getting a parse error when I click on "Catalog" in the admin section: Parse error: parse error in /home/virtual/site24/fst/var/www/html/store/admin/categories.php on line 141 categories line 141 says: case 'delete_category_confirm': The scetion of text around that reads: tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $categories_id)); break; case 'delete_category_confirm': if (isset($HTTP_POST_VARS['categories_id'])) { $categories_id = tep_db_prepare_input($HTTP_POST_VARS['categories_id']); ...if that helps any. I installed it, I thought, very carefully, and then I went back over my install with the instructions very carefully again, but I still can't know where I did wrong. Please help? I really want to use this mod. It seems great. Quote --Sanguinarius If you're reading this, I'm probably pulling my hair out. ;> *waiting for osCommerce 3.0 alpha 6* (I'm after the coupons.) Link to comment Share on other sites More sharing options...
241 Posted August 27, 2004 Author Share Posted August 27, 2004 Help. I'm using OSC ms2 and I installed Wolfen Featured Sets. My osc is already has multiple mods, including one for head , title and desc. meta tags which may be interfering but I don't know. I'm getting a parse error when I click on "Catalog" in the admin section: Parse error: parse error in /home/virtual/site24/fst/var/www/html/store/admin/categories.php on line 141 categories line 141 says: ? ? ? case 'delete_category_confirm': The scetion of text around that reads: ? ? ? ? tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $categories_id));? ? ? ? break; ? ? ? case 'delete_category_confirm': ? ? ? ? if (isset($HTTP_POST_VARS['categories_id'])) { ? ? ? ? ? $categories_id = tep_db_prepare_input($HTTP_POST_VARS['categories_id']); ...if that helps any. I installed it, I thought, very carefully, and then I went back over my install with the instructions very carefully again, but I still can't know where I did wrong. Please help? I really want to use this mod. It seems great. I also have this contribution installed in a setup with many modifications including the meta tags. The section of code you refer to does not to my knowledge get touched when changing the codes. As I do not know what your code looks like, I would be just guessing as to where or what is wrong in the code. The section of code that you have posted matches to a default code in a standard admin/categories.php prior to and after installing this contribution. I would suggest downloading the replacement files pack and using beyond compare to compare the replacement files pack admin/categories.php to your own admin/categories.php prior to install of the contribution. Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Lori2 Posted August 27, 2004 Share Posted August 27, 2004 hello, I've installed wolfen featured sets and all seem to work fine. I sell books and I would like: 1. to delete the manufacturer image and to leave only the name of author 2. put the manufacturer name (author) in the box of product or, at least, near the related product Is it possible? Thanks in advance and thanks for the excellent contribution. Lory Quote Link to comment Share on other sites More sharing options...
241 Posted August 27, 2004 Author Share Posted August 27, 2004 (edited) hello, I've installed wolfen featured sets and all seem to work fine. I sell books and I would like: 1. to delete the manufacturer image and to leave only the name of author 2. put the manufacturer name (author) in the box of product or, at least, near the related product Is it possible? Thanks in advance and thanks for the excellent contribution. Lory most things are possible with a code change. is this for the featured manufacturers or featured manufacturer with products. do you require the change to be across all layouts and styles. Hopefully the next release will be a big improvement on the code and give even more design flex for the admin Edited August 27, 2004 by 241 Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Sanguinarius Posted August 28, 2004 Share Posted August 28, 2004 (edited) Since I only had the Header Tags Controller v2.3.2 mod installed in admin/ctegories.php, I downloaded and used the copy of admin/categories.php from the mod for the virgin install of Wolfen Featured Sets, and the reinstalled the Header Tags control changes in THAT copy. I uploaded it, and tried again. This time, when I click on "Catalog" from the Admin area, I get: Parse error: parse error in /home/virtual/site24/fst/var/www/html/store/admin/categories.php on line 296 The chunk of code follows, with the line 296 bolded: $sql_data_array = array('products_name' => tep_db_prepare_input($HTTP_POST_VARS['products_name'][$language_id]), 'products_short' => tep_db_prepare_input($HTTP_POST_VARS['products_short'][$language_id]), 'products_description' => tep_db_prepare_input($HTTP_POST_VARS['products_description'][$language_id]), 'products_head_title_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_title_tag'][$language_id]), 'products_head_desc_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_desc_tag'][$language_id]), 'products_head_keywords_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id])), 'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id])); So I figure the code from the Header Tags Controller is the problem. I looked for the , vs. ; but it is a , and that's the only think I could think to look for. Do I need to change the order that they are listed in, maybe? If so, to what? ===== Edit: Aha! It's amazing what seeing what you wrote in bold type will do... I saw the extra ) that was at the end of the last line, but not on the their lines, except for the second to the last one. I changed it, reuploaded and I can get to my catalog now. *Sangi hopes everything works peachy now* :) Edited August 28, 2004 by Sanguinarius Quote --Sanguinarius If you're reading this, I'm probably pulling my hair out. ;> *waiting for osCommerce 3.0 alpha 6* (I'm after the coupons.) Link to comment Share on other sites More sharing options...
Sanguinarius Posted August 28, 2004 Share Posted August 28, 2004 Everything seems to be functioning correctly, but I have a matter of design that I can't figure out. My category gifs are squished into a 100x100 px space when I activate to display a featured category. I can't find the code or html that is squishing them. What do I need to change? I'd like the graphics to be their natural sizes (I have larger graphic for the main categories and smaller sub-category graphics, btw). I'd like it to display the graphics in their own sizes, if possible. To see what I mean, go to http://www.sanguinarius.org/store/ and scroll down. If you want to look at the subcategory graphics, look in Gothic because it's the only one with subcats currently. I don't want a 100x100 square. :/ Quote --Sanguinarius If you're reading this, I'm probably pulling my hair out. ;> *waiting for osCommerce 3.0 alpha 6* (I'm after the coupons.) Link to comment Share on other sites More sharing options...
241 Posted August 28, 2004 Author Share Posted August 28, 2004 Everything seems to be functioning correctly, but I have a matter of design that I can't figure out. My category gifs are squished into a 100x100 px space when I activate to display a featured category. I can't find the code or html that is squishing them. What do I need to change? I'd like the graphics to be their natural sizes (I have larger graphic for the main categories and smaller sub-category graphics, btw). I'd like it to display the graphics in their own sizes, if possible. To see what I mean, go to http://www.sanguinarius.org/store/ and scroll down. If you want to look at the subcategory graphics, look in Gothic because it's the only one with subcats currently. I don't want a 100x100 square. :/ catalog/includes/modules/featured_categories.php line# 24 if ($i=1) { echo '<td colspan="' . FEATURED_CATEGORIES_COLUMNS . '" valign="middle" align="center">' . tep_image(DIR_WS_IMAGES . $featured_categories_array[$i]['cimage'], $featured_categories_array[$i]['cname'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</td></tr><tr>'; } the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT is what is giving you the squeeze. Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
boimonster Posted August 31, 2004 Share Posted August 31, 2004 Is there a way to tell what Featured Products will appear on the front page, or at least in a certain order? Right now, it appears that the featured products appear in order of how they are listed in the catalog. Quote Link to comment Share on other sites More sharing options...
241 Posted August 31, 2004 Author Share Posted August 31, 2004 Is there a way to tell what Featured Products will appear on the front page, or at least in a certain order? Right now, it appears that the featured products appear in order of how they are listed in the catalog. At present you can sort the order with Set the sort order for the feature products. giving choices of product id, product name, product price, random. The default option is product_id Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.